97a0c7e508
test / test (push) Has been cancelled
IBM Plex WOFF2 files were shipped without the SIL OFL 1.1 text, NOTICE told modifiers to edit layout.html for a Source URL that lives in legal.go, and workflow_dispatch took GITHUB_REF_NAME as the version so a run from main would publish ghcr.io/...:main. Closes P5 of docs/plans/code-review.md. CHANGELOG updated. Co-Authored-By: Cursor Grok 4.6 <noreply@anthropic.com> Co-authored-by: Cursor <cursoragent@cursor.com>
24 lines
849 B
Go
24 lines
849 B
Go
// Package legal embeds SelfPost's AGPL-3.0 licence text so the panel can
|
|
// serve it at /license (Appropriate Legal Notices) without depending on
|
|
// GitHub or a file on disk at runtime.
|
|
//
|
|
// The copy in this directory must stay identical to the repository-root
|
|
// LICENSE; license_test.go enforces that.
|
|
package legal
|
|
|
|
import (
|
|
_ "embed"
|
|
)
|
|
|
|
//go:embed LICENSE
|
|
var License []byte
|
|
|
|
// SourceURL is where Corresponding Source for the published upstream
|
|
// releases lives. It is injected into the panel footer by view.go.
|
|
// Operators who ship a modified version must change this constant so the
|
|
// footer points at their own sources (NOTICE; AGPL-3.0 §13).
|
|
const SourceURL = "https://github.com/mixeme/selfpost"
|
|
|
|
// CopyrightLine is the short copyright notice shown in the panel footer.
|
|
const CopyrightLine = "Copyright © 2026 Mikhail Yenuchenko"
|