Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1012761: ITP: shtab -- generator for shell tab completion files for python projects

9 views
Skip to first unread message

Felix Moessbauer

unread,
Jun 13, 2022, 11:50:03 AM6/13/22
to
Package: wnpp
Severity: wishlist
Owner: Felix Moessbauer <felix.mo...@siemens.com>
X-Debbugs-Cc: debian...@lists.debian.org

* Package name : shtab
Version : 1.5.4
Upstream Author : Casper da Costa-Luis <caspe...@physics.org>
* URL : https://github.com/iterative/shtab
* License : Apache-2.0
Programming Lang: Python
Description : generator for shell tab completion files for python projects

CLI tool and library to auto-generate tab completion files for bash, zsh
and tcsh from python argparse definitions.
This package should replace the custom packaging of shtab as part of the
CIP project [1].

My intent is to package this software under the umbrella of the Debian
Python team.

[1] https://gitlab.com/cip-project/cip-core/isar-cip-core/-/tree/master/recipes-python/shtab

Stephan Lachnit

unread,
Jun 22, 2022, 3:30:03 PM6/22/22
to
Hi Felix,

I will take a look at the package sometime next week. I'm currently packing my stuff to move to Geneva, so I don't really have that much time right now. Feel free to ping though in case I forget :)

Cheers,
Stephan

On Tue, Jun 21, 2022 at 4:30 PM Moessbauer, Felix <felix.mo...@siemens.com> wrote:

Dear maintainers,

the initial packaging of shtab is implemented in [1] and should be ready for a review.

@stephan It would be great if you could sponsor this package.
We talked about that at Debian Reunion Hamburg.

[1] https://salsa.debian.org/python-team/packages/shtab

Best regards,
Felix Moessbauer
Siemens AG

Stephan Lachnit

unread,
Jul 3, 2022, 5:40:03 AM7/3/22
to
Hi Felix,

The package is looking good so far, I only request one change, namely renaming the source package from shtab to python-shtab. The reason for this prefix is that else repology.org won't be able to map the package automatically.

Cheers,
Stephan

Johannes Schauer Marin Rodrigues

unread,
Jul 3, 2022, 5:10:03 PM7/3/22
to
Hi Felix,

On Tue, 21 Jun 2022 14:30:38 +0000 "Moessbauer, Felix" <felix.mo...@siemens.com> wrote:
> the initial packaging of shtab is implemented in [1] and should be ready for
> a review.
>
> @stephan It would be great if you could sponsor this package.
> We talked about that at Debian Reunion Hamburg.
>
> [1] https://salsa.debian.org/python-team/packages/shtab

thank you for your packaging! I built and installed your shtab package locally
and it worked fine for me after some small adjustments to one of my packages
with a very complex CLI interface (img2pdf [1]).

Thanks!

cheers, josch

[1] https://manpages.debian.org/unstable/img2pdf/img2pdf.1.en.html
signature.asc

Stephan Lachnit

unread,
Jul 5, 2022, 5:10:04 AM7/5/22
to
Thanks, uploaded!

FYI: you might be interested in running lintian with `lintian --pedantic -I -E`, there are some optional things that are relatively easy to fix (but none are important if you lack the time). Also, you might want to add the Debian CI running pytest, it is really easy: https://salsa.debian.org/python-team/packages/python-headerparser/-/blob/debian/latest/debian/tests/pytest. Again not really important, you can also just do it when there is a new release.

Cheers,
Stephan


On Mon, Jul 4, 2022 at 12:32 PM Moessbauer, Felix <felix.mo...@siemens.com> wrote:

Hi Stephan,

 

Thanks for the review. I changed the name of the package, renamed the project on salsa and cut the release.

This one should be ready to be uploaded.

 

PS: Looks like the repology site currently has some TLS issues.

 

Happy Coding!

Felix

0 new messages