Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 198103 - pre-commit XML check fails on cvs.g.o because DTDs are not checked out anymore
Summary: pre-commit XML check fails on cvs.g.o because DTDs are not checked out anymore
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Git (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Infrastructure
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-04 23:12 UTC by Xavier Neys (RETIRED)
Modified: 2007-11-05 01:06 UTC (History)
1 user (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 Xavier Neys (RETIRED) gentoo-dev 2007-11-04 23:12:05 UTC
[gentoo]/xml/htdocs/dtd/* used to be checked out immediately after a commit so that the pre-commit check of xml files that need the DTDs would not fail or require a long wait.

It seems it has stopped working. I updated usedinfo.dtd hours ago, but the pre-commit check on the xml is still validating against the previous version.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-11-04 23:36:19 UTC
I don't find any script at all for updating the copy on stork.
I added a cronjob that runs every 10 minutes and handles them now.
Comment 2 Xavier Neys (RETIRED) gentoo-dev 2007-11-04 23:45:37 UTC
Thanks, but it used to take a few seconds at the most before I could commit xml that relied on updates to DTDs and now I have to wait 10 minutes.
Not nice!

Please have a look at loginfo. There's some foo that should take care of it. It hasn't been changed recently but it stopped working. Any idea?
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-11-05 00:51:49 UTC
ah, thanks for pointing to that scripting bit.
The last updatelog entry is Sep 13th, and I did a test of them, (my test empty commit on glsa.dtd), and the loginfo lines did not run.

I traced why, and it's going to be a pain.
loginfo takes the first matching line only, and does NOT continue afterwards.
I'm working on it.
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-11-05 01:06:39 UTC
ok, fixed now.