[Git][reproducible-builds/specs/source-date-epoch-spec][MAY] Change SHOULD to MAY for the build to error out

Bernhard M. Wiedemann (@bmwiedemann-guest) gitlab at salsa.debian.org
Fri Oct 16 13:19:31 UTC 2026



Bernhard M. Wiedemann pushed to branch MAY at Reproducible Builds / specs / source-date-epoch-spec


Commits:
a30b0541 by Bernhard M. Wiedemann at 2026-10-16T14:59:28+02:00
Change SHOULD to MAY for the build to error out

in case of invalid SDE value.
This allows for less complex patches
because invalid values are exceptional
and an indication of a bug somewhere else.

The spec requires that SDE MUST be a valid integer, so such errors
from invalid values should never happen anyway, so adding extra code
to handle cases that never happen, is rather wasteful and decreases
maintainability and increases the chance for adding bugs and decreases
the likelyhood to get the SDE-improvement merged upstream.

With this MAY, we leave freedom about how to handle this
to the implementations.

- - - - -


1 changed file:

- source-date-epoch-spec.xml


Changes:

=====================================
source-date-epoch-spec.xml
=====================================
@@ -173,7 +173,7 @@
 			timezone.
 		</para>
 		<para>
-			If the value is malformed, the build process SHOULD
+			If the value is malformed, the build process MAY
 			exit with a non-zero error code.
 		</para>
 	</sect2>



View it on GitLab: https://salsa.debian.org/reproducible-builds/specs/source-date-epoch-spec/-/commit/a30b0541a18cdc571c8dff4c329ef8a75e396fa1

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/specs/source-date-epoch-spec/-/commit/a30b0541a18cdc571c8dff4c329ef8a75e396fa1
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20261016/2789d88e/attachment.htm>


More information about the rb-commits mailing list