Sabayon / packages-website

packages.sabayon.org code
1 stars 1 forks source link

Broken links on packages.sabayon.org detail sites #1

Open Ryuno-Ki opened 8 years ago

Ryuno-Ki commented 8 years ago

For example, the "Upstream VCS package" https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-themes/sabayon-artwork-grub at https://packages.sabayon.org/show/sabayon-artwork-grub,150404,sabayonlinux.org,amd64,5,standard/download#package-widget-show-what responds with 404.

I'm almost sure more packages are affected but didn't found time to write a Python script yet. @mudler asked me to report an issue here.

svantoviit commented 6 years ago

This will apply to all packages where there is no Gentoo upstream:

lib/apibase.py:1535:            # upstream bug
lib/apibase.py-1536-            upstream_bug_url = "http://bugs.gentoo.org/buglist.cgi?quicksearch=%s" % (
lib/apibase.py-1537-                quoted_key,)
--
lib/apibase.py:1548:            # upstream package info
lib/apibase.py-1549-            upstream_pkg_url = "http://packages.gentoo.org/package/%s" % (
lib/apibase.py-1550-                package_key,)
--
lib/apibase.py:1561:            # upstream CVS
lib/apibase.py-1562-            vcs_url = "https://gitweb.gentoo.org/repo/gentoo.git/tree"
lib/apibase.py-1563-            upstream_vcs_url = "%s/%s" % (vcs_url, package_key,)