first commit
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
# ADR-0012: Apache-2.0 license; no AGPL hard dependencies
|
||||
|
||||
- **Status:** Accepted
|
||||
- **Date:** 2026-07-30
|
||||
|
||||
## Context
|
||||
|
||||
Holesail (ideal TCP tunnel) is AGPL-3.0. PearDock aligns AGPL with Holesail. Flying Jib targets Holepunch-friendly **Apache-2.0** distribution and contribution.
|
||||
|
||||
## Decision
|
||||
|
||||
1. Project license: **Apache-2.0**.
|
||||
2. Do **not** add AGPL packages (including `holesail`) as runtime hard dependencies.
|
||||
3. Reimplement needed tunnel behavior with HyperDHT under Apache-2.0 (ADR-0006).
|
||||
4. Any future AGPL exception requires a superseding ADR and explicit owner approval.
|
||||
|
||||
## Consequences
|
||||
|
||||
### Positive
|
||||
|
||||
- Clear contribution and redistribution story
|
||||
- Aligns with most Holepunch modules
|
||||
|
||||
### Negative / tradeoffs
|
||||
|
||||
- Cannot drop in holesail; must maintain thin tunnel code
|
||||
- Must watch transitive licenses (Prismarine is generally permissive — verify on install)
|
||||
|
||||
### Follow-ups
|
||||
|
||||
- [ ] Phase 5 optional license CI check
|
||||
- [ ] SBOM note when packaging
|
||||
Reference in New Issue
Block a user