-
Notifications
You must be signed in to change notification settings - Fork 194
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
Use reproducible version qualifiers #4569
Use reproducible version qualifiers #4569
Conversation
Test Results 606 files 606 suites 4h 8m 20s ⏱️ For more details on these failures, see this check. Results for commit f05034f. ♻️ This comment has been updated with latest results. |
This looks useful I just wondering if we probably should handle this in the default timestamp provider instead? We would then just have the parameter defined as today but read its value here Lines 33 to 35 in af85163
from the mojo execution configuration. |
I think you're right. I've refactored the PR to only change the DefaultBuildTimestampProvider. What do you think of this? |
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.
Testfailure is unrelated
tycho-packaging-plugin/src/main/java/org/eclipse/tycho/buildversion/BuildQualifierMojo.java
Outdated
Show resolved
Hide resolved
I don't know why but Github indicates you have renamed your previous tests instead of adding a new test. Is this intentional? |
I renamed the integration test class from ReproducibleArchiveTimestampTest to ReproducibleBuildTest because I will test here all the reproducibility problems that need to be fixed (other PR will be required for that). Here I added a check to assert that the build version qualifier is the one expected. Adding a new test would require to add another "test project", or to run the tests twice, so I simply added a new check to the existing check. If you think there is a better way to do please tell me. |
cbc92ad
to
bd1ceca
Compare
@Zlika this looks fine now, can you probably squash all commits into one? |
Can't you squash the commits directly here when you merge the PR? |
I can do it but this often leads to "strange" commits authored by github bot, so if you don't mind, just quash, rebase and force push and I think it can be merged (and backported) right away. |
cbc92ad
to
5ccd6c5
Compare
Ok, done.Thanks. |
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.
Thanks again!
…p property is set
5ccd6c5
to
f05034f
Compare
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation and see the Github Action logs for details |
Thanks @laeubi for the merge. |
Use reproducible version qualifiers when project.build.outputTimestamp property is set.
This is a follow-up of #4546.