diff options
author | Jochen Schmitt <Jochen@herr-schmitt.de> | 2010-09-16 20:05:45 +0200 |
---|---|---|
committer | Jesse Keating <jkeating@redhat.com> | 2010-09-20 13:17:14 -0700 |
commit | 16a524c980984505914635c9c232366bf5aa27d2 (patch) | |
tree | c50169a8cf7b5cd53044726faa7e1651efd4cc43 /src/fedpkg.bash | |
parent | 813ad6cee2034615a5571126bbd1c8886d5cfe2e (diff) | |
download | fedora-packager-16a524c980984505914635c9c232366bf5aa27d2.tar.gz fedora-packager-16a524c980984505914635c9c232366bf5aa27d2.tar.xz fedora-packager-16a524c980984505914635c9c232366bf5aa27d2.zip |
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
Diffstat (limited to 'src/fedpkg.bash')
-rw-r--r-- | src/fedpkg.bash | 8 |
1 files changed, 7 insertions, 1 deletions
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" ;; |