-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Fixing implausibly old time stamp 1970-01-01 00:00:00 by using the timestamp from the Git revision instead of default 0 value #3883
Conversation
…mestamp from the Git revision instead of default 0 value Signed-off-by: Andriy Redko <[email protected]>
@andrross what do you think of this fix? thank you! |
Gradle Check (Jenkins) Run Completed with:
|
Codecov Report
@@ Coverage Diff @@
## main #3883 +/- ##
============================================
+ Coverage 70.47% 70.48% +0.01%
+ Complexity 56617 56588 -29
============================================
Files 4557 4557
Lines 272683 272687 +4
Branches 40038 40038
============================================
+ Hits 192163 192211 +48
+ Misses 64254 64209 -45
- Partials 16266 16267 +1
Continue to review full report at Codecov.
|
buildSrc/src/main/java/org/opensearch/gradle/tar/SymbolicLinkPreservingTar.java
Show resolved
Hide resolved
buildSrc/src/main/java/org/opensearch/gradle/info/BuildParams.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Andriy Redko <[email protected]>
Gradle Check (Jenkins) Run Completed with:
|
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.
@andrross That's one of the reasons I have not included revision date into |
Gradle Check (Jenkins) Run Completed with:
|
Does |
Yes, it could be called up to 9 times (if I am not mistaken), this is how many |
…e build script Signed-off-by: Andriy Redko <[email protected]>
Gradle Check (Jenkins) Run Completed with:
|
…mestamp from the Git revision instead of default 0 value (#3883) * Fixing implausibly old time stamp 1970-01-01 00:00:00 by using the timestamp from the Git revision instead of default 0 value Signed-off-by: Andriy Redko <[email protected]> * Address code review comments Signed-off-by: Andriy Redko <[email protected]> * Address code review comments (encapsulating the Git origin date inside build script Signed-off-by: Andriy Redko <[email protected]> (cherry picked from commit f165845)
…mestamp from the Git revision instead of default 0 value (#3883) (#3891) * Fixing implausibly old time stamp 1970-01-01 00:00:00 by using the timestamp from the Git revision instead of default 0 value Signed-off-by: Andriy Redko <[email protected]> * Address code review comments Signed-off-by: Andriy Redko <[email protected]> * Address code review comments (encapsulating the Git origin date inside build script Signed-off-by: Andriy Redko <[email protected]> (cherry picked from commit f165845) Co-authored-by: Andriy Redko <[email protected]>
Signed-off-by: Andriy Redko [email protected]
Description
Fixing implausibly old time stamp 1970-01-01 00:00:00 by using the timestamp from the Git revision instead of default 0 value.
Issues Resolved
Closes #2412
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.