SF.net SVN: docutils:[10103 ] trunk/sandbox/manpage-wr iter

grubert--- via Docutils-checkins <[email protected]> Fri, 25 Apr 2025 12:08:48 +0000
Newsgroups gmane.text.docutils.cvs
Message-ID <[email protected]>
Revision: 10103
          http://sourceforge.net/p/docutils/code/10103
Author:   grubert
Date:     2025-04-25 12:08:45 +0000 (Fri, 25 Apr 2025)
Log Message:
-----------
use SOURCE_DATE_EPOCH in scripts to clamp timestamps in man output

Modified Paths:
--------------
    trunk/sandbox/manpage-writer/expected/URUE-problem.html
    trunk/sandbox/manpage-writer/expected/URUE-problem.ps
    trunk/sandbox/manpage-writer/expected/optionstoo.ps
    trunk/sandbox/manpage-writer/expected/quotes.ps
    trunk/sandbox/manpage-writer/expected/references.ps
    trunk/sandbox/manpage-writer/expected/test.ps
    trunk/sandbox/manpage-writer/runtest
    trunk/sandbox/manpage-writer/runtest-man

Modified: trunk/sandbox/manpage-writer/expected/URUE-problem.html
===================================================================
--- trunk/sandbox/manpage-writer/expected/URUE-problem.html	2025-04-23 15:54:44 UTC (rev 10102)
+++ trunk/sandbox/manpage-writer/expected/URUE-problem.html	2025-04-25 12:08:45 UTC (rev 10103)
@@ -1,5 +1,5 @@
 <!-- Creator     : groff version 1.23.0 -->
-<!-- CreationDate: Mon Mar 25 10:27:33 2024 -->
+<!-- CreationDate: Mon Mar 25 11:01:04 2024 -->
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
 "http://www.w3.org/TR/html4/loose.dtd">
 <html>

Modified: trunk/sandbox/manpage-writer/expected/URUE-problem.ps
===================================================================
--- trunk/sandbox/manpage-writer/expected/URUE-problem.ps	2025-04-23 15:54:44 UTC (rev 10102)
+++ trunk/sandbox/manpage-writer/expected/URUE-problem.ps	2025-04-25 12:08:45 UTC (rev 10103)
@@ -1,6 +1,6 @@
 %!PS-Adobe-3.0
 %%Creator: groff version 1.23.0
-%%CreationDate: Mon Mar 25 10:27:33 2024
+%%CreationDate: Mon Mar 25 11:01:04 2024
 %%DocumentNeededResources: font Times-Roman
 %%DocumentSuppliedResources: procset grops 1.23 0
 %%Pages: 1

Modified: trunk/sandbox/manpage-writer/expected/optionstoo.ps
===================================================================
--- trunk/sandbox/manpage-writer/expected/optionstoo.ps	2025-04-23 15:54:44 UTC (rev 10102)
+++ trunk/sandbox/manpage-writer/expected/optionstoo.ps	2025-04-25 12:08:45 UTC (rev 10103)
@@ -1,6 +1,6 @@
 %!PS-Adobe-3.0
 %%Creator: groff version 1.23.0
-%%CreationDate: Thu Mar 13 10:26:04 2025
+%%CreationDate: Thu Sep 28 08:45:02 2023
 %%DocumentNeededResources: font Times-Italic
 %%+ font Times-Roman
 %%+ font Times-Bold

Modified: trunk/sandbox/manpage-writer/expected/quotes.ps
===================================================================
--- trunk/sandbox/manpage-writer/expected/quotes.ps	2025-04-23 15:54:44 UTC (rev 10102)
+++ trunk/sandbox/manpage-writer/expected/quotes.ps	2025-04-25 12:08:45 UTC (rev 10103)
@@ -1,6 +1,6 @@
 %!PS-Adobe-3.0
 %%Creator: groff version 1.23.0
-%%CreationDate: Thu Mar 13 10:26:05 2025
+%%CreationDate: Mon Aug 23 15:17:01 2021
 %%DocumentNeededResources: font Times-Roman
 %%+ font Times-Bold
 %%DocumentSuppliedResources: procset grops 1.23 0

Modified: trunk/sandbox/manpage-writer/expected/references.ps
===================================================================
--- trunk/sandbox/manpage-writer/expected/references.ps	2025-04-23 15:54:44 UTC (rev 10102)
+++ trunk/sandbox/manpage-writer/expected/references.ps	2025-04-25 12:08:45 UTC (rev 10103)
@@ -1,6 +1,6 @@
 %!PS-Adobe-3.0
 %%Creator: groff version 1.23.0
-%%CreationDate: Tue Apr 22 14:29:30 2025
+%%CreationDate: Sun Mar 24 18:41:45 2024
 %%DocumentNeededResources: font Times-Italic
 %%+ font Times-Roman
 %%+ font Times-Bold

Modified: trunk/sandbox/manpage-writer/expected/test.ps
===================================================================
--- trunk/sandbox/manpage-writer/expected/test.ps	2025-04-23 15:54:44 UTC (rev 10102)
+++ trunk/sandbox/manpage-writer/expected/test.ps	2025-04-25 12:08:45 UTC (rev 10103)
@@ -1,6 +1,6 @@
 %!PS-Adobe-3.0
 %%Creator: groff version 1.23.0
-%%CreationDate: Fri Mar 21 03:05:48 2025
+%%CreationDate: Sat Mar 16 15:50:40 2024
 %%DocumentNeededResources: font Times-Italic
 %%+ font Times-Roman
 %%+ font Times-Bold

Modified: trunk/sandbox/manpage-writer/runtest
===================================================================
--- trunk/sandbox/manpage-writer/runtest	2025-04-23 15:54:44 UTC (rev 10102)
+++ trunk/sandbox/manpage-writer/runtest	2025-04-25 12:08:45 UTC (rev 10103)
@@ -53,6 +53,7 @@
     if [ $? -ne 0 ] ; then
       inc_ERROR_CNT
     fi
+    export SOURCE_DATE_EPOCH=$(stat -c %Y $IN_F)
     for ENC in $ENCS ; do
       if [ -e $EXP_DIR/$F_BASE.$ENC ] ; then
         man -T$ENC $OUT_DIR/$F_BASE.man > $OUT_DIR/$F_BASE.$ENC

Modified: trunk/sandbox/manpage-writer/runtest-man
===================================================================
--- trunk/sandbox/manpage-writer/runtest-man	2025-04-23 15:54:44 UTC (rev 10102)
+++ trunk/sandbox/manpage-writer/runtest-man	2025-04-25 12:08:45 UTC (rev 10103)
@@ -48,6 +48,7 @@
   for IN_F in $IN_DIR/$FILES ; do
     BASE=`basename $IN_F`
     F_BASE=${BASE%.man}
+    export SOURCE_DATE_EPOCH=$(stat -c %Y $IN_F)
 
     for ENC in $ENCS ; do
       if [ -e $EXP_DIR/$F_BASE.$ENC ] ; then

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.