From adaac93d4ff6076473bda09fb1e0e78375037aa5 Mon Sep 17 00:00:00 2001 From: Daniel Rodríguez Date: Apr 10 2019 02:22:45 +0000 Subject: 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. --- diff --git a/cli/koji b/cli/koji index 1ea6d91..5e153a7 100755 --- a/cli/koji +++ b/cli/koji @@ -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) diff --git a/docs/source/HOWTO.rst b/docs/source/HOWTO.rst index 5fce35f..edbdb50 100644 --- a/docs/source/HOWTO.rst +++ b/docs/source/HOWTO.rst @@ -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 diff --git a/docs/source/index.rst b/docs/source/index.rst index 0d1cf6d..b8a008a 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -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 [...] :: diff --git a/docs/source/using_the_koji_build_system.rst b/docs/source/using_the_koji_build_system.rst index c3d5981..7517307 100644 --- a/docs/source/using_the_koji_build_system.rst +++ b/docs/source/using_the_koji_build_system.rst @@ -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.