[docutils:patches] #132 Add SOURCE_DATE_EPOCH support to date directive
Günter Milde via Docutils-develop <[email protected]> Thu, 17 Apr 2025 12:07:24 -0000
| Newsgroups | gmane.text.docutils.devel |
|---|---|
| Message-ID | </p/docutils/patches/132/fa44a97d42bed724a8c2f22f78c218866703729b.patches@docutils.p.sourceforge.net> |
- **Comment**: SOURCE_DATE_EPOCH seems to be established as a means for reproducible builds by now in a way that whenever someone were met by unexpected behaviour due to accident, a prank, or a malign actor a simple internet search may help to find the cause. Hence I remove my objection and suggest that Docutils 1.0 will consider this environment variable. In addition to the patch from Debian, we will need a patch for the documentation and a test case. --- **[patches:#132] Add SOURCE_DATE_EPOCH support to date directive** **Status:** pending-remind **Group:** None **Created:** Sun Jul 24, 2016 05:49 PM UTC by Dmitry Shachnev **Last Updated:** Thu Jul 28, 2016 03:20 PM UTC **Owner:** nobody **Attachments:** - [0001-Add-SOURCE_DATE_EPOCH-support-to-the-date-directive.patch](https://sourceforge.net/p/docutils/patches/132/attachment/0001-Add-SOURCE_DATE_EPOCH-support-to-the-date-directive.patch) (1.1 kB; text/x-diff) Recently, a number of projects [joined efforts](https://reproducible-builds.org/) to make the builds of their software reproducible. One of the goals of this effort is getting rid of timestamps in generated files, such as the documentation and man pages. For this purpose, [a specification of `SOURCE_DATE_EPOCH`](https://reproducible-builds.org/specs/source-date-epoch/) environment variable was developed, which various build systems can set and various projects can read. The attached patch (initially submitted by Chris Lamb to [Debian #831779](https://bugs.debian.org/831779)) adds support for that environment variable to docutils `date` directive. --- Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/docutils/patches/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/patches/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.