summaryrefslogtreecommitdiff
path: root/share/etc/cgitrc
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-06-05 15:32:57 +0100
committerBaserock Gerrit <gerrit@baserock.org>2015-11-19 15:05:45 +0000
commitd83ffbf8aa6fa7cb3a8c50b03b77d0c09a88ed04 (patch)
treea08d3068bfffda9ab0b1d85c95ff43a071ebc7a7 /share/etc/cgitrc
parent1ca53f11d302a7db3ef53e09ba7c259689a9cb83 (diff)
downloadtrove-setup-d83ffbf8aa6fa7cb3a8c50b03b77d0c09a88ed04.tar.gz
Allow tags to be pushed to the trove's own namespace in mirrored repos
Previously, when Trove mirrored an upstream repo, it would allow users to push branches as long as they started with the trove-id. The intention is to keep local changes in a separate namespace that can co-exist with whatever branches the upstream repo has. This patch extends this to tags, so that users can push tags to refs/tags/{{ trove-id}}/whatever. This is necessary for the `morph anchor` command to work as expected when the 'ref' fields of some definitions point to tag objects. Git itself prevents pushing tags to 'refs/heads/...' so `morph anchor` must be configured to push them to 'refs/tags/...'. Without this patch, Gitano will prevent that as well, but with this patch, `morph anchor` should be usable. Repos in the Trove's own prefix (such as the baserock/ repos on git.baserock.org, or the foo-trove/ repos on a Trove with trove ID 'foo-trove') are the only ones not considered to be mirrors, and users can already push branches and tags wherever they want to in these repos. Change-Id: I06496ea6c5c57d3fae7e5750cf51e31bbd16d8d2
Diffstat (limited to 'share/etc/cgitrc')
0 files changed, 0 insertions, 0 deletions