-
Notifications
You must be signed in to change notification settings - Fork 80
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
license: removes copyright year and uses SPDX ID #224
Conversation
As a small project, we have to conserve resources and not sign up for work that isn't required. I've recently realized many commerical and/or CNCF projects both use SPDX IDs and also don't bother with copyright year. If their legal team is ok with this, surely a volunteer team without access to one, should be, too! Doing so accomplishes the following: * significantly increases readability of files, particularly small ones * removes beginning of year maintenance, which cause a lot of FUD last year. IIRC some deployment failed and hours were spent in spite of docs. * eliminates the need to do a full source check out, just to satisfy the license plugin. This means we can use actions/checkout defaults. Same as openzipkin/zipkin-reporter-java#257 Signed-off-by: Adrian Cole <[email protected]>
Signed-off-by: Adrian Cole <[email protected]>
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.
notes
@@ -19,7 +19,6 @@ jobs: | |||
# Prevent use of implicit GitHub Actions read-only token GITHUB_TOKEN. We don't deploy on | |||
# the tag MAJOR.MINOR.PATCH event, but we still need to deploy the maven-release-plugin master commit. | |||
token: ${{ secrets.GH_TOKEN }} | |||
fetch-depth: 1 # only need the HEAD commit as license check isn't run |
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.
default is 1
@@ -22,7 +22,6 @@ jobs: | |||
# Prevent use of implicit GitHub Actions read-only token GITHUB_TOKEN. | |||
# We push Javadocs to the gh-pages branch on commit. | |||
token: ${{ secrets.GH_TOKEN }} | |||
fetch-depth: 0 # allow build-bin/idl_to_gh_pages to get the full history |
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.
copy/pasta for zipkin and not used here
@@ -15,8 +15,6 @@ jobs: | |||
steps: | |||
- name: Checkout Repository | |||
uses: actions/checkout@v4 | |||
with: | |||
fetch-depth: 1 # only needed to get the sha label |
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.
default is 1
@@ -21,8 +21,6 @@ jobs: | |||
steps: | |||
- name: Checkout Repository | |||
uses: actions/checkout@v4 | |||
with: | |||
fetch-depth: 0 # full git history for license check |
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.
no longer needed
@@ -58,8 +56,6 @@ jobs: | |||
steps: | |||
- name: Checkout Repository | |||
uses: actions/checkout@v4 | |||
with: | |||
fetch-depth: 1 # -Dlicense.skip=true, so we don't need a full clone |
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.
default is 1
--- | ||
name: readme_test | ||
name: test_readme |
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.
to match zipkin
runs-on: ubuntu-22.04 # newest available distribution, aka jellyfish | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 1 |
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.
default is 1
Signed-off-by: Adrian Cole <[email protected]>
thanks for the look @reta! |
As a small project, we have to conserve resources and not sign up for work that isn't required. I've recently realized many commerical and/or CNCF projects both use SPDX IDs and also don't bother with copyright year. If their legal team is ok with this, surely a volunteer team without access to one, should be, too! Doing so accomplishes the following:
Same as openzipkin/zipkin-reporter-java#257