Skip to content

chore(license): switch to Apache 2.0 and credit the original author - #1

Merged
Bugs5382 merged 2 commits into
mainfrom
chore/license-apache2-credit
Oct 16, 2026
Merged

Bugs5382 merged 2 commits into
mainfrom
chore/license-apache2-credit

Conversation

@Bugs5382

@Bugs5382 Bugs5382 commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

What and why

I'm replacing the placeholder MIT scaffold license with the Apache License 2.0 text I use
across the other CryptOS-PKI repos, and crediting the original author the way the other repos
do, before I seed the real site on top of this.

  • LICENSE: verbatim Apache 2.0 text (copied from cryptos-web).
  • NOTICE and AUTHORS: added, crediting @Bugs5382 (https://github.com/Bugs5382) as the original
    author.
  • package.json license field: MIT -> Apache-2.0.
  • .golic.yaml/.licignore/Taskfile.yml/the GoLic workflow: switched from the MIT template
    to the Apache 2.0 one, matching cryptos-web's golic config.
  • Every source file: Apache 2.0 header injected by task license:fix; I also stripped a
    leftover MIT comment block golic left in place in each file (it doesn't recognize an MIT
    header as "already licensed" when told to inject Apache 2.0).
  • README: added an Acknowledgements section crediting the original author, and updated the
    License line.
  • package.json: added the missing @testing-library/dom dev dependency. @testing-library/react
    declares it as a peer dependency; without it the scaffold's placeholder test failed outright
    (Cannot find module '@testing-library/dom') rather than running. Unrelated to the license
    switch, but it was the only thing standing between this PR and green CI.

Verification

  • Lint clean
  • Tests pass
  • Build succeeds
  • Documentation updated (if behavior or API changed)

How this was verified

  • task license (dry run) reports every file already carries the Apache 2.0 header and LICENSE
    is the verbatim text.
  • npm run lint, npm run typecheck, npm run build, npm test all pass.

I'll add a closing comment summarizing what was done before this merges.

Refs #4

Replaces the placeholder MIT license with the Apache License 2.0 text
used across the other CryptOS-PKI repos, adds NOTICE and AUTHORS, and
injects the Apache 2.0 header into every source file via golic.

README gets an Acknowledgements section crediting the original author.

Signed-off-by: Bugs5382 <12115015+Bugs5382@users.noreply.github.com>
@Bugs5382
Bugs5382 marked this pull request as ready for review October 16, 2026 00:37
@github-actions github-actions Bot added the skip-changelog Excluded from release notes (chore/ci/test/style). label Oct 16, 2026
@testing-library/react declares it as a peer dependency; without it,
the scaffold's placeholder test fails with 'Cannot find module
@testing-library/dom' instead of running.

Signed-off-by: Bugs5382 <12115015+Bugs5382@users.noreply.github.com>
@Bugs5382
Bugs5382 merged commit 7098c3a into main Oct 16, 2026
12 checks passed
@Bugs5382
Bugs5382 deleted the chore/license-apache2-credit branch October 16, 2026 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog Excluded from release notes (chore/ci/test/style).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant