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.
25 lines
916 B
Go
25 lines
916 B
Go
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial
|
|
// SPDX-FileCopyrightText: 2025-2026 Christian Galo
|
|
|
|
package integrations
|
|
|
|
import (
|
|
"git.coopcloud.tech/wiki-cafe/member-console/internal/integrations/discourse"
|
|
"git.coopcloud.tech/wiki-cafe/member-console/internal/integrations/fedwiki"
|
|
"git.coopcloud.tech/wiki-cafe/member-console/internal/integrations/stripe"
|
|
)
|
|
|
|
// All returns every registered integration. Adding an integration means
|
|
// adding one tree plus one element here — nothing else in this package
|
|
// changes. Core's migration source always runs first (see
|
|
// internal/db.BaseSources / internal/migrate); the relative order of the
|
|
// integrations below is insignificant — each runs against its own
|
|
// migration ledger and there are no integration-to-integration FK edges.
|
|
func All() []Integration {
|
|
return []Integration{
|
|
fedwiki.New(),
|
|
stripe.New(),
|
|
discourse.New(),
|
|
}
|
|
}
|