Skip to content

Support for custom timestamps via XML attributes#72

Open
N4gtan wants to merge 12 commits intoLameguy64:masterfrom
N4gtan:xml-date
Open

Support for custom timestamps via XML attributes#72
N4gtan wants to merge 12 commits intoLameguy64:masterfrom
N4gtan:xml-date

Conversation

@N4gtan
Copy link
Contributor

@N4gtan N4gtan commented Jan 20, 2026

This PR introduces a date attribute to the XML schema, to preserve timestamps independently of the source files.

Previously, modifying a file would change its timestamp in the generated ISO. This caused xdelta patches to grow unnecessarily because the filesystem metadata changed even if the file content change was minimal.
By allowing fixed dates in the XML, this feature simulates a "file injection" behavior, keeping timestamps consistent and ensuring that binary patches only reflect actual data changes.

Additionally, this bypasses the filesystem limitations on ext4 and xfs, where dates older than December 1901 could not be represented correctly.

This PR depends on:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant