-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't write LIBARCHIVE.creationtime attribute in tar.gz archive entries #4427
Don't write LIBARCHIVE.creationtime attribute in tar.gz archive entries #4427
Conversation
tycho-p2-director-plugin/src/main/java/org/eclipse/tycho/plugins/tar/TarGzArchiver.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should be a config option to switch this behavior on/off
- for Tycho 4.x it must be on by default
- for Tycho 5.x we can decide what should be the default
If that's necessary get consensus I can add an option, but AFAIK an option was not added when this attribute was introduced, was it? |
This attribute was never (intentionally) introduced, we updated the library behind that and those maintainer choose for some reasons to support this "non standard" extension and add it by default. So from a compatibility point of view it only adds something new that can be ignored by a tool if desired. No we have the other way round, that removing it might break use-cases that have relied on this, so I better like to preserve this. It would have been different if we would have never added it before but now it is there (even not added by intention) but disabling that by a config option is always possible of course. |
633a492
to
0d44e2d
Compare
Ok, then lets do it this way. |
@laeubi are you fine with this now? |
Created the back-port with different default in |
Test Results 603 files ±0 603 suites ±0 3h 58m 11s ⏱️ - 33m 11s For more details on these failures, see this check. Results for commit d080159. ± Comparison against base commit 2e98ec9. ♻️ This comment has been updated with latest results. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
...director-plugin/src/main/java/org/eclipse/tycho/plugins/p2/director/ProductArchiverMojo.java
Outdated
Show resolved
Hide resolved
0d44e2d
to
d080159
Compare
Fixes #2586