RFC: Relicensing Pigsty — Apache 2.0 with AGPL modules #660
Vonng
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I'm considering a change to Pigsty's licensing model and would like to gather community feedback before moving forward.
Background
Pigsty was originally licensed under Apache 2.0 (v1.x and v2.x). When v3.0 was released, we switched to AGPLv3 primarily due to dependencies on AGPL-licensed components like Grafana, Loki, and MinIO.
However, many users only need the database modules (PGSQL, ETCD, NODE, DOCKER) without the full monitoring stack. For these use cases, the AGPL license creates unnecessary friction — especially for enterprises with strict license compliance policies.
Proposal
I'm considering a modular licensing approach:
How it works:
This is a common pattern in the open-source world and is fully compatible since Apache 2.0 code can be included in AGPL projects.
Why this change?
What stays the same?
Contributor Consent
Since Pigsty was Apache 2.0 before v3.0, relicensing the core modules back to Apache 2.0 should be straightforward for the majority of the codebase.
That said, I want to be transparent and respectful to everyone who has contributed during the v3.x era under AGPLv3. If you have contributed code to Pigsty since v3.0, please let me know if you have any objections to this relicensing. Your contributions remain valued, and I won't proceed without community consensus.
Questions for the community
I'll keep this discussion open for a reasonable period before making any changes. Looking forward to your thoughts.
Beta Was this translation helpful? Give feedback.
All reactions