ALT Linux Bugzilla – #30718
gitery doesn't allow to store topgit branches
Last modified: 2017-10-29 05:17:44
You need to
before you can comment on or make changes to this bug.
There is a quite well-known and convenient tool for managing interdependent
patches in Git branches -- topgit. (With respect to gear and packaging, I've
written down some notes: http://www.altlinux.org/Git/MergingBranches#topgit .
It would be nice to manage the patches that get into the packages as topgit
branches, and for maintainers to collectively work on them, and to communicate
with upstream using topgit branches and generated patches.)
Unfortunately, girar doesn't allow to store the refs used by topgit:
~/TOOLS/topgit/topgit.gear $ tg remote imz@ALT
tg: Remote imz@ALT can now follow TopGit topic branches.
tg: Next, do: git fetch imz@ALT
~/TOOLS/topgit/topgit.gear $ git fetch imz@ALT
~/TOOLS/topgit/topgit.gear $ tg push -r imz@ALT
Counting objects: 13, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (12/12), done.
Writing objects: 100% (13/13), 2.60 KiB | 0 bytes/s, done.
Total 13 (delta 6), reused 0 (delta 0)
remote: girar-update: Unrecognized ref name: refs/top-bases/tg_rename
remote: error: hook declined to update refs/top-bases/tg_rename
remote: girar-sendmail: email notification about `refs/heads/tg_rename' update
remote: Repacking repository... done
remote: Updating committer date cache... done
* [new branch] tg_rename -> tg_rename
! [remote rejected] refs/top-bases/tg_rename -> refs/top-bases/tg_rename (hook
error: failed to push some refs to 'git.alt:packages/topgit.git'
Well, there is an idea for a workaround when using topgit with gear: store
special refs not as refs, but as gear-tags (which is of course necessary for
building the package with gear, as described in
Then topgit should be taught to populate its special refs from gear-tags, and
then repos kept at git.alt would be suitable for topgit-based workflows.
(В ответ на комментарий №1)
> Well, there is an idea for a workaround when using topgit with gear: store
> special refs not as refs, but as gear-tags
> Then topgit should be taught to populate its special refs from gear-tags, and
> then repos kept at git.alt would be suitable for topgit-based workflows.