[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #59658] xgettext and msginit don't honor SOURCE_DATE_EPOCH

From: Miguel Ángel Arruga Vivas
Subject: [bug #59658] xgettext and msginit don't honor SOURCE_DATE_EPOCH
Date: Fri, 11 Dec 2020 19:18:24 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Follow-up Comment #1, bug #59658 (project gettext):

The v2 adds changes a bit the interface of po_strftime in order to provide the
UTC field, fixes the missing call to time/localtime on msginit and adds two
new tests to the test suite: msginit-5 and xgettext-17.

xgettext-17 takes, unless skipped, at least one minute to complete in order to
ensure that the output differs when SOURCE_DATE_EPOCH isn't provided but stays
the same when the value is the same, even when the wall clock has changed
enough.  Is this time requirement acceptable?  It also checks that the output
is controlled by the variable and the program doesn't emit a fixed timestamp;
it could be reduced to only that use case if deemed appropriate.

(file #50444)

Additional Item Attachment:

File name: 0001-xgettext-msginit-Honor-SOURCE_DATE_EPOCH-for-timesta.patch
Size:16 KB


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]