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

Open Source #112

Merged
merged 11 commits into from
Feb 12, 2024
Merged

Open Source #112

merged 11 commits into from
Feb 12, 2024

Conversation

BigBlueHat
Copy link
Contributor

These changes effectively open source this project under the
BSD-3-Clause license.

Additionally it follows most of the REUSE v3.0 specification which outlines
how license claims can be made unambiguously for every file.

Happy to discuss the particulars!
🎩

Copy link

codecov bot commented Feb 12, 2024

Codecov Report

Merging #112 (87d6b52) into main (e794160) will increase coverage by 0.23%.
The diff coverage is 100.00%.

❗ Current head 87d6b52 differs from pull request most recent head a66b5e5. Consider uploading reports for the commit a66b5e5 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #112      +/-   ##
==========================================
+ Coverage   80.00%   80.23%   +0.23%     
==========================================
  Files          10       10              
  Lines        1800     1821      +21     
==========================================
+ Hits         1440     1461      +21     
  Misses        360      360              
Files Coverage Δ
lib/config.js 100.00% <100.00%> (ø)
lib/configUtil.js 100.00% <100.00%> (ø)
lib/events.js 78.57% <100.00%> (+1.64%) ⬆️
lib/helpers.js 71.42% <100.00%> (+1.05%) ⬆️
lib/index.js 68.81% <100.00%> (+0.08%) ⬆️
lib/loggers/WorkerTransport.js 89.58% <100.00%> (+0.45%) ⬆️
lib/loggers/fileLogger.js 80.39% <100.00%> (+0.39%) ⬆️
lib/loggers/formatters.js 66.01% <100.00%> (+0.67%) ⬆️
lib/loggers/index.js 89.42% <100.00%> (+0.10%) ⬆️
lib/util.js 94.17% <100.00%> (+0.11%) ⬆️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e794160...a66b5e5. Read the comment docs.

Copy link
Member

@dlongley dlongley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! @davidlehn, this look right to you?

* Copyright (c) 2012-2022 Digital Bazaar, Inc. All rights reserved.
* Copyright (c) 2012-2024 Digital Bazaar, Inc.
*
* SPDX-License-Identifier: BSD-3-Clause
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bummer that we need this in every file.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is an alternative for spelling out copyright in a .reuse/dep5 file--which I've added for formats where comments are cumbersome/odd (Markdown uses HTML comments) or not available (.json): 45a2af2

The more explicit we are, the less confusion the could/would be when we include any outside contribution, file, or directory (which would contain it's own copyright info).

The wildcard approach of a single LICENSE file just isn't as clear.

lib/index.js Outdated Show resolved Hide resolved
lib/util.js Outdated Show resolved Hide resolved
lib/worker.js Outdated Show resolved Hide resolved
test/test.js Show resolved Hide resolved
@dlongley dlongley requested a review from davidlehn February 12, 2024 20:10
@dlongley
Copy link
Member

Oh, we need a changelog entry as well, with a minor release bump, I think. We could also bump the node version to 18+ while we're at it.

This includes explicit reference to each file which currently lack (or
cannot themselves contain) a license comment preamble. This is primarily
to avoid the addition of several `.license` files per licensable file.
@BigBlueHat BigBlueHat marked this pull request as ready for review February 12, 2024 20:16
@BigBlueHat
Copy link
Contributor Author

BigBlueHat commented Feb 12, 2024

Oh, we need a changelog entry as well, with a minor release bump, I think. We could also bump the node version to 18+ while we're at it.

Do you want those Node version bumps (in package.json and the workflow) done in a separate PR?

The workflow actions also need version bumps...

@BigBlueHat
Copy link
Contributor Author

This PR properly licenses every file in this repo (per the RESUE standard as examined by the reuse tool:

# SUMMARY

* Bad licenses: 0
* Deprecated licenses: 0
* Licenses without file extension: 0
* Missing licenses: 0
* Unused licenses: 0
* Used licenses: BSD-3-Clause
* Read errors: 0
* files with copyright information: 29 / 29
* files with license information: 29 / 29

Congratulations! Your project is compliant with version 3.0 of the REUSE Specification :-)

@dlongley
Copy link
Member

Oh, we need a changelog entry as well, with a minor release bump, I think. We could also bump the node version to 18+ while we're at it.

Do you want those Node version bumps (in package.json and the workflow) done in a separate PR?

The workflow actions also need version bumps...

They can be done here, that's fine -- another PR is also fine, your call.

@dlongley
Copy link
Member

We still need a CHANGELOG entry here with the license update -- and the README mentions the license in it ... that might need an update.

@BigBlueHat
Copy link
Contributor Author

We still need a CHANGELOG entry here with the license update -- and the README mentions the license in it ... that might need an update.

My bad! I'd thought I'd committed and pushed that...but wandered off to do the node stuff. Sorry about that.

Copy link
Member

@dlongley dlongley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See couple of suggestions and then we're good.

Bedrock Non-Commercial License v1.0
===================================

Copyright (c) 2011-2021 Digital Bazaar, Inc.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Copyright (c) 2011-2021 Digital Bazaar, Inc.
Copyright (c) 2011-2024 Digital Bazaar, Inc.

package.json Outdated
@@ -43,7 +43,7 @@
"jsdoc-to-markdown": "^7.1.1"
},
"engines": {
"node": ">=14"
"node": ">=20"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

18 is still being maintained so we can include that here.

Suggested change
"node": ">=20"
"node": ">=18"

@@ -2,6 +2,7 @@

## 6.0.2 - xxxx-xx-xx
- Open Source under BSD-3-Clause license.
- Bump Node.js versions to 20.x (current LTS).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Bump Node.js versions to 20.x (current LTS).
- Bump Node.js versions to 18.x (LTS).

@dlongley dlongley merged commit a956b81 into main Feb 12, 2024
3 of 4 checks passed
@dlongley dlongley deleted the open-source branch February 12, 2024 22:23
@dlongley dlongley mentioned this pull request Feb 12, 2024
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.

2 participants