Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946336 - sys-apps/pkgcraft-tools: add shell completion
Summary: sys-apps/pkgcraft-tools: add shell completion
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-12 19:30 UTC by Paul Zander
Modified: 2024-12-31 22:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Zander 2024-12-12 19:30:23 UTC
Preferably in some selfgenerating way. See: 
  `node --completion-bash`
  `wgetpaste --completions`
  `qpdf --completion-bash`
  `qpdf --completion-zsh`
Comment 2 Tim Harder gentoo-dev 2024-12-30 23:08:06 UTC
Just to note, pre-generated shell completion files have been bundled in the `shell` subdirectory of release tarballs for pkgcraft-tools and pkgcruft in the past two releases (neither of which are in the tree yet).

I'm not a huge fan of bundling the functionality to generate them into the program binary, but maybe the upcoming dynamic clap completion support might force that.

Also, in the future if you want something non-ebuild related wrt pkgcraft done it's better to file issues upstream as I rarely look for bugs on b.g.o since I don't maintain the ebuilds.
Comment 3 Larry the Git Cow gentoo-dev 2024-12-31 22:31:18 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f509e9e23d307ab67b68964e8703899768f5fcf9

commit f509e9e23d307ab67b68964e8703899768f5fcf9
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-12-31 22:30:34 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-12-31 22:30:56 +0000

    sys-apps/pkgcraft-tools: add 0.0.21
    
    Closes: https://bugs.gentoo.org/946336
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/pkgcraft-tools/Manifest                   |  1 +
 .../pkgcraft-tools/pkgcraft-tools-0.0.21.ebuild    | 76 ++++++++++++++++++++++
 sys-apps/pkgcraft-tools/pkgcraft-tools-9999.ebuild | 14 +++-
 3 files changed, 89 insertions(+), 2 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07f35dbde128edda49efbbbce4357441bde3e65e

commit 07f35dbde128edda49efbbbce4357441bde3e65e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-12-31 22:17:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-12-31 22:30:55 +0000

    dev-util/pkgcruft: add 0.0.8
    
    Some of the tests fail but I'm curious as to if the tinderboxes can
    hit it or not.
    
    Bug: https://bugs.gentoo.org/946336
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/pkgcruft/Manifest              |  1 +
 dev-util/pkgcruft/pkgcruft-0.0.8.ebuild | 73 +++++++++++++++++++++++++++++++++
 dev-util/pkgcruft/pkgcruft-9999.ebuild  | 12 +++++-
 3 files changed, 85 insertions(+), 1 deletion(-)