Slightly overenthusiastic redirect, or, where's the docs build log?
Slightly overenthusiastic redirect, or, where's the docs build log?
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
http://developer.postgresql.org/docs/postgres/buildlog.html now redirects to the docs themselves. While this is possibly not worth fixing, I'd sure like to know where the build log is now. regards, tom lane
Re: Slightly overenthusiastic redirect, or, where's the docs build log?
От:
Magnus Hagander <magnus@hagander.net>
Дата:
On Fri, Dec 9, 2011 at 17:56, Tom Lane wrote: > http://developer.postgresql.org/docs/postgres/buildlog.html > now redirects to the docs themselves. While this is possibly not > worth fixing, I'd sure like to know where the build log is now. It's on the buildfarm animal guaibasaurus. So for example http://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=guaibasaurus&dt=2011-12-11%2000%3A03%3A01&stg=make-doc I haven't figured out if there is a way to make a link to "stage make-doc on the latest repotr on this buildfarm animal" - the one above is just the one that happened to be the latest one when I checked it. Andrew - can that be done? -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/
Re: Slightly overenthusiastic redirect, or, where's the docs build log?
От:
Andrew Dunstan <andrew@dunslane.net>
Дата:
On 12/11/2011 09:16 AM, Magnus Hagander wrote: > On Fri, Dec 9, 2011 at 17:56, Tom Lane wrote: >> http://developer.postgresql.org/docs/postgres/buildlog.html >> now redirects to the docs themselves. While this is possibly not >> worth fixing, I'd sure like to know where the build log is now. > It's on the buildfarm animal guaibasaurus. So for example > http://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=guaibasaurus&dt=2011-12-11%2000%3A03%3A01&stg=make-doc > > I haven't figured out if there is a way to make a link to "stage > make-doc on the latest repotr on this buildfarm animal" - the one > above is just the one that happened to be the latest one when I > checked it. Andrew - can that be done? > It can now :-) I added in a gadget to let you specify "latest" as the snapshot: This defaults to the latest on HEAD where there is a log with the specified name, but for completeness you can also specify a branch name with the "branch" query param. For the sake of efficiency it doesn't search back more than 30 days, but that should be way more than enough. Note that this selects the latest log for the stage whether or not it was a success, so it might not correspond to what's on developer docs, as that should never get an unsuccessful build. But that's probably what you want anyway :-) cheers andrew
Re: Slightly overenthusiastic redirect, or, where's the docs build log?
От:
Magnus Hagander <magnus@hagander.net>
Дата:
On Sun, Dec 11, 2011 at 17:28, Andrew Dunstan wrote: > > > On 12/11/2011 09:16 AM, Magnus Hagander wrote: >> >> On Fri, Dec 9, 2011 at 17:56, Tom Lane wrote: >>> >>> http://developer.postgresql.org/docs/postgres/buildlog.html >>> now redirects to the docs themselves. While this is possibly not >>> worth fixing, I'd sure like to know where the build log is now. >> >> It's on the buildfarm animal guaibasaurus. So for example >> >> http://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=guaibasaurus&dt=2011-12-11%2000%3A03%3A01&stg=make-doc >> >> I haven't figured out if there is a way to make a link to "stage >> make-doc on the latest repotr on this buildfarm animal" - the one >> above is just the one that happened to be the latest one when I >> checked it. Andrew - can that be done? >> > > > It can now :-) Great ,thanks! > I added in a gadget to let you specify "latest" as the snapshot: > Ok, i've added a link to the website under developers again. > This defaults to the latest on HEAD where there is a log with the specified > name, but for completeness you can also specify a branch name with the > "branch" query param. For the sake of efficiency it doesn't search back more > than 30 days, but that should be way more than enough. > > Note that this selects the latest log for the stage whether or not it was a > success, so it might not correspond to what's on developer docs, as that > should never get an unsuccessful build. But that's probably what you want > anyway :-) Yes, I'm pretty sure that's what we want. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/
Re: Slightly overenthusiastic redirect, or, where's the docs build log?
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Magnus Hagander writes: > On Sun, Dec 11, 2011 at 17:28, Andrew Dunstan wrote: >> On 12/11/2011 09:16 AM, Magnus Hagander wrote: >>> I haven't figured out if there is a way to make a link to "stage >>> make-doc on the latest repotr on this buildfarm animal" - the one >>> above is just the one that happened to be the latest one when I >>> checked it. Andrew - can that be done? >> It can now :-) >> I added in a gadget to let you specify "latest" as the snapshot: >> Thanks guys! > Ok, i've added a link to the website under developers again. I've got the above link bookmarked, so I'm happy, but just out of curiosity where did you put that link? I couldn't spot it on the website. >> Note that this selects the latest log for the stage whether or not it was a >> success, so it might not correspond to what's on developer docs, as that >> should never get an unsuccessful build. But that's probably what you want >> anyway :-) > Yes, I'm pretty sure that's what we want. +1. The only case where you'd care about this is when the docs build is failing. regards, tom lane
Re: Slightly overenthusiastic redirect, or, where's the docs build log?
От:
Magnus Hagander <magnus@hagander.net>
Дата:
On Sun, Dec 11, 2011 at 19:28, Tom Lane wrote: > Magnus Hagander writes: >> On Sun, Dec 11, 2011 at 17:28, Andrew Dunstan wrote: >>> On 12/11/2011 09:16 AM, Magnus Hagander wrote: >>>> I haven't figured out if there is a way to make a link to "stage >>>> make-doc on the latest repotr on this buildfarm animal" - the one >>>> above is just the one that happened to be the latest one when I >>>> checked it. Andrew - can that be done? > >>> It can now :-) >>> I added in a gadget to let you specify "latest" as the snapshot: >>> > > Thanks guys! > >> Ok, i've added a link to the website under developers again. > > I've got the above link bookmarked, so I'm happy, but just out of > curiosity where did you put that link? I couldn't spot it on the > website. developer/testing. Though it hadn't updated on the website wheN I checked a minute ago. I may have forgotten to push or something :-) -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/
Re: Slightly overenthusiastic redirect, or, where's the docs build log?
От:
Andrew Dunstan <andrew@dunslane.net>
Дата:
On 12/11/2011 11:54 AM, Magnus Hagander wrote: >> I added in a gadget to let you specify "latest" as the snapshot: >> > Ok, i've added a link to the website under developers again. BTW, why does guaibasaurus get a gazillion errors about forbidden entities? sgml2xml -D. -x lower postgres.sgml>postgres.xmltmp sgml2xml:legal.sgml:12:53:W: reference to internal SDATA entity "copy" not allowed in XML ... crake isn't getting these: see cheers andrew
Re: Slightly overenthusiastic redirect, or, where's the docs build log?
От:
Magnus Hagander <magnus@hagander.net>
Дата:
On Sun, Dec 11, 2011 at 21:07, Andrew Dunstan wrote: > > > On 12/11/2011 11:54 AM, Magnus Hagander wrote: >>> >>> I added in a gadget to let you specify "latest" as the snapshot: >>> >>> >> >> Ok, i've added a link to the website under developers again. > > > BTW, why does guaibasaurus get a gazillion errors about forbidden entities? > > sgml2xml -D. -x lower postgres.sgml>postgres.xmltmp > sgml2xml:legal.sgml:12:53:W: reference to internal SDATA entity "copy" not > allowed in XML > ... > > > crake isn't getting these: see > Different version of the tools, I would guess? One is Fedora and one is Debian after all? -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/
Re: Slightly overenthusiastic redirect, or, where's the docs build log?
От:
Alvaro Herrera <alvherre@commandprompt.com>
Дата:
Excerpts from Magnus Hagander's message of dom dic 11 17:12:05 -0300 2011:
> On Sun, Dec 11, 2011 at 21:07, Andrew Dunstan wrote:
> >
> >
> > On 12/11/2011 11:54 AM, Magnus Hagander wrote:
> >>>
> >>> I added in a gadget to let you specify "latest" as the snapshot:
> >>>
> >>>
> >>
> >> Ok, i've added a link to the website under developers again.
> >
> >
> > BTW, why does guaibasaurus get a gazillion errors about forbidden entities?
> >
> > sgml2xml -D. -x lower postgres.sgml>postgres.xmltmp
> > sgml2xml:legal.sgml:12:53:W: reference to internal SDATA entity "copy" not
> > allowed in XML
> > ...
> >
> >
> > crake isn't getting these: see
> >
>
> Different version of the tools, I would guess? One is Fedora and one
> is Debian after all?
Strange. I'm on Debian too and I get osx to build postgres.xmltmp, not
sgml2xml.
$ make postgres.xml
osx -D. -x lower /pgsql/source/HEAD/doc/src/sgml/postgres.sgml >postgres.xmltmp
'/usr/bin/perl' -p -e 's/\[(amp|copy|egrave|gt|lt|mdash|nbsp|ouml|pi|quot|uuml) *\]/\&\1;/g;' \ -e '$_ .= qq{\n} if $. == 1;' \ postgres.xml
rm postgres.xmltmp
It would be pretty useful to include the make rule being run in
the buildfarm output file ...
--
Álvaro Herrera
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Re: Slightly overenthusiastic redirect, or, where's the docs build log?
От:
Alvaro Herrera <alvherre@commandprompt.com>
Дата:
Excerpts from Alvaro Herrera's message of dom dic 11 22:17:23 -0300 2011: > Excerpts from Magnus Hagander's message of dom dic 11 17:12:05 -0300 2011: > > Different version of the tools, I would guess? One is Fedora and one > > is Debian after all? > > Strange. I'm on Debian too and I get osx to build postgres.xmltmp, not > sgml2xml. I just noticed that if I force Makefile.global to use sgml2xml instead of osx, I get the same bootload of warnings. -- Álvaro Herrera The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Re: Slightly overenthusiastic redirect, or, where's the docs build log?
От:
Andrew Dunstan <andrew@dunslane.net>
Дата:
On 12/11/2011 08:17 PM, Alvaro Herrera wrote: > > It would be pretty useful to include the make rule being run in > the buildfarm output file ... > The command being run is output. For some reason this machine isn't finding osx, but is finding sgml2xml. The configure log shows: checking for osx... no checking for sgml2xml... sgml2xml I don't know about Debian packaging - on Fedora they are in the same package (opensp). cheers andrew
Re: Slightly overenthusiastic redirect, or, where's the docs build log?
От:
Alvaro Herrera <alvherre@commandprompt.com>
Дата:
Excerpts from Andrew Dunstan's message of dom dic 11 23:10:59 -0300 2011: > > On 12/11/2011 08:17 PM, Alvaro Herrera wrote: > > > > It would be pretty useful to include the make rule being run in > > the buildfarm output file ... > > The command being run is output. The command, yes, but not the make rule. You have to figure out by yourself that it's doing "make man" in this case ... > For some reason this machine isn't finding osx, but is finding sgml2xml. > The configure log shows: > > checking for osx... no > checking for sgml2xml... sgml2xml > > > I don't know about Debian packaging - on Fedora they are in the same > package (opensp). Yeah, Debian packages them separately: $ dpkg -S `which osx` `which sgml2xml` opensp: /usr/bin/osx sp: /usr/bin/sgml2xml Only sp is installed in Guaibasaurus; opensp is not. We could easily get opensp installed in that machine, if people think it's better somehow. At least, we won't get the warnings. -- Álvaro Herrera The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Re: Slightly overenthusiastic redirect, or, where's the docs build log?
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Alvaro Herrera writes: > Only sp is installed in Guaibasaurus; opensp is not. > We could easily get opensp installed in that machine, if people think > it's better somehow. At least, we won't get the warnings. +1 for doing that --- the warnings scared me when I did the last packaging round. I eventually decided the generated doc files were okay, but I'd just as soon not see the warnings. regards, tom lane
Re: Slightly overenthusiastic redirect, or, where's the docs build log?
От:
Magnus Hagander <magnus@hagander.net>
Дата:
On Mon, Dec 12, 2011 at 06:59, Tom Lane wrote: > Alvaro Herrera writes: >> Only sp is installed in Guaibasaurus; opensp is not. > >> We could easily get opensp installed in that machine, if people think >> it's better somehow. At least, we won't get the warnings. > > +1 for doing that --- the warnings scared me when I did the last > packaging round. I eventually decided the generated doc files were > okay, but I'd just as soon not see the warnings. Was not aware it was needed/preferred - I've added it now. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/