Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81960 - glsa-check should check that data files are there
Summary: glsa-check should check that data files are there
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Marius Mauch (RETIRED)
URL: http://bugs.gentoo.org/show_bug.cgi?i...
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-02-13 23:42 UTC by Evgeny Stambulchik
Modified: 2006-10-31 19:54 UTC (History)
2 users (show)

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


Attachments
Patch for glsa-check to check for timestamp.chk (2005-09-07.diff,1.58 KB, patch)
2005-09-07 09:36 UTC, Michaelian Ennis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Evgeny Stambulchik 2005-02-13 23:42:30 UTC
See URL for the gory details.

Reproducible: Always
Steps to Reproduce:
Comment 1 Lance Albertson (RETIRED) gentoo-dev 2005-02-14 05:46:25 UTC
What exactly do you want it to do? Just complain that it isn't up to date?
Comment 2 Evgeny Stambulchik 2005-02-14 05:51:26 UTC
Well, in case there is NO directory (or it's empty) it should say the portage tree is corrupted or something like that.

Regarding not up-to-date - it could be a nice idea; check that timestamp.chk is not older than x days and if it is, recommend emerge sync or emerge-webrsync.

Thanks!
Comment 3 Lance Albertson (RETIRED) gentoo-dev 2005-02-14 05:53:43 UTC
Alright, then I'll reassign to dev-portage since its really their baby on changing glsa-check to do that.
Comment 4 Michaelian Ennis 2005-09-07 09:36:16 UTC
Created attachment 67838 [details, diff]
Patch for glsa-check to check for timestamp.chk

This patch will warn and sys.exit(0) if there is no timestamp in the
metadata/glsa directory.  Depending upon how GLSA_SERVER gets implemented there
may need to be an additional check for that being used but I suppose that will
be obvious.  I am also looking at the "too old" request.
Comment 5 Marius Mauch (RETIRED) gentoo-dev 2005-11-15 13:25:44 UTC
existence check done, the "too old" check I'd mark as WONTFIX
Comment 6 Marius Mauch (RETIRED) gentoo-dev 2006-10-31 19:54:13 UTC
should have been closed ages ago :/