common Makefile.common,1.132,1.133
Jesse Keating
jkeating at fedoraproject.org
Mon Aug 10 23:09:23 UTC 2009
- Previous message (by thread): rpms/firebird/devel firebird-edit-fix.patch, NONE, 1.1 firebird.spec, 1.8, 1.9
- Next message (by thread): rpms/SDL_image/devel .cvsignore, 1.5, 1.6 SDL_image.spec, 1.19, 1.20 sources, 1.5, 1.6 SDL_image-IMG_lbm.patch, 1.1, NONE SDL_image-buffer-overflow.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jkeating
Update of /cvs/pkgs/common
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29275
Modified Files:
Makefile.common
Log Message:
Add a tag-request target for use with fedora-hosted
Index: Makefile.common
===================================================================
RCS file: /cvs/pkgs/common/Makefile.common,v
retrieving revision 1.132
retrieving revision 1.133
diff -u -p -r1.132 -r1.133
--- Makefile.common 10 Aug 2009 14:45:16 -0000 1.132
+++ Makefile.common 10 Aug 2009 23:09:22 -0000 1.133
@@ -156,6 +156,7 @@ WGET ?= $(shell if test -f /usr/bin/wget
CLIENT ?= $(if $(CURL),$(CURL),$(if $(WGET),$(WGET)))
BUILD_CLIENT ?= $(shell which koji 2>/dev/null)
BODHI_CLIENT ?= $(shell which bodhi 2>/dev/null)
+FEDORAHOSTED ?= $(shell which fedora-hosted 2>/dev/null)
# RPM with all the overrides in place; you can override this in your
# .cvspkgsrc also, to use a default rpm setup
@@ -510,6 +511,33 @@ endif
update: bodhi
+tag-request: build-check $(COMMON_DIR)/branches
+ @if [ ! -x "$(FEDORAHOSTED)" ]; then echo "Must have fedora-packager installed"; exit 1; fi
+ @echo -e "\
+# Tag target (default is target of the CVS branch)\n\
+target=$(TARGET)\n\n\
+# Description of your tag request\n\
+notes=Here is where you give a description of what you want to change,\n\
+rational for why the change is important enough to break the freeze,\n\
+impact of not accepting the change, and what testing has been done.\n\
+Or if this is a tag request for updates, just the info about the updates.\
+" > fedora-hosted.template
+ @sed -e '/^#/d' < fedora-hosted.template > fedora-hosted.template.orig
+ @if [ -z "$$EDITOR" ]; then vi fedora-hosted.template; else $$EDITOR fedora-hosted.template; fi
+ @if [ -n "`sed -e '/^#/d' < fedora-hosted.template | diff fedora-hosted.template.orig -`" ]; then \
+ target=`grep '^target=' fedora-hosted.template | sed -e 's/target=//'` \
+ component=`echo $(TARGET) |grep -q epel && echo "epel" || echo "koji"`\
+ descript="{{{\
+`grep -v -e '^target=' -e '^#' fedora-hosted.template | sed -e 's/notes=//'`"; \
+ $(FEDORAHOSTED) -u $(USER) -P rel-eng new-ticket -s \
+ "Tag request $(NAME)-$(VERSION)-$(RELEASE) for $$target" \
+ -C $$component -d "$$descript"; \
+ else \
+ echo "Tag request aborted!"; \
+ fi
+ @rm -f fedora-hosted.template{,.orig}
+
+
cvsurl:
@echo '$(CVS_URL)'
@@ -654,6 +682,7 @@ help:
@echo " unused-fedora-patches Print Fedora patches not used by Patch and/or ApplyPatch directives"
@echo " gimmespec Print the name of the specfile"
@echo " update Submit $(NAME)-$(VERSION)-$(RELEASE) as an update for $(BRANCH)"
+ @echo " tag-request Submit $(NAME)-$(VERSION)-$(RELEASE) as an tag-request for $(BRANCH)"
@echo
@echo "For bug reports or patch submissions, please use the issue tracker at:"
@echo "https://fedorahosted.org/fedora-infrastructure"
- Previous message (by thread): rpms/firebird/devel firebird-edit-fix.patch, NONE, 1.1 firebird.spec, 1.8, 1.9
- Next message (by thread): rpms/SDL_image/devel .cvsignore, 1.5, 1.6 SDL_image.spec, 1.19, 1.20 sources, 1.5, 1.6 SDL_image-IMG_lbm.patch, 1.1, NONE SDL_image-buffer-overflow.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list