From 16a524c980984505914635c9c232366bf5aa27d2 Mon Sep 17 00:00:00 2001 From: Jochen Schmitt Date: Thu, 16 Sep 2010 20:05:45 +0200 Subject: Implenentation of a tag command Hello Jesse, this patch contains a tag command for fedpkg. I have divede the tag function in __init__.py into three functions for add, delete and list tags. All this functions lives outside of the PackageModule class. Best Regards: Jochen Schmitt --- src/fedpkg.bash | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/fedpkg.bash') diff --git a/src/fedpkg.bash b/src/fedpkg.bash index aab9ce2..8c81ccc 100644 --- a/src/fedpkg.bash +++ b/src/fedpkg.bash @@ -37,7 +37,7 @@ _fedpkg() local options_value="-u --user --path" local commands="build chain-build ci clean clog clone co commit compile diff gimmespec giturl help \ import install lint local mockbuild new new-sources patch prep push scratch-build sources srpm \ - switch-branch tag-request unused-patches update upload verrel" + switch-branch tag tag-request unused-patches update upload verrel" # parse main options and get command @@ -148,6 +148,12 @@ _fedpkg() sources) options_dir="--outdir" ;; + tag) + options="--clog -c --force -f --list -l --delete -d" + options_string="--message -m" + options_file="--file -F" + after_more=true + ;; srpm) options="--md5" ;; -- cgit