chore(release): everything that ships points at GitHub and GHCR (#7897)
release / go (push) Successful in 2m7s
release / web (push) Successful in 1m25s
release / govulncheck (push) Successful in 21s
release / integration (push) Successful in 4m30s
release / android (push) Successful in 4m39s
release / Build signed APK (push) Successful in 5m10s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Successful in 29s
release / Verify release artifacts (tag releases only) (push) Skipped

- Module path: github.com/Fabled-Sword/minstrel, in go.mod, every
  import and the Dockerfile's version ldflags.
- buildinfo.ProjectURL, the contact outside services see in Minstrel's
  User-Agent: https://github.com/Fabled-Sword/minstrel.
- README's compose example pulls ghcr.io/fabled-sword/minstrel:latest.
- docs/security.md sends problem reports to the GitHub issues.
- The demo-library stack builds Minstrel from the checkout, since :dev
  is not published to GHCR.
- hygiene.go's same-site example uses example.com names.

The workbench CI (.gitea/, ci/, export-ignored) still builds and
publishes :dev to the private registry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-28 19:28:16 -05:00
co-authored by Claude Opus 5.5
parent 18efd01eaa
commit e1f270362d
363 changed files with 826 additions and 822 deletions
+2 -2
View File
@@ -12,8 +12,8 @@ import (
"github.com/jackc/pgx/v5/pgtype"
"github.com/jackc/pgx/v5/pgxpool"
"git.fabledsword.com/bvandeusen/minstrel/internal/db/dbq"
"git.fabledsword.com/bvandeusen/minstrel/internal/dbtest"
"github.com/Fabled-Sword/minstrel/internal/db/dbq"
"github.com/Fabled-Sword/minstrel/internal/dbtest"
)
// playHistoryFixture is a library of single-track albums and a listener
+3 -3
View File
@@ -15,9 +15,9 @@ import (
"github.com/jackc/pgx/v5"
"github.com/jackc/pgx/v5/pgxpool"
"git.fabledsword.com/bvandeusen/minstrel/internal/auth"
"git.fabledsword.com/bvandeusen/minstrel/internal/db/dbq"
"git.fabledsword.com/bvandeusen/minstrel/internal/secret"
"github.com/Fabled-Sword/minstrel/internal/auth"
"github.com/Fabled-Sword/minstrel/internal/db/dbq"
"github.com/Fabled-Sword/minstrel/internal/secret"
)
// Config controls wire-format concessions the server makes for Subsonic
+2 -2
View File
@@ -11,8 +11,8 @@ import (
"github.com/jackc/pgx/v5/pgtype"
"github.com/jackc/pgx/v5/pgxpool"
"git.fabledsword.com/bvandeusen/minstrel/internal/db"
"git.fabledsword.com/bvandeusen/minstrel/internal/db/dbq"
"github.com/Fabled-Sword/minstrel/internal/db"
"github.com/Fabled-Sword/minstrel/internal/db/dbq"
)
// browseHandlers carries the shared pgxpool used by every browse endpoint.
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"net/http"
"strings"
"git.fabledsword.com/bvandeusen/minstrel/internal/buildinfo"
"github.com/Fabled-Sword/minstrel/internal/buildinfo"
)
// APIVersion is the Subsonic REST version we advertise. 1.16.1 is the last
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"github.com/jackc/pgx/v5"
"github.com/jackc/pgx/v5/pgtype"
"git.fabledsword.com/bvandeusen/minstrel/internal/db/dbq"
"github.com/Fabled-Sword/minstrel/internal/db/dbq"
)
// Folder browsing is the older half of the Subsonic API, which apps such as
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"net/http"
"strings"
"git.fabledsword.com/bvandeusen/minstrel/internal/db/dbq"
"github.com/Fabled-Sword/minstrel/internal/db/dbq"
)
// Genre is one entry of getGenres. In XML the name is the element's text.
+2 -2
View File
@@ -7,8 +7,8 @@ import (
"net/http/httptest"
"testing"
"git.fabledsword.com/bvandeusen/minstrel/internal/db/dbq"
"git.fabledsword.com/bvandeusen/minstrel/internal/dbtest"
"github.com/Fabled-Sword/minstrel/internal/db/dbq"
"github.com/Fabled-Sword/minstrel/internal/dbtest"
)
// A compilation's songs are credited to their own performers, as Subsonic
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"github.com/jackc/pgx/v5"
"github.com/jackc/pgx/v5/pgtype"
"git.fabledsword.com/bvandeusen/minstrel/internal/db/dbq"
"github.com/Fabled-Sword/minstrel/internal/db/dbq"
)
// Artist and album info is what Minstrel knows beyond the tags: the
+1 -1
View File
@@ -10,7 +10,7 @@ import (
"strings"
"testing"
"git.fabledsword.com/bvandeusen/minstrel/internal/db/dbq"
"github.com/Fabled-Sword/minstrel/internal/db/dbq"
)
func starts(l songLyrics) []int64 {
+3 -3
View File
@@ -13,9 +13,9 @@ import (
"github.com/jackc/pgx/v5"
"git.fabledsword.com/bvandeusen/minstrel/internal/db"
"git.fabledsword.com/bvandeusen/minstrel/internal/db/dbq"
"git.fabledsword.com/bvandeusen/minstrel/internal/tagread"
"github.com/Fabled-Sword/minstrel/internal/db"
"github.com/Fabled-Sword/minstrel/internal/db/dbq"
"github.com/Fabled-Sword/minstrel/internal/tagread"
)
// Lyrics are read from the music files when an app asks, not stored: a .lrc
+3 -3
View File
@@ -12,9 +12,9 @@ import (
"github.com/jackc/pgx/v5/pgtype"
"github.com/jackc/pgx/v5/pgxpool"
"git.fabledsword.com/bvandeusen/minstrel/internal/db/dbq"
"git.fabledsword.com/bvandeusen/minstrel/internal/playlists"
"git.fabledsword.com/bvandeusen/minstrel/internal/recommendation"
"github.com/Fabled-Sword/minstrel/internal/db/dbq"
"github.com/Fabled-Sword/minstrel/internal/playlists"
"github.com/Fabled-Sword/minstrel/internal/recommendation"
)
// pickHandlers serve what Minstrel chooses for the listener: their playlists
+4 -4
View File
@@ -15,10 +15,10 @@ import (
"github.com/jackc/pgx/v5/pgtype"
"github.com/jackc/pgx/v5/pgxpool"
"git.fabledsword.com/bvandeusen/minstrel/internal/db/dbq"
"git.fabledsword.com/bvandeusen/minstrel/internal/dbtest"
"git.fabledsword.com/bvandeusen/minstrel/internal/playlists"
"git.fabledsword.com/bvandeusen/minstrel/internal/recsettings"
"github.com/Fabled-Sword/minstrel/internal/db/dbq"
"github.com/Fabled-Sword/minstrel/internal/dbtest"
"github.com/Fabled-Sword/minstrel/internal/playlists"
"github.com/Fabled-Sword/minstrel/internal/recsettings"
)
func TestHasGenre_SplitsTheTagLikeByGenre(t *testing.T) {
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"github.com/jackc/pgx/v5"
"github.com/jackc/pgx/v5/pgtype"
"git.fabledsword.com/bvandeusen/minstrel/internal/db/dbq"
"github.com/Fabled-Sword/minstrel/internal/db/dbq"
)
// mixRecallFor is how long after an app opens a daily mix its plays are
+2 -2
View File
@@ -9,8 +9,8 @@ import (
"github.com/jackc/pgx/v5/pgtype"
"git.fabledsword.com/bvandeusen/minstrel/internal/playevents"
"git.fabledsword.com/bvandeusen/minstrel/internal/playlists"
"github.com/Fabled-Sword/minstrel/internal/playevents"
"github.com/Fabled-Sword/minstrel/internal/playlists"
)
// An app that has opened a daily mix is credited with it only for a while,
+2 -2
View File
@@ -9,8 +9,8 @@ import (
"github.com/jackc/pgx/v5/pgtype"
"git.fabledsword.com/bvandeusen/minstrel/internal/db/dbq"
"git.fabledsword.com/bvandeusen/minstrel/internal/playlists"
"github.com/Fabled-Sword/minstrel/internal/db/dbq"
"github.com/Fabled-Sword/minstrel/internal/playlists"
)
// ---- createPlaylist / updatePlaylist / deletePlaylist ----
+2 -2
View File
@@ -8,8 +8,8 @@ import (
"github.com/jackc/pgx/v5/pgtype"
"git.fabledsword.com/bvandeusen/minstrel/internal/db/dbq"
"git.fabledsword.com/bvandeusen/minstrel/internal/playlists"
"github.com/Fabled-Sword/minstrel/internal/db/dbq"
"github.com/Fabled-Sword/minstrel/internal/playlists"
)
// writeHandlers are the fixture's handlers with a playlist service whose
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"github.com/jackc/pgx/v5"
"github.com/jackc/pgx/v5/pgtype"
"git.fabledsword.com/bvandeusen/minstrel/internal/db/dbq"
"github.com/Fabled-Sword/minstrel/internal/db/dbq"
)
// A Subsonic app saves its play queue (savePlayQueue) so the same app on
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"github.com/jackc/pgx/v5/pgtype"
"git.fabledsword.com/bvandeusen/minstrel/internal/db/dbq"
"github.com/Fabled-Sword/minstrel/internal/db/dbq"
)
// play records plays of a track by a listener, skipped or played through.
+2 -2
View File
@@ -6,8 +6,8 @@ import (
"strings"
"testing"
"git.fabledsword.com/bvandeusen/minstrel/internal/db/dbq"
"git.fabledsword.com/bvandeusen/minstrel/internal/library"
"github.com/Fabled-Sword/minstrel/internal/db/dbq"
"github.com/Fabled-Sword/minstrel/internal/library"
)
// OpenSubsonic's replayGain is an object in JSON and an element with
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"github.com/jackc/pgx/v5"
"git.fabledsword.com/bvandeusen/minstrel/internal/db/dbq"
"github.com/Fabled-Sword/minstrel/internal/db/dbq"
)
// StartScan starts a library scan in the background, the same scan as the
+3 -3
View File
@@ -14,9 +14,9 @@ import (
"github.com/jackc/pgx/v5/pgtype"
"github.com/jackc/pgx/v5/pgxpool"
"git.fabledsword.com/bvandeusen/minstrel/internal/db/dbq"
"git.fabledsword.com/bvandeusen/minstrel/internal/dbtest"
"git.fabledsword.com/bvandeusen/minstrel/internal/playevents"
"github.com/Fabled-Sword/minstrel/internal/db/dbq"
"github.com/Fabled-Sword/minstrel/internal/dbtest"
"github.com/Fabled-Sword/minstrel/internal/playevents"
)
func testScrobblePool(t *testing.T) (*pgxpool.Pool, dbq.User, dbq.Track) {
+3 -3
View File
@@ -10,9 +10,9 @@ import (
"github.com/jackc/pgx/v5"
"github.com/jackc/pgx/v5/pgtype"
"git.fabledsword.com/bvandeusen/minstrel/internal/db/dbq"
"git.fabledsword.com/bvandeusen/minstrel/internal/eventbus"
"git.fabledsword.com/bvandeusen/minstrel/internal/playevents"
"github.com/Fabled-Sword/minstrel/internal/db/dbq"
"github.com/Fabled-Sword/minstrel/internal/eventbus"
"github.com/Fabled-Sword/minstrel/internal/playevents"
)
// handleStar implements /rest/star. Accepts any combination of id (track),
+4 -4
View File
@@ -13,10 +13,10 @@ import (
"github.com/jackc/pgx/v5/pgxpool"
"git.fabledsword.com/bvandeusen/minstrel/internal/db/dbq"
"git.fabledsword.com/bvandeusen/minstrel/internal/dbtest"
"git.fabledsword.com/bvandeusen/minstrel/internal/eventbus"
"git.fabledsword.com/bvandeusen/minstrel/internal/playevents"
"github.com/Fabled-Sword/minstrel/internal/db/dbq"
"github.com/Fabled-Sword/minstrel/internal/dbtest"
"github.com/Fabled-Sword/minstrel/internal/eventbus"
"github.com/Fabled-Sword/minstrel/internal/playevents"
)
func testStarPool(t *testing.T) (*pgxpool.Pool, dbq.User, dbq.Track, dbq.Album, dbq.Artist) {
+4 -4
View File
@@ -16,10 +16,10 @@ import (
"github.com/jackc/pgx/v5/pgtype"
"github.com/jackc/pgx/v5/pgxpool"
"git.fabledsword.com/bvandeusen/minstrel/internal/coverart"
"git.fabledsword.com/bvandeusen/minstrel/internal/db/dbq"
"git.fabledsword.com/bvandeusen/minstrel/internal/eventbus"
"git.fabledsword.com/bvandeusen/minstrel/internal/playevents"
"github.com/Fabled-Sword/minstrel/internal/coverart"
"github.com/Fabled-Sword/minstrel/internal/db/dbq"
"github.com/Fabled-Sword/minstrel/internal/eventbus"
"github.com/Fabled-Sword/minstrel/internal/playevents"
)
// mediaHandlers serves the bytes-on-the-wire endpoints: stream, download,
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"path/filepath"
"testing"
"git.fabledsword.com/bvandeusen/minstrel/internal/coverart"
"github.com/Fabled-Sword/minstrel/internal/coverart"
)
func TestFindSidecarCover(t *testing.T) {
+6 -6
View File
@@ -12,12 +12,12 @@ import (
"github.com/go-chi/chi/v5"
"github.com/jackc/pgx/v5/pgxpool"
"git.fabledsword.com/bvandeusen/minstrel/internal/auth"
"git.fabledsword.com/bvandeusen/minstrel/internal/db/dbq"
"git.fabledsword.com/bvandeusen/minstrel/internal/eventbus"
"git.fabledsword.com/bvandeusen/minstrel/internal/playevents"
"git.fabledsword.com/bvandeusen/minstrel/internal/playlists"
"git.fabledsword.com/bvandeusen/minstrel/internal/recommendation"
"github.com/Fabled-Sword/minstrel/internal/auth"
"github.com/Fabled-Sword/minstrel/internal/db/dbq"
"github.com/Fabled-Sword/minstrel/internal/eventbus"
"github.com/Fabled-Sword/minstrel/internal/playevents"
"github.com/Fabled-Sword/minstrel/internal/playlists"
"github.com/Fabled-Sword/minstrel/internal/recommendation"
)
// Mount attaches Subsonic handlers at /rest on r. Endpoints are exposed at
+3 -3
View File
@@ -8,9 +8,9 @@ import (
"github.com/jackc/pgx/v5/pgtype"
"git.fabledsword.com/bvandeusen/minstrel/internal/db"
"git.fabledsword.com/bvandeusen/minstrel/internal/db/dbq"
"git.fabledsword.com/bvandeusen/minstrel/internal/library"
"github.com/Fabled-Sword/minstrel/internal/db"
"github.com/Fabled-Sword/minstrel/internal/db/dbq"
"github.com/Fabled-Sword/minstrel/internal/library"
)
// IDs on the wire are the bare UUID string. Subsonic endpoints know from
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"github.com/jackc/pgx/v5"
"git.fabledsword.com/bvandeusen/minstrel/internal/db/dbq"
"github.com/Fabled-Sword/minstrel/internal/db/dbq"
)
// UserResponse wraps the User payload Subsonic clients fetch right after
+1 -1
View File
@@ -10,7 +10,7 @@ import (
"github.com/jackc/pgx/v5"
"git.fabledsword.com/bvandeusen/minstrel/internal/db/dbq"
"github.com/Fabled-Sword/minstrel/internal/db/dbq"
)
func TestHandleGetUser_Self(t *testing.T) {