Skip to content

Remove the extra "the" from the Contribution definition in LICENSE, so its terms match the Apache License 2.0 word for word (#60) - #62

Merged
thebenignhacker merged 1 commit into
mainfrom
integrate/2026-10-18-r2
Oct 18, 2026
Merged

thebenignhacker merged 1 commit into
mainfrom
integrate/2026-10-18-r2

Conversation

@thebenignhacker

Copy link
Copy Markdown
Member

This pull request lands 1 commit in LICENSE, CHANGELOG.md and cmd/cryptodeps.

Included

Verified on this exact tree

  • go build ./...: exit 0, no output
  • go vet ./...: exit 0, no output
  • golangci-lint run ./... (make lint): golangci-lint 2.12.2 exits 3 with can't load config: unsupported version of the configuration: ""; PRE-EXISTING: the same exit code and error on origin/main (224f6ed), run in a separate worktree
  • golangci-lint run --no-config --new-from-rev=origin/main ./...: 0 issues.
  • go test -p 4 -race -count=1 -json ./...: exit 0; packages: 13 ok, 0 failed, 3 with no test files; top-level tests: 529 passed, 0 failed, 1 skipped (TestIntegration_FetchPyPIPackage: pip not available, skipping test); including subtests: 1628 passed, 0 failed, 1 skipped

Not included

None

Closes

Fixes #60

How to merge

Rebase and merge, so that each change stays its own commit on main.

…o its terms match the Apache License 2.0 word for word (#60)

LICENSE line 51, in the definition of Contribution, read "submitted to
the Licensor for inclusion in the Work by the copyright owner". The
Apache License 2.0 text at https://www.apache.org/licenses/LICENSE-2.0.txt
reads "submitted to Licensor for inclusion in the Work by the copyright
owner" on its line 52. The extra "the" is removed. A diff of that text,
fetched on 2026-10-17, against LICENSE now shows two differences: the
blank first line of the Apache text, and its appendix, in place of which
LICENSE holds the project's copyright line and the notice the appendix
gives.

TestLicenseHoldsTheApacheLicenseTermsWordForWord compares the words of
LICENSE, from its first line through END OF TERMS AND CONDITIONS, with
the same part of cmd/cryptodeps/testdata/apache-license-2.0.txt, a
byte-for-byte copy of that text. Line breaks and indentation are not
compared. Before the change it fails with (path shown from the repository root)

  LICENSE:51 reads "intentionally submitted to the Licensor for inclusion" where the Apache License 2.0 (cmd/cryptodeps/testdata/apache-license-2.0.txt:52) reads "intentionally submitted to Licensor for inclusion in"

and it passes after.

Fixes #60
@thebenignhacker
thebenignhacker merged commit c86d3ce into main Oct 18, 2026
3 checks passed
@thebenignhacker
thebenignhacker deleted the integrate/2026-10-18-r2 branch October 18, 2026 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LICENSE differs from the canonical Apache-2.0 text in the Contribution definition

1 participant