Summary
Point the source-repository head stanza at main. It still names develop,
a branch that no longer exists, and the stale value is already published.
Motivation
collection-json.cabal:33-36:
source-repository head
type: git
location: https://github.com/alunduil/collection-json.hs
branch: develop
#82 renamed develop to main and retired master but missed the cabal file.
gh api repos/:owner/:repo/branches now lists main and no develop.
This is not just cosmetic drift in the working tree — the stanza ships in the
sdist, renders on the Hackage page, and drives cabal get -s, which is broken
against the currently published version:
$ cabal get -s collection-json-1.3.1.3
Cloning into 'collection-json'...
fatal: Remote branch develop not found in upstream origin
Failed to fetch the source repository for package collection-json-1.3.1.3,
repository location https://github.com/alunduil/collection-json.hs
(git failed with ExitFailure 128).
The published 1.3.1.3 cabal file carries the same branch: develop, so this
regressed the moment the branch was renamed rather than at any upload. Anyone
reaching for the sources through cabal today hits it.
Scope
- Change
branch: develop to branch: main in collection-json.cabal.
Acceptance criteria
Additional context
Summary
Point the
source-repository headstanza atmain. It still namesdevelop,a branch that no longer exists, and the stale value is already published.
Motivation
collection-json.cabal:33-36:#82 renamed
developtomainand retiredmasterbut missed the cabal file.gh api repos/:owner/:repo/branchesnow listsmainand nodevelop.This is not just cosmetic drift in the working tree — the stanza ships in the
sdist, renders on the Hackage page, and drives
cabal get -s, which is brokenagainst the currently published version:
The published 1.3.1.3 cabal file carries the same
branch: develop, so thisregressed the moment the branch was renamed rather than at any upload. Anyone
reaching for the sources through cabal today hits it.
Scope
branch: developtobranch: mainincollection-json.cabal.Acceptance criteria
source-repository headnames a branch that exists on the remote.cabal checkstays clean.cabal get -sresolves against the sdist built from this tree.Additional context
develop→mainand retiremaster#82.than the second one carrying it.