#2958 - Smarter addon build mtime generation

Identifier #2958
Issue type Feature request or suggestion
Title Smarter addon build mtime generation
Status Completed
Handling member Chris Graham
Addon core
Description We have a script to build out all our addons in bulk, so we can then upload them.

The mtime's come from disk for each file, then the latest one determines the mtime for the overall archive.

This works poorly with git. Git doesn't maintain mtimes, and will touch them all to "now" when switching branches where the files have changed.

So instead we could look to see if any individual file has changed since the latest time the tar was generated, and if not copy the mtime back from the file's time within the tar file. Then we build the addons.
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated