Replace references to latest-pkg with latest-build

Replace latest-pkg with latest-build in common commands and
documentation. References to latest-pkg are removed where
latest-build is also present. Also, command description for
latest-build is updated to match the current one.
This commit is contained in:
Daniel Rodríguez 2019-04-10 03:45:06 +02:00 committed by Mike McLean
parent 40040ca1ca
commit 2f503070c3
4 changed files with 10 additions and 13 deletions

View file

@ -85,7 +85,7 @@ def get_options():
"""process options from command line and config file"""
common_commands = ['build', 'help', 'download-build',
'latest-pkg', 'search', 'list-targets']
'latest-build', 'search', 'list-targets']
usage = _("%%prog [global-options] command [command-options-and-arguments]"
"\n\nCommon commands: %s" % ', '.join(sorted(common_commands)))
parser = OptionParser(usage=usage)

View file

@ -277,11 +277,11 @@ the owner of the package.
**Latest Builds**
To see the latest builds for a tag, use the ``latest-pkg`` command:
To see the latest builds for a tag, use the ``latest-build`` command:
::
$ koji latest-pkg --all dist-fc7
$ koji latest-build --all dist-fc7
Build Tag Built by
---------------------------------------- -------------------- ----------------
ConsoleKit-0.1.0-5.fc7 dist-fc7 davidz
@ -311,8 +311,7 @@ line tool will print a list of valid commands and each command supports
build Build a package from source
cancel-task Cancel a task
help List available commands
latest-build Print the latest rpms for a tag
latest-pkg Print the latest builds for a tag
latest-build Print the latest builds for a tag
...
$ koji build --help
usage: koji build [options] tag URL

View file

@ -191,11 +191,11 @@ package.
Latest Builds
-------------
To see the latest builds for a tag, use the latest-pkg command:
To see the latest builds for a tag, use the latest-build command:
::
$ koji latest-pkg --all dist-fc7
$ koji latest-build --all dist-fc7
Build Tag Built by
---------------------------------------- -------------------- ----------------
@ -227,8 +227,7 @@ For example:
build Build a package from source
cancel-task Cancel a task
help List available commands
latest-build Print the latest rpms for a tag
latest-pkg Print the latest builds for a tag
latest-build Print the latest builds for a tag
[...]
::

View file

@ -382,8 +382,7 @@ line tool will print a list of valid commands and each command supports
build Build a package from source
cancel-task Cancel a task
help List available commands
latest-build Print the latest rpms for a tag
latest-pkg Print the latest builds for a tag
latest-build Print the latest builds for a tag
[...]
::
@ -602,11 +601,11 @@ the owner of the package.
Latest Builds
'''''''''''''
To see the latest builds for a tag, use the latest-pkg command:
To see the latest builds for a tag, use the latest-build command:
::
$ koji latest-pkg --all dist-f14
$ koji latest-build --all dist-f14
The output gives you not only the latest builds, but which tag they have
been inherited from and who built them.