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
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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 ----
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user