Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/pkgcheck/checks/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,9 +271,11 @@ def __init__(self, *args, **kwargs):
# 'cpan-module': 'https://metacpan.org/pod/{project}',
'cran': 'https://cran.r-project.org/web/packages/{project}/',
'ctan': 'https://ctan.org/pkg/{project}',
'freedesktop-gitlab': 'https://gitlab.freedesktop.org/{project}.git/',
'gentoo': 'https://gitweb.gentoo.org/{project}.git/',
'github': 'https://github.com/{project}',
'gitlab': 'https://gitlab.com/{project}',
'gnome-gitlab': 'https://gitlab.gnome.org/{project}.git/',
'hackage': 'https://hackage.haskell.org/package/{project}',
'launchpad': 'https://launchpad.net/{project}',
'osdn': 'https://osdn.net/projects/{project}/',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"__class__": "DeadUrl", "category": "MetadataUrlCheck", "package": "DeadUrl-freedesktop-gitlab", "version": "0", "attr": "metadata.xml: remote-id", "url": "https://gitlab.freedesktop.org/pkgcore/pkgcheck.git/", "message": "404 Client Error: Not Found for url: https://gitlab.freedesktop.org/pkgcore/pkgcheck.git/"}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"__class__": "DeadUrl", "category": "MetadataUrlCheck", "package": "DeadUrl-gnome-gitlab", "version": "0", "attr": "metadata.xml: remote-id", "url": "https://gitlab.gnome.org/pkgcore/pkgcheck.git/", "message": "404 Client Error: Not Found for url: https://gitlab.gnome.org/pkgcore/pkgcheck.git/"}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
DESCRIPTION="Ebuild with a dead metadata.xml URL"
HOMEPAGE="https://gitlab.freedesktop.org/pkgcore/pkgcheck.git/"
LICENSE="BSD"
SLOT="0"
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="freedesktop-gitlab">pkgcore/pkgcheck</remote-id>
</upstream>
</pkgmetadata>
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import io

from requests.models import Response

r = Response()
r.status_code = 404
r.reason = 'Not Found'
r.url = 'https://gitlab.freedesktop.org/pkgcore/pkgcheck.git/'
r.raw = io.StringIO()
responses = [r]
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
DESCRIPTION="Ebuild with a dead metadata.xml URL"
HOMEPAGE="https://gitlab.gnome.org/pkgcore/pkgcheck.git/"
LICENSE="BSD"
SLOT="0"
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="gnome-gitlab">pkgcore/pkgcheck</remote-id>
</upstream>
</pkgmetadata>
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import io

from requests.models import Response

r = Response()
r.status_code = 404
r.reason = 'Not Found'
r.url = 'https://gitlab.gnome.org/pkgcore/pkgcheck.git/'
r.raw = io.StringIO()
responses = [r]