Skip to content
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

8275745: Reproducible copyright headers #206

Conversation

andrew-m-leonard
Copy link

@andrew-m-leonard andrew-m-leonard commented Mar 8, 2022

The copyright headers are generated at build time, and the year inserted in the template depends on the current date. This means the headers are not reproducible if the project is built a year later. This PR uses the year derived from the SOURCE_DATE_EPOCH environment variable to make the build reproducible (this variable is already used in other parts of the build).


Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue

Issue

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk17u-dev pull/206/head:pull/206
$ git checkout pull/206

Update a local copy of the PR:
$ git checkout pull/206
$ git pull https://git.openjdk.java.net/jdk17u-dev pull/206/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 206

View PR using the GUI difftool:
$ git pr show -t 206

Using diff file

Download this PR as a diff file:
https://git.openjdk.java.net/jdk17u-dev/pull/206.diff

@bridgekeeper
Copy link

@bridgekeeper bridgekeeper bot commented Mar 8, 2022

👋 Welcome back aleonard! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk openjdk bot changed the title Backport a0227965bb8d1d49718794d67f8a4cfeebc9bec2 8275745: Reproducible copyright headers Mar 8, 2022
@openjdk
Copy link

@openjdk openjdk bot commented Mar 8, 2022

This backport pull request has now been updated with issue from the original commit.

@openjdk
Copy link

@openjdk openjdk bot commented Mar 8, 2022

@andrew-m-leonard This change now passes all automated pre-integration checks.

ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details.

After integration, the commit message for the final commit will be:

8275745: Reproducible copyright headers

You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed.

At the time when this comment was updated there had been 6 new commits pushed to the master branch:

  • a15455f: 8278948: compiler/vectorapi/reshape/TestVectorCastAVX1.java crashes in assembler
  • eee17fb: 8265317: [vector] assert(payload->is_object()) failed: expected 'object' value for scalar-replaced boxed vector but got: NULL
  • f820a3c: 8278966: two microbenchmarks tests fail "assert(!jvms->method()->has_exception_handlers()) failed: no exception handler expected" after JDK-8275638
  • a8775f1: 8275638: GraphKit::combine_exception_states fails with "matching stack sizes" assert
  • ff1ef50: 8273056: java.util.random does not correctly sample exponential or Gaussian distributions
  • e2103de: 8276990: Memory leak in invoker.c fillInvokeRequest() during JDI operations

Please see this link for an up-to-date comparison between the source branch of this pull request and the master branch.
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.

As you do not have Committer status in this project an existing Committer must agree to sponsor your change.

➡️ To flag this PR as ready for integration with the above commit message, type /integrate in a new comment. (Afterwards, your sponsor types /sponsor in a new comment to perform the integration).

@openjdk openjdk bot added ready rfr labels Mar 8, 2022
@mlbridge
Copy link

@mlbridge mlbridge bot commented Mar 8, 2022

Webrevs

@andrew-m-leonard
Copy link
Author

@andrew-m-leonard andrew-m-leonard commented Mar 9, 2022

/integrate

@openjdk openjdk bot added the sponsor label Mar 9, 2022
@openjdk
Copy link

@openjdk openjdk bot commented Mar 9, 2022

@andrew-m-leonard
Your change (at version 42d421c) is now ready to be sponsored by a Committer.

@gnu-andrew
Copy link
Member

@gnu-andrew gnu-andrew commented Mar 9, 2022

Looks good. Thanks.

@gnu-andrew
Copy link
Member

@gnu-andrew gnu-andrew commented Mar 9, 2022

/sponsor

@openjdk
Copy link

@openjdk openjdk bot commented Mar 9, 2022

Going to push as commit 0d933c9.
Since your change was applied there have been 9 commits pushed to the master branch:

  • 673c585: 8279182: MakeZipReproducible ZipEntry timestamps not localized to UTC
  • 11a5bbd: 8270468: TestRangeCheckEliminated fails because methods are not compiled
  • a946f04: 8269129: Multiple tier1 tests in hotspot/jtreg/compiler are failing for client VMs
  • a15455f: 8278948: compiler/vectorapi/reshape/TestVectorCastAVX1.java crashes in assembler
  • eee17fb: 8265317: [vector] assert(payload->is_object()) failed: expected 'object' value for scalar-replaced boxed vector but got: NULL
  • f820a3c: 8278966: two microbenchmarks tests fail "assert(!jvms->method()->has_exception_handlers()) failed: no exception handler expected" after JDK-8275638
  • a8775f1: 8275638: GraphKit::combine_exception_states fails with "matching stack sizes" assert
  • ff1ef50: 8273056: java.util.random does not correctly sample exponential or Gaussian distributions
  • e2103de: 8276990: Memory leak in invoker.c fillInvokeRequest() during JDI operations

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated label Mar 9, 2022
@openjdk openjdk bot closed this Mar 9, 2022
@openjdk openjdk bot removed ready rfr sponsor labels Mar 9, 2022
@openjdk
Copy link

@openjdk openjdk bot commented Mar 9, 2022

@gnu-andrew @andrew-m-leonard Pushed as commit 0d933c9.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

@andrew-m-leonard
Copy link
Author

@andrew-m-leonard andrew-m-leonard commented Mar 9, 2022

@gnu-andrew thank you Andrew

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport clean integrated
2 participants