Cannot configure cgit to use custom notes refs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
New
|
Undecided
|
Unassigned |
Bug Description
git-ubuntu is using git-notes to publish the debian/changelog entry associated with individual synthesized commits, which we'd like to see appear in Launchpad's cgit view against those commits.
This works if we push to the default notes ref of refs/notes/commits, but this ref is likely to collide with users' possible own use of git-notes. It would be better for us to use a unique notes ref dedicated for this information. We've selected refs/notes/
As a workaround, I am having the importer push to "refs/notes/
To configure this in cgit, I believe that we need to set "notes.displayRef" (to refs/notes/
Also see LP: #1633114 which discusses more rationale on the git-ubuntu side.
I don't currently see any urgency to fix this. It just leaves a wart on the importer fetch and push refspecs in the meantime.