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>
26 lines
946 B
Go
26 lines
946 B
Go
package api
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/Fabled-Sword/minstrel/internal/apierror"
|
|
)
|
|
|
|
// handleResearchMissingArt bumps the cover-art version unconditionally
|
|
// so every 'none' row becomes eligible at the next enrichment pass.
|
|
// Operator's escape hatch when adding a Last.fm key, when an upstream
|
|
// provider's catalog has updated, or when verifying a fix without
|
|
// waiting for the next scheduled scan.
|
|
//
|
|
// Existing positively-sourced rows (sidecar/embedded/mbcaa/theaudiodb/
|
|
// deezer/lastfm) are not affected — the version-mismatch eligibility
|
|
// rule only kicks in for 'none'.
|
|
func (h *handlers) handleResearchMissingArt(w http.ResponseWriter, r *http.Request) {
|
|
newVer, err := h.coverSettings.BumpVersion(r.Context())
|
|
if err != nil {
|
|
writeErrWithLog(w, h.logger, "admin: research missing art bump failed", apierror.InternalMsg("bump failed", err))
|
|
return
|
|
}
|
|
writeJSON(w, http.StatusOK, map[string]any{"version": newVer})
|
|
}
|