Skip to content

BSD license#128

Merged
TcM1911 merged 10 commits into
developfrom
bsd-license
Jun 20, 2026
Merged

BSD license#128
TcM1911 merged 10 commits into
developfrom
bsd-license

Conversation

@TcM1911

@TcM1911 TcM1911 commented May 11, 2026

Copy link
Copy Markdown
Member

Changes

  • Change the copyright header to BSD.
  • Gate the AGPL code behind a build tag.
  • Add workflow to test both the BSD and the AGPL build.
  • Updated README with license information.
  • Changed the license file in the repo.

Closes #115.

TcM1911 added 5 commits May 11, 2026 19:08
Adds build tags and platform-specific logic to handle both
AGPL-licensed and BSD-licensed versions of the library.

This introduces file separations for the two license types
and updates build logic accordingly.
Replaces old GNU/GPL license blocks with a standard BSD-style
license header in the generated template constants.
Adjusted formatting and added sections for licensing and deprecation
notices to the README.md file.
@TcM1911 TcM1911 requested a review from Zxilly May 11, 2026 18:18
@TcM1911 TcM1911 mentioned this pull request May 11, 2026
10 tasks
@Zxilly

Zxilly commented May 11, 2026

Copy link
Copy Markdown
Collaborator

Perhaps it would be better to provide a bsd tag to allow users to retrieve only code that complies with the BSD license? This would minimize disruption to downstream projects; if they are already using the gore library, they have already agreed to the AGPL terms and would not need to make any adjustments for this change.

@TcM1911

TcM1911 commented May 11, 2026

Copy link
Copy Markdown
Member Author

Perhaps it would be better to provide a bsd tag to allow users to retrieve only code that complies with the BSD license? This would minimize disruption to downstream projects; if they are already using the gore library, they have already agreed to the AGPL terms and would not need to make any adjustments for this change.

I'll invert the implementation.

TcM1911 added 2 commits May 11, 2026 21:36
Switches testing and licensing logic to properly support BSD and AGPL
build tags across multiple files.

This includes:
- Updating the workflow to test against BSD tags.
- Creating `LICENSE.bsd` for BSD licensing.
- Updating various files (`dwarf.go`, `goroot.go`, etc.) to use
  appropriate build tags, allowing them to be selected based on the
  target Go dialect (AGPL or BSD).
- Updating the `README.md`.
@TcM1911

TcM1911 commented May 11, 2026

Copy link
Copy Markdown
Member Author

I've switched it to the way you suggested.

@TcM1911 TcM1911 merged commit f3da533 into develop Jun 20, 2026
3 checks passed
@TcM1911 TcM1911 deleted the bsd-license branch June 20, 2026 12:07
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.

Relicense under BSD

2 participants