mitogen icon indicating copy to clipboard operation
mitogen copied to clipboard

Download link points to an HTTP 404 (unreleased version)

Open moreati opened this issue 2 years ago • 7 comments

Since deploying #1026 the download link on https://mitogen.networkgenomics.com/ansible_detailed.html points to https://networkgenomics.com/try/mitogen-0.3.5.dev0.tar.gz. This version is unreleased, hence the tarball doesn't exist

refs #962

moreati avatar Oct 06 '23 10:10 moreati

➜  mitogen git:(docs-master) ✗ wget https://networkgenomics.com/try/mitogen-0.3.5.dev0.tar.gz
--2023-10-06 11:54:30--  https://networkgenomics.com/try/mitogen-0.3.5.dev0.tar.gz
Resolving networkgenomics.com (networkgenomics.com)... 157.90.33.51
Connecting to networkgenomics.com (networkgenomics.com)|157.90.33.51|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://files.pythonhosted.org/packages/source/m/mitogen/mitogen-0.3.5.dev0.tar.gz [following]
--2023-10-06 11:54:32--  https://files.pythonhosted.org/packages/source/m/mitogen/mitogen-0.3.5.dev0.tar.gz
Resolving files.pythonhosted.org (files.pythonhosted.org)... 2a04:4e42:f::311, 151.101.61.55
Connecting to files.pythonhosted.org (files.pythonhosted.org)|2a04:4e42:f::311|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-10-06 11:54:32 ERROR 404: Not Found.

moreati avatar Oct 06 '23 10:10 moreati

Options

  • base docs-master on stable branch, rather than master
  • calculate latest release by querying Github or PyPI, rather than what is in checked out code

Preventative measures

  • Run sphinx-build -b linkcheck ... as part of website deployment
  • Use a third-party website monitor/checker

Considerations (all require discussion/coordination before deciding/doing)

  • Should docs-master be renamed to e.g. docs, site?
  • is it worth removing the 301 redirect, pointing directly to PyPI instead?
  • can the installation instructions be switched to pip install mitogen, rather than using wget ...?

moreati avatar Oct 06 '23 10:10 moreati

I'm getting this too. It might be worth listing these things right here in github

https://github.com/marketplace/actions/publish-a-release

This workaround fixed the issue for me

wget https://networkgenomics.com/try/mitogen-0.3.4.tar.gz

Edit: Oops, after continuing the docs where I left off, I see now how the website instructions are built through automation. Kindly disregard my suggestion as I don't think its really relevant given the current distribution system in use.

TheNotary avatar Oct 10 '23 18:10 TheNotary

Getting the same, can't download the version listed on the site "mitogen-0.3.5.dev0.tar.gz"

jxc876 avatar Oct 12 '23 22:10 jxc876

cant download https://networkgenomics.com/try/mitogen-0.3.4.tar.gz either?

Driaan avatar Nov 11 '23 11:11 Driaan

Currently using Sphinx 2.1.2, a 2019 vintage with limited linkcheck options. Latest Sphinx 7.2.6 has more options, probably want them for finer grained redirect checking/skipping.

moreati avatar Nov 14 '23 13:11 moreati

@Driaan networkgenomics.com appears to be down. Use https://pypi.org/project/mitogen/0.3.4/#files instead, this is where the redirect would have gone to.

moreati avatar Nov 14 '23 13:11 moreati

https://mitogen.networkgenomics.com/ansible_detailed.html now points directly to release 0.3.4 on PyPI. No more redirect, and no more 0.3.5dev mentions

moreati avatar Mar 17 '24 16:03 moreati