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

Package:
wnpp
Source:
wnpp
Submitter:
Felix Moessbauer
Date:
2022-07-07 22:03:07 UTC
Severity:
wishlist
#1012761#5
Date:
2022-06-13 15:34:06 UTC
From:
To:
* Package name    : shtab
  Version         : 1.5.4
  Upstream Author : Casper da Costa-Luis <casper.dcl@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

#1012761#10
Date:
2022-06-21 14:30:38 UTC
From:
To:
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

#1012761#15
Date:
2022-06-22 19:25:31 UTC
From:
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

#1012761#20
Date:
2022-07-03 09:34:45 UTC
From:
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

On Wed, Jun 22, 2022 at 9:25 PM Stephan Lachnit <stephanlachnit@debian.org> wrote:

#1012761#23
Date:
2022-07-03 21:06:25 UTC
From:
To:
Hi Felix,

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

#1012761#28
Date:
2022-07-04 10:32:50 UTC
From:
To:
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

From: Stephan Lachnit <stephanlachnit@debian.org>
Sent: Sunday, July 3, 2022 11:35 AM
To: Moessbauer, Felix (T CED SES-DE) <felix.moessbauer@siemens.com>
Cc: 1012761@bugs.debian.org
Subject: Re: ITP: shtab -- generator for shell tab completion files for python projects

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<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Frepology.org%2F&data=05%7C01%7Cfelix.moessbauer%40siemens.com%7C4fc331a448bf41d9ddef08da5cd74b31%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637924377004473576%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=LzOv7h88VjrbLZ6L%2B32Jc0CL8PIM4xCNU68LQAWJeC8%3D&reserved=0> won't be able to map the package automatically.

Cheers,
Stephan

On Wed, Jun 22, 2022 at 9:25 PM Stephan Lachnit <stephanlachnit@debian.org<mailto:stephanlachnit@debian.org>> wrote:
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.moessbauer@siemens.com<mailto:felix.moessbauer@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<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsalsa.debian.org%2Fpython-team%2Fpackages%2Fshtab&data=05%7C01%7Cfelix.moessbauer%40siemens.com%7C4fc331a448bf41d9ddef08da5cd74b31%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637924377004473576%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=IJNiSmE%2BPaFs4RfhI9SftWKZkaL2lD4StdeaDTXO6iE%3D&reserved=0>

Best regards,
Felix Moessbauer
Siemens AG

#1012761#33
Date:
2022-07-05 09:05:09 UTC
From:
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.moessbauer@siemens.com> wrote:

#1012761#38
Date:
2022-07-07 22:00:11 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-shtab, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1012761@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stephan Lachnit <stephanlachnit@debian.org> (supplier of updated python-shtab package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 04 Jul 2022 12:23:48 +0200
Source: python-shtab
Binary: python3-shtab
Architecture: source all
Version: 1.5.5-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Stephan Lachnit <stephanlachnit@debian.org>
Description:
 python3-shtab - Automagic shell tab completion for Python CLI applications
Closes: 1012761
Changes:
 python-shtab (1.5.5-1) unstable; urgency=medium
 .
   [ Felix Mößbauer ]
   * Initial release (Closes: #1012761)
Checksums-Sha1:
 484578e7696d0cd07332b8e1940c5503407e8301 2166 python-shtab_1.5.5-1.dsc
 9830d43726080d1a4443fce2bc15a12767b1fa95 45357 python-shtab_1.5.5.orig.tar.gz
 764e3999bcb280fb4f773b559066d3318b2c9d9c 1760 python-shtab_1.5.5-1.debian.tar.xz
 395c14eb6de7042ac27407f2abeaabeb53206d35 7535 python-shtab_1.5.5-1_amd64.buildinfo
 72c8f5967ab3b8e87ba52402f71a3c91912981e1 13276 python3-shtab_1.5.5-1_all.deb
Checksums-Sha256:
 02ca37ec785a6b4619c944d8992e1eecbdd9567dfce0d8dfc5dd746611df1409 2166 python-shtab_1.5.5-1.dsc
 f90a6ce64b821002d5881b6212992a27ab40c3bab36aabca8de118b0b78f61f6 45357 python-shtab_1.5.5.orig.tar.gz
 6bf4a3f252ac83cd25b7db1ccefc5191eb83c51015f28899753b2fc3b6c84ed0 1760 python-shtab_1.5.5-1.debian.tar.xz
 1543018d145548a6195dce11374bbf94e2646b8efaed14b946a27d3cf8e3cd79 7535 python-shtab_1.5.5-1_amd64.buildinfo
 f7ea02473625cb4178f202986b1dc6c255c695edcfa36e4c904152e4eba9573b 13276 python3-shtab_1.5.5-1_all.deb
Files:
 0afb209e9f566d6caf971dd5bc556484 2166 python optional python-shtab_1.5.5-1.dsc
 5936d8ee26b7961531d65246ef70dfdd 45357 python optional python-shtab_1.5.5.orig.tar.gz
 26adab0bbe901cef2936c84ffa3caf69 1760 python optional python-shtab_1.5.5-1.debian.tar.xz
 e4263d885a549f1a6dcbeab954e4fa61 7535 python optional python-shtab_1.5.5-1_amd64.buildinfo
 9fe3376a23149fae23d6883f9fcb4402 13276 python optional python3-shtab_1.5.5-1_all.deb
-----BEGIN PGP SIGNATURE-----

iQJOBAEBCgA4FiEEu0Wws/9WG9vUXuips1tJ6l1WPv4FAmLD+fIaHHN0ZXBoYW5s
YWNobml0QGRlYmlhbi5vcmcACgkQs1tJ6l1WPv7Aqg//SDBrbMWQZ3W9tERqFzW1
cjQ9dD7HwN9JwKzPI3yvGM4jHSP2wOIlXsuBPtvqb3SFzAGNryXMw1/OSK6stRD5
dz96/OGloay5zVHW3R599RjRRsUA4rHWa1/k1rVlldl0UbyxFWfpZlAT1DFKrEIX
Jz15vZqzIgVdZ0H3pO6HOtjZ92vCY4HKaOzRgjBih736REquAp12cAJkEmyCPM3g
sUkYeEY60TzfLcpIYMm6mZ63FEzUzq9/txYz4yP1wxtY6haP4d5PgbXzTNaLVrt7
eKBnlIwMfrkFBxMwmZD4Ys4WAAuZr32VCCNjpiLE5fHvkZ88XgK0V9HQh0cibHp9
rBSQX4fcisQR1P/EKENtgcOv/J2zkIhEkZIpvwtAINty7igbN8QHM+NmqIzc+E4e
YZPz7UXmMs8xZrE/IJo1BvQYUNSPcpKnXZWknJjZdX42IGOZWUj+CTmLblXRNqzu
o9kF2M7+5dpq8nLKjPh+eWTB3WEac8mHl1d+t7fSjk6cGhJIBLZuySmrS9xvpYj6
OSf22haSVxDlwOfEHFTeRjE5qaTuYHPdnibUptwRo1LR1cVdYdFzN29NBE54Wkqx
Kf2TE6VVei9l7dPGOGzXr+xcaC7PwurBan1UXK5SUgaEa4u4ty1qcjJ9oqDX2QMV
5/Qma5St55Ilm51jf1X+WBA=
=Kedc
-----END PGP SIGNATURE-----