mirror of
https://github.com/rpm-software-management/tito.git
synced 2025-02-23 12:12:47 +00:00
fixes #29 - remove --list-tags and --only-tags
This commit is contained in:
parent
de14541103
commit
cd3ef6af29
3 changed files with 0 additions and 25 deletions
|
@ -23,7 +23,6 @@ __tito_build_opts='
|
|||
--install
|
||||
--list-tags
|
||||
--no-cleanup
|
||||
--only-tags=
|
||||
--output=
|
||||
--rpm
|
||||
--rpmbuild-options=
|
||||
|
|
|
@ -328,11 +328,6 @@ class BuildModule(BaseCliModule):
|
|||
help="Custom arguments specific to a particular builder."
|
||||
" (key=value)")
|
||||
|
||||
self.parser.add_option("--list-tags", dest="list_tags",
|
||||
action="store_true",
|
||||
help="List tags for which we build this package",
|
||||
)
|
||||
|
||||
self.parser.add_option("--rpmbuild-options", dest='rpmbuild_options',
|
||||
default='',
|
||||
metavar="OPTIONS", help="Options to pass to rpmbuild.")
|
||||
|
@ -450,16 +445,6 @@ class ReleaseModule(BaseCliModule):
|
|||
help="Custom arguments to pass to the builder."
|
||||
" (key=value)")
|
||||
|
||||
# self.parser.add_option("--list-tags", dest="list_tags",
|
||||
# action="store_true",
|
||||
# help="List tags for which we build this package",
|
||||
# )
|
||||
# These are specific only to Koji releaser, what can we do?
|
||||
# self.parser.add_option("--only-tags", dest="only_tags",
|
||||
# action="append", metavar="KOJITAG",
|
||||
# help="Build in koji only for specified tags",
|
||||
# )
|
||||
|
||||
def _validate_options(self):
|
||||
|
||||
if self.options.all and self.options.all_starting_with:
|
||||
|
|
|
@ -154,15 +154,6 @@ use current branch HEAD instead of latest package tag.
|
|||
--no-cleanup::
|
||||
do not clean up temporary build directories/files
|
||||
|
||||
--list-tags::
|
||||
List tags for which we build this package. If you set --debug together
|
||||
with this option, you will see all tags and whether they are whitelisted
|
||||
or blacklisted.
|
||||
|
||||
--only-tags='KOJI_TAG'::
|
||||
Build in koji only for specified tags. Can be specified multiple times.
|
||||
Can be specified using environment variable ONLY_TAGS as well.
|
||||
|
||||
--rpmbuild-options='OPTIONS'::
|
||||
Pass 'OPTIONS' to rpmbuild.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue