Github messages for voidlinux
 help / color / mirror / Atom feed
From: melroy89 <melroy89@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] Fix help output alphabetically
Date: Sat, 10 Feb 2024 18:55:37 +0100	[thread overview]
Message-ID: <20240210175537.A992C2534A@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48641@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 496 bytes --]

There is an updated pull request by melroy89 against master on the void-packages repository

https://github.com/melroy89/void-packages fix_help_output_alphabetically
https://github.com/void-linux/void-packages/pull/48641

Fix help output alphabetically
Fix the help output of `xbps-src`, make the help output alphabetically again!

#### Testing the changes
- I tested the changes in this PR: **YES**


A patch file from https://github.com/void-linux/void-packages/pull/48641.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-fix_help_output_alphabetically-48641.patch --]
[-- Type: text/x-diff, Size: 5196 bytes --]

From a648428a2f2c2e989103225a4c49f87bba931675 Mon Sep 17 00:00:00 2001
From: Melroy van den Berg <melroy@melroy.org>
Date: Sat, 10 Feb 2024 18:55:48 +0100
Subject: [PATCH] xbps-src: Fix help output alphabetically

---
 xbps-src | 80 ++++++++++++++++++++++++++++----------------------------
 1 file changed, 40 insertions(+), 40 deletions(-)

diff --git a/xbps-src b/xbps-src
index 77695b9f510d3..8de4df9872f86 100755
--- a/xbps-src
+++ b/xbps-src
@@ -30,49 +30,52 @@ bootstrap-update
     Updates bootstrap packages with latest versions available from registered
     repositories in the XBPS configuration file.
 
-consistency-check
-    Runs a consistency check on all packages
+build <pkgname>
+    Build package source (fetch + extract + patch + configure + build).
 
 chroot
     Enter to the chroot in <masterdir>.
 
+check <pkgname>
+    Run the package check(s) after building the package source.
+
+clean [pkgname]
+    Removes auto dependencies, cleans up <masterdir>/builddir and <masterdir>/destdir.
+    If <pkgname> argument is specified, package files from <masterdir>/destdir and its
+    build directory in <masterdir>/buiddir are removed.
+
 clean-repocache
     Removes obsolete packages from <hostdir>/repocache.
 
-fetch <pkgname>
-    Download package source distribution file(s).
+configure <pkgname>
+    Configure a package (fetch + extract + patch + configure).
+
+consistency-check
+    Runs a consistency check on all packages
 
 extract <pkgname>
     Extract package source distribution file(s) into the build directory.
     By default set to <masterdir>/builddir.
 
-patch <pkgname>
-    Patch the package sources and perform other operations required to
-    prepare a package for configuring and building
-
-configure <pkgname>
-    Configure a package (fetch + extract + patch + configure).
-
-build <pkgname>
-    Build package source (fetch + extract + patch + configure + build).
-
-check <pkgname>
-    Run the package check(s) after building the package source.
+fetch <pkgname>
+    Download package source distribution file(s).
 
 install <pkgname>
     Install target package into <destdir> but not building the binary package
     and not removing build directory for inspection purposes.
 
+list
+    Lists installed packages in <masterdir>.
+
+patch <pkgname>
+    Patch the package sources and perform other operations required to
+    prepare a package for configuring and building
+
 pkg <pkgname>
     Build binary package for <pkgname> and all required dependencies.
 
-clean [pkgname]
-    Removes auto dependencies, cleans up <masterdir>/builddir and <masterdir>/destdir.
-    If <pkgname> argument is specified, package files from <masterdir>/destdir and its
-    build directory in <masterdir>/buiddir are removed.
-
-list
-    Lists installed packages in <masterdir>.
+purge-distfiles
+    Removes all obsolete distfiles in <hostdir>/sources.
 
 remove <pkgname>
     Remove target package from <destdir>. If <pkgname>-<version> is not matched
@@ -81,9 +84,6 @@ remove <pkgname>
 remove-autodeps
     Removes all package dependencies that were installed automatically.
 
-purge-distfiles
-    Removes all obsolete distfiles in <hostdir>/sources.
-
 show <pkgname>
     Show information for the specified package.
 
@@ -107,26 +107,26 @@ show-hostmakedepends <pkgname>
 show-makedepends <pkgname>
     Show required target build dependencies for <pkgname>.
 
+show-local-updates
+    Prints the list of outdated packages in your local repositories.
+
 show-options <pkgname>
     Show available build options by <pkgname>.
 
+show-repo-updates
+    Prints the list of outdated packages in XBPS repositories.
+
 show-shlib-provides <pkgname>
     Show list of provided shlibs for <pkgname>. Package must be installed into destdir.
 
 show-shlib-requires <pkgname>
     Show list of required shlibs for <pkgname>. Package must be installed into destdir.
 
-show-var <var>
-    Prints the value of <var> if it's defined in xbps-src.
-
-show-repo-updates
-    Prints the list of outdated packages in XBPS repositories.
-
 show-sys-updates
     Prints the list of outdated packages in your system.
 
-show-local-updates
-    Prints the list of outdated packages in your local repositories.
+show-var <var>
+    Prints the value of <var> if it's defined in xbps-src.
 
 sort-dependencies <pkg> <pkgN+1> ...
     Given a list of packages specified as additional arguments, a sorted dependency
@@ -135,18 +135,18 @@ sort-dependencies <pkg> <pkgN+1> ...
 update-bulk
     Rebuilds all packages in the system repositories that are outdated.
 
-update-sys
-    Rebuilds all packages in your system that are outdated and updates them.
-
-update-local
-    Rebuilds all packages in your local repositories that are outdated.
-
 update-check <pkgname>
     Check upstream site of <pkgname> for new releases.
 
 update-hash-cache
     Update the hash cache with existing source distfiles.
 
+update-local
+    Rebuilds all packages in your local repositories that are outdated.
+
+update-sys
+    Rebuilds all packages in your system that are outdated and updates them.
+
 zap
     Removes a masterdir but preserving ccache, distcc and host directories.
 

  reply	other threads:[~2024-02-10 17:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-10 17:44 [PR PATCH] " melroy89
2024-02-10 17:55 ` melroy89 [this message]
2024-02-10 18:35 ` Chocimier
2024-02-14 20:23 ` [PR PATCH] [Closed]: " melroy89

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240210175537.A992C2534A@inbox.vuxu.org \
    --to=melroy89@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).