Re: CVS changes - Mailing list pgsql-hackers
From | Bruce Momjian |
---|---|
Subject | Re: CVS changes |
Date | |
Msg-id | 200110021614.f92GEA511627@candle.pha.pa.us Whole thread Raw |
In response to | Re: CVS changes (John Summerfield <pgtest@os2.ami.com.au>) |
Responses |
Re: CVS changes
Re: CVS changes |
List | pgsql-hackers |
> On Sun, 30 Sep 2001, Bruce Momjian wrote: > > > > > On Sun, 30 Sep 2001, Bruce Momjian wrote: > > > > > > > > > > > > > > > > > > > > > just about to be moved to the new server, now that the new 18gi drive has > > > > > been installed ... plan on getting that done this afternoon ... > > > > > > > > Don't rush. I am setting up my system to check the SGML docs every 15 > > > > minutes and rebuild if necessary. Overnight builds are not frequent > > > > > > > Would it not be better to provide a means for developers to cause the rebuild on demand? A 15-minute wait doesn't seemconvenient to me. > > > > Yep, but it takes 15 minutes to build anyway, so I figured I would check > > very 15 minutes and adding another 15, that makes 1/2 hour. We don't > > have a mechanism to build only a few html files. You have to do the > > whole thing. > > > > Suggestions? > > I don't know enough about how it works (or doesn't), but the > delay looks worse. > > Add the delay for "missing the bus" and you're out to a 45-minute > delay. True. > The need for on-demand is even greater, even something done > crudely: > > If a build's in process, flag the need. Added. I realized that I could have two running at the same time, which would be a disaster. > When the build completes, check if it has to be done again. Great idea! Added. > I assume that updates aren't so frequent that you'd be constantly > rebuilding, or so infrequently a missed rebuild would cause > serious problems. Yep. > Perhaps a way to check if a rebuild's in process so that if it's > slower than usual a developer can see it's not forgotten (or > who else is doing one). Script attached. I could poll cvs more frequently but it seems rude to hit the cvs server more frequently than every 15 minutes. If people want it polled more frequently, and Marc doesn't mind, I can change the polling interval here. Also, I added something that will show the files modified in the current build. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania19026 : trap "rm -f /tmp/$$ /tmp/$$a /tmp/pgsql_sgml" 0 1 2 3 15 [ -f /tmp/pgsql_sgml ] && exit touch /tmp/pgsql_sgml cd /u/src/gen/pgsql/sgml/pgsql/doc/src while pgcvs update . 2>&1 | grep -v '^?' >/tmp/$$a doecho "Build: `date`" >>build.datescat /tmp/$$a >>build.datesecho "PostgreSQL CVS Documentation Build" >/tmp/$$echo "==================================\n">>/tmp/$$echo "Build started: `date`\n" >>/tmp/$$gmake 2>&1 | grep -v DTDDECL >>/tmp/$$echo "Build completed: `date`\n" >>/tmp/$$echo "Changes in this build:"cat /tmp/$$a >>/tmp/$$echo "\nErrors appearin red.\n" >>/tmp/$$pipe sed 's;HTML.manifest:;HTML.manifest :;g' /tmp/$$txt2html -m -s 100 -p 100 --title "PostgreSQLCVS Docs built `date`" \--link /u/txt2html/txt2html.dict \--append_head /u/txt2html/BODY /tmp/$$ >build.htmlpipesed 's;^.*error.*$;<FONT COLOR="RED">&</FONT>;' build.htmlpipe sed 's;^.*Error.*$;<FONT COLOR="RED">&</FONT>;'build.htmlpipe sed 's;^.*:E:.*$;<FONT COLOR="RED">&</FONT>;' build.htmlrm -f /var/www/docs/main/writings/pgsql/sgml/*mvsgml/*.html build.html /var/www/docs/main/writings/pgsql/sgmlcp sgml/*.css /var/www/docs/main/writings/pgsql/sgml done
pgsql-hackers by date: