click-contrib / click-man

Automate generation of man pages for python click applications :star:
MIT License
163 stars 35 forks source link

0.4.0 release tarball naming, contents irregularity #39

Closed ferdnyc closed 4 years ago

ferdnyc commented 4 years ago

@timofurrer

Many thanks for pushing out the 0.4.0 release to PyPi, but unfortunately the source archive file appears to have picked up a few oddities that make it difficult to package.

  1. The file name, for some reason, is click-man-0.4.0.linux-x86_64.tar.gz, not click-man-0.4.0.tar.gz which would follow the pattern of click-man-0.3.0.tar.gz and previous releases.

  2. The contents of the file are... bizarre:

    
    $ wget https://files.pythonhosted.org/packages/78/bf/72a69b18811db0d4df13f750c91e5b62c94c5ef4abeb948953f35762663a/click-man-0.4.0.linux-x86_64.tar.gz
    --2020-03-10 22:21:01--  https://files.pythonhosted.org/packages/78/bf/72a69b18811db0d4df13f750c91e5b62c94c5ef4abeb948953f35762663a/click-man-0.4.0.linux-x86_64.tar.gz
    Resolving files.pythonhosted.org (files.pythonhosted.org)... 151.101.1.63, 151.101.65.63, 151.101.129.63, ...
    Connecting to files.pythonhosted.org (files.pythonhosted.org)|151.101.1.63|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 10560 (10K) [application/x-tar]
    Saving to: ‘click-man-0.4.0.linux-x86_64.tar.gz’

click-man-0.4.0.lin 100%[===================>] 10.31K --.-KB/s in 0s

2020-03-10 22:21:01 (54.6 MB/s) - ‘click-man-0.4.0.linux-x86_64.tar.gz’ saved [10560/10560]

$ tar tf click-man-0.4.0.linux-x86_64.tar.gz ./ ./home/ ./home/users/ ./home/users/furrert/ ./home/users/furrert/work/ ./home/users/furrert/work/oss/ ./home/users/furrert/work/oss/click-man/ ./home/users/furrert/work/oss/click-man/env/ ./home/users/furrert/work/oss/click-man/env/bin/ ./home/users/furrert/work/oss/click-man/env/bin/click-man ./home/users/furrert/work/oss/click-man/env/lib/ ./home/users/furrert/work/oss/click-man/env/lib/python3.7/ ./home/users/furrert/work/oss/click-man/env/lib/python3.7/site-packages/ ./home/users/furrert/work/oss/click-man/env/lib/python3.7/site-packages/click_man/ ./home/users/furrert/work/oss/click-man/env/lib/python3.7/site-packages/click_man/init.py ./home/users/furrert/work/oss/click-man/env/lib/python3.7/site-packages/click_man/main.py ./home/users/furrert/work/oss/click-man/env/lib/python3.7/site-packages/click_man/pycache/ ./home/users/furrert/work/oss/click-man/env/lib/python3.7/site-packages/click_man/pycache/init.cpython-37.pyc ./home/users/furrert/work/oss/click-man/env/lib/python3.7/site-packages/click_man/pycache/main.cpython-37.pyc ./home/users/furrert/work/oss/click-man/env/lib/python3.7/site-packages/click_man/pycache/core.cpython-37.pyc ./home/users/furrert/work/oss/click-man/env/lib/python3.7/site-packages/click_man/pycache/man.cpython-37.pyc ./home/users/furrert/work/oss/click-man/env/lib/python3.7/site-packages/click_man/commands/ ./home/users/furrert/work/oss/click-man/env/lib/python3.7/site-packages/click_man/commands/init.py ./home/users/furrert/work/oss/click-man/env/lib/python3.7/site-packages/click_man/commands/pycache/ ./home/users/furrert/work/oss/click-man/env/lib/python3.7/site-packages/click_man/commands/pycache/init.cpython-37.pyc ./home/users/furrert/work/oss/click-man/env/lib/python3.7/site-packages/click_man/commands/pycache/man_pages.cpython-37.pyc ./home/users/furrert/work/oss/click-man/env/lib/python3.7/site-packages/click_man/commands/man_pages.py ./home/users/furrert/work/oss/click-man/env/lib/python3.7/site-packages/click_man/core.py ./home/users/furrert/work/oss/click-man/env/lib/python3.7/site-packages/click_man/man.py ./home/users/furrert/work/oss/click-man/env/lib/python3.7/site-packages/click_man-0.4.0-py3.7.egg-info/ ./home/users/furrert/work/oss/click-man/env/lib/python3.7/site-packages/click_man-0.4.0-py3.7.egg-info/PKG-INFO ./home/users/furrert/work/oss/click-man/env/lib/python3.7/site-packages/click_man-0.4.0-py3.7.egg-info/SOURCES.txt ./home/users/furrert/work/oss/click-man/env/lib/python3.7/site-packages/click_man-0.4.0-py3.7.egg-info/dependency_links.txt ./home/users/furrert/work/oss/click-man/env/lib/python3.7/site-packages/click_man-0.4.0-py3.7.egg-info/entry_points.txt ./home/users/furrert/work/oss/click-man/env/lib/python3.7/site-packages/click_man-0.4.0-py3.7.egg-info/requires.txt ./home/users/furrert/work/oss/click-man/env/lib/python3.7/site-packages/click_man-0.4.0-py3.7.egg-info/top_level.txt



...I'm a little reluctant to submit a PR for a new Fedora package build, working from the archive in its current state. Any way you could re-release the source tarball, cleaned up? Sorry for the hassle, and thanks!
alerque commented 4 years ago

I see 0.4.1 was released on PyPi (probably to address this issue), but I'm building from Github and it isn't tagged here at all. Can this please be resolved? If this issue was fixed, please close it and tag Github to match.

timofurrer commented 4 years ago

Exactly, as @alerque pointed out - 0.4.1 should fix that.

alerque commented 4 years ago

@timofurrer That's great, but that leaves projects using Github distributions out of version sync with those using PyPi. Please tag the same version here in the repository! Thanks.