Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295335 - repoman needs should have a "fuller" scan with network checks
Summary: repoman needs should have a "fuller" scan with network checks
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Repoman (show other bugs)
Hardware: All Linux
: High normal with 4 votes (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 315243 (view as bug list)
Depends on: 294791
Blocks: 295194 315243
  Show dependency tree
 
Reported: 2009-12-01 14:20 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2021-06-28 11:05 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-12-01 14:20:51 UTC
Currently repoman does not do online network checks, this though causes some trouble since we have no way to report moved or gone pages, and the same goes for distfiles.

Having a further scan level for repoman to check HOMEPAGE and SRC_URI for validity (and reporting eventually where they result moved, which would allow to find eventual spam links that packages.gentoo.org is currently providing) would definitely help.

I proposed (a few months back) the name "repoman anal" but Zac turned it down ;)
Comment 1 Martin Walch 2009-12-01 15:19:06 UTC
Yesterday, I opened bug #295194. Should that one be closed in favor of this one? Or should it depend on this one?
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-12-01 16:18:51 UTC
Ah I couldn't find it, sorry… but I guess a blocker is good, since we're going to need something else as well, like a way to check for mirrors ;)
Comment 3 Alec Warner archtester Gentoo Infrastructure gentoo-dev Security 2009-12-01 22:29:20 UTC
Do you expect developers to fix:
 - Homepages that have moved (300-level redirect)
 - Homepages that are gone (400-level error page)
 - Homepages that are broken (500-level error page)
 - Homepages that are spam
 - Distfiles that are missing.

I am not sure repoman is really the best place for these checks; although having devs do it is appealing as a distributed effort (as opposed to one or two lonely qa guys trying valiantly to fix stuff).

I guess here I'd rather see a third-party tool doing this stuff first; with people actually fixing stuff; as opposed to adding yet another option to repoman that only two lonely qa devs will ever use.

-A
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-12-02 06:32:45 UTC
and I sincerely don't want to write a tool to parse an ebuild file to be able to do something that repoman does already.

Checking for spam links is quite difficult so I don't pretend that repoman be able to do that, but the rest should be pretty trivial to do.
Comment 5 Alec Warner archtester Gentoo Infrastructure gentoo-dev Security 2009-12-02 20:44:30 UTC
I never said you shouldn't use the portage API (no ebuild parsing required.)
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-07-15 15:36:37 UTC
Well, I'm already working on support for limiting the amount of checks performed by repoman to a specific group. When this is done, I may introduce additional check group for SRC_URI, disabled by default.
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-02-04 12:59:42 UTC
*** Bug 315243 has been marked as a duplicate of this bug. ***