[Git][security-tracker-team/security-tracker][master] 2 commits: Add some common update-* aliases for convenience
Raphaël Hertzog
hertzog at debian.org
Thu May 31 16:48:51 BST 2018
Raphaël Hertzog pushed to branch master at Debian Security Tracker / security-tracker
Commits:
90b247ab by Raphaël Hertzog at 2018-05-31T17:46:38+02:00
Add some common update-* aliases for convenience
And for the cron jobs running on security-tracker.debian.org.
- - - - -
b5790ddd by Raphaël Hertzog at 2018-05-31T17:48:12+02:00
Add a command to display the list of supported update-* targets
- - - - -
1 changed file:
- Makefile
Changes:
=====================================
Makefile
=====================================
--- a/Makefile
+++ b/Makefile
@@ -97,6 +97,36 @@ update-$(1):
endef
$(foreach release,$(RELEASES),$(eval $(call add_update_rule,$(release))))
+# Define some common aliases
+.PHONY: update-unstable update-testing update-stable update-oldstable update-oldoldstable
+.PHONY: update-testing-security update-stable-security update-oldstable-security update-oldoldstable-security
+.PHONY: update-main update-security update-backports
+update-unstable: update-sid
+update-testing: update-$(TESTING)
+update-testing-security: update-$(TESTING)_security
+update-stable: update-$(STABLE)
+update-stable-security: update-$(STABLE)_security
+update-oldstable: update-$(OLDSTABLE)
+update-oldstable-security: update-$(OLDSTABLE)_security
+ifeq ($(OLDOLDSTABLE),)
+update-oldoldstable:
+update-oldoldstable-security:
+else
+update-oldoldstable: update-$(OLDOLDSTABLE)
+update-oldoldstable-security: update-$(OLDOLDSTABLE)_security
+endif
+update-main: $(foreach release,$(MAIN_RELEASES),update-$(release))
+update-security: $(foreach release,$(SECURITY_RELEASES),update-$(release)_security)
+update-backports: $(foreach release,$(BACKPORT_RELEASES),update-$(release)_backports)
+
+supported-update-targets:
+ @echo -n "unstable testing stable oldstable oldoldstable "
+ @echo -n "testing-security stable-security oldstable-security oldoldstable-security "
+ @echo -n "main security backports "
+ @echo -n "$(RELEASES) "
+ @echo -n "lists nvd"
+
+# Other custom update rules
update-lists:
git fetch -q origin && git checkout -f origin/master -- data
View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/compare/5a9873fdfca52957c5ca43390958bf1d114dfa14...b5790dddeb0b12f144125795cadf84f7d1a143df
--
View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/compare/5a9873fdfca52957c5ca43390958bf1d114dfa14...b5790dddeb0b12f144125795cadf84f7d1a143df
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-security-tracker-commits/attachments/20180531/b1b437af/attachment-0001.html>
More information about the debian-security-tracker-commits
mailing list