Introduce a commercial license option alongside AGPL-3.0-only, require a CLA for contributors, and document the terms in COMMERCIAL.md and NOTICE. Add a script to stamp SPDX headers on Go files and apply it across the tree.
16 lines
656 B
Go
16 lines
656 B
Go
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial
|
|
// SPDX-FileCopyrightText: 2025-2026 Christian Galo
|
|
|
|
package workflows
|
|
|
|
// Test bridges: the tx-bound logic functions are package-private, but the
|
|
// DB-backed tests must live in an external test package (workflows_test) —
|
|
// an in-package test file would import internal/migrate, whose registry
|
|
// walk imports the discourse adapter, which imports this package: an
|
|
// import cycle that exists only in the test binary. See findings.md #5.
|
|
var (
|
|
ConvergeGroupForTest = convergeGroup
|
|
LinkEntitledPersonsForTest = linkEntitledPersons
|
|
ReconcilePersonForTest = reconcilePerson
|
|
)
|