Re: Add commit ID to build info

Andreas Heigl <[email protected]>
Newsgroups gmane.comp.php.documentation.general
Message-ID <[email protected]>
Hey Folks

Am 01.02.21 um 23:27 schrieb Christoph M. Becker:
> On 01.02.2021 at 15:59, André L F S Bacci wrote:
> 
>> On Mon, Feb 1, 2021 at 12:17 PM Christoph M. Becker <[email protected]>
>> wrote:
>>
>>> On 29.01.2021 at 01:25, Adiel Cristo via phpdoc wrote:
>>>
>>>> I fixed the pt_br doc build, but for some reason the changes did not
>>>> seem to work (or even to be applied) on the remote server.
>>>>
>>>> I added some changes on the doc/base/configure.php file to get the
>>>> commit ID (patch attached), but I'm not sure if I have permissions to,
>>>> or if I should change this file.
>>>>
>>>> Any thoughts?
>>>
>>> I'm not sure about the usefulness of this patch, but maybe consider to
>>> submit that as PR to <https://github.com/php/doc-base>.
>>>
>>
>> It's about trying to find why pt_BR is not building, or at least why it's
>> giving an error that does not occur in a local build.
>>
>> I may suggest another, more general approach. To make the VCS output to be
>> added in logs of http://doc.php.net/logs/ . Or at least to add the output
>> of `git status` and `git log -1` when an error occurs (or even better, to
>> add these lines before doc-base/configure).
>>
>> I really think all three above would be a very comprehensive solution for
>> debugging building problems.
> 
> In this case the build error[1] is about something that had already been
> removed 5 days ago in pt_BR[2].  So apparently, the doc builder uses an
> old revision, for some reason.  I think somebody with access to the doc
> builder machine needs to look at this.

Looks like I found the culprit. Again the case-differences between the
language name pt_BR and the folder-name pt_br.

I've already created a PR to fix that[1] as well as fixed it in the
live-system. So the next run of the doc-build at 8:00 UTC should include
the changes you are waiting for. And from then on it should run without
issues. I'll nevertheless check the results.

Cheers

Andreas

[1] https://github.com/php/systems/pull/15
-- 
                                                              ,,,
                                                             (o o)
+---------------------------------------------------------ooO-(_)-Ooo-+
| Andreas Heigl                                                       |
| mailto:[email protected]                  N 50°22'59.5" E 08°23'58" |
| https://andreas.heigl.org                                           |
+---------------------------------------------------------------------+
| https://hei.gl/appointmentwithandreas                               |
+---------------------------------------------------------------------+
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOHo7et0VdZk8RJK34Ff+SCK3tkUFAmAY8FYACgkQ4Ff+SCK3
tkVVQg/9E1HshOw1utV02kO4mfYvrS8RK10Ld/cr/msIhr7pLBXAEhgE2wtIVX1p
miOR7F073PKLvdcN/byKvDfhW8VPnUxnCKkUcYu2KZcADfdJ6veNaXlK4d4BHVzs
UikPjb2OxJHVwFUziBp+bzhGmaP5k0EYSkmQKQQqyXexEs6nnpLwoCKKtLR4OoFW
JxNqu6LUsQ3q1saqml9odxlyo2hQb5bOTC2XhLF3Jw00F6/kF9k6M+boltIhKP12
3HZ8naIKR1KrXBBmuXGQDzzhJTWe3DU7qXZqMvszJB5h55h67rSc1m7nAjKltkbG
9GSSWhpheHiFBaJJQYLHy1EEDu4qY7PfawzEeDEsMBPtHatuO5CXx72+46eOsIW8
BkEjptbzk+zUUTsSPRfbTz8Uc2dKkrQMQdUrig+jGWq2aBIMWocWyW95T9c5OVxJ
ZEdPRH/2maIyynU3dWKq4D+UD6v+BEE2B5FKI2xJIOqMRYys3vez9kFjdUt0/lOP
9DX0nDb8NdiEdTOX555z2ezj05Xbmk2XSQiVUHgVf8TTbe2B+6PVqPcVvsDYJ4HL
9GzUAnvXP9sckK9LHxB6v2CTzMI5NvjGvMl6caXr/jP4LinAR8dEmu/5WUjItZ1N
ySSrzMYUSv6dB/dKhlCno0UD5xvJBKotiLCejSmpijKcZXBmmCI=
=dO/x
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.