Thread: Slightly overenthusiastic redirect, or, where's the docs build log?

Slightly overenthusiastic redirect, or, where's the docs build log?

From
Tom Lane
Date:
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?

From
Magnus Hagander
Date:
On Fri, Dec 9, 2011 at 17:56, Tom Lane <tgl@sss.pgh.pa.us> 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?

From
Andrew Dunstan
Date:

On 12/11/2011 09:16 AM, Magnus Hagander wrote:
> On Fri, Dec 9, 2011 at 17:56, Tom Lane<tgl@sss.pgh.pa.us>  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:
<http://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=guaibasaurus&dt=latest&stg=make-doc>

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?

From
Magnus Hagander
Date:
On Sun, Dec 11, 2011 at 17:28, Andrew Dunstan <andrew@dunslane.net> wrote:
>
>
> On 12/11/2011 09:16 AM, Magnus Hagander wrote:
>>
>> On Fri, Dec 9, 2011 at 17:56, Tom Lane<tgl@sss.pgh.pa.us>  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:
> <http://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=guaibasaurus&dt=latest&stg=make-doc>

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?

From
Tom Lane
Date:
Magnus Hagander <magnus@hagander.net> writes:
> On Sun, Dec 11, 2011 at 17:28, Andrew Dunstan <andrew@dunslane.net> 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:
>> <http://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=guaibasaurus&dt=latest&stg=make-doc>

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?

From
Magnus Hagander
Date:
On Sun, Dec 11, 2011 at 19:28, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Magnus Hagander <magnus@hagander.net> writes:
>> On Sun, Dec 11, 2011 at 17:28, Andrew Dunstan <andrew@dunslane.net> 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:
>>> <http://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=guaibasaurus&dt=latest&stg=make-doc>
>
> 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?

From
Andrew Dunstan
Date:

On 12/11/2011 11:54 AM, Magnus Hagander wrote:
>> I added in a gadget to let you specify "latest" as the snapshot:
>> <http://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=guaibasaurus&dt=latest&stg=make-doc>
> 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 
<http://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=crake&dt=latest&stg=make-doc>



cheers

andrew


Re: Slightly overenthusiastic redirect, or, where's the docs build log?

From
Magnus Hagander
Date:
On Sun, Dec 11, 2011 at 21:07, Andrew Dunstan <andrew@dunslane.net> wrote:
>
>
> On 12/11/2011 11:54 AM, Magnus Hagander wrote:
>>>
>>> I added in a gadget to let you specify "latest" as the snapshot:
>>>
>>> <http://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=guaibasaurus&dt=latest&stg=make-doc>
>>
>> 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
> <http://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=crake&dt=latest&stg=make-doc>

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?

From
Alvaro Herrera
Date:
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 <andrew@dunslane.net> wrote:
> >
> >
> > On 12/11/2011 11:54 AM, Magnus Hagander wrote:
> >>>
> >>> I added in a gadget to let you specify "latest" as the snapshot:
> >>>
> >>> <http://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=guaibasaurus&dt=latest&stg=make-doc>
> >>
> >> 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
> > <http://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=crake&dt=latest&stg=make-doc>
>
> 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{<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">\n}if $. == 1;' \         <postgres.xmltmp > postgres.xml 
rm postgres.xmltmp


It would be pretty useful to include the make rule being run in
the buildfarm output file ...

--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


Re: Slightly overenthusiastic redirect, or, where's the docs build log?

From
Alvaro Herrera
Date:
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 <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


Re: Slightly overenthusiastic redirect, or, where's the docs build log?

From
Andrew Dunstan
Date:

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?

From
Alvaro Herrera
Date:
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 <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


Re: Slightly overenthusiastic redirect, or, where's the docs build log?

From
Tom Lane
Date:
Alvaro Herrera <alvherre@commandprompt.com> 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?

From
Magnus Hagander
Date:
On Mon, Dec 12, 2011 at 06:59, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Alvaro Herrera <alvherre@commandprompt.com> 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/