(d)push tags

Asked by ChriS on 2012-08-24

It seems that bzr-git does not push tags. I'd like to know if/when it is planned to be supported by bzr-git.
My main motivation is that tags are used by github—on which I collaborate with git fans on several projects—to release tarballs,

Question information

Language:
English Edit question
Status:
Solved
For:
Bazaar Git Plugin Edit question
Assignee:
No assignee Edit question
Solved by:
ChriS
Solved:
2012-08-26
Last query:
2012-08-26
Last reply:
2012-08-26
Jelmer Vernooij (jelmer) said : #1

I've linked the relevant bug report.

ChriS (christophe-troestler) said : #2

Thanks. The bug is currently "Unassigned". Does it mean nobody is working on it?

Jelmer Vernooij (jelmer) said : #3

Yes, nobody is actively working on it at the moment. If you're interested in hacking on it, we should be able to provide some guidance.

ChriS (christophe-troestler) said : #4

I have very little time but could you at least provide some pointers to the relevant material so I can judge how much time it would take (and learn the perquisites at my own speed).

Jelmer Vernooij (jelmer) said : #5

On Sat, Aug 25, 2012 at 11:11:16PM -0000, ChriS wrote:
> Question #206703 on Bazaar Git Plugin changed:
> https://answers.launchpad.net/bzr-git/+question/206703
>
> ChriS posted a new comment:
> I have very little time but could you at least provide some pointers to
> the relevant material so I can judge how much time it would take (and
> learn the perquisites at my own speed).

Actually, it is possible to fetch tags (just remembered now looking at
the code). Set "branch.fetch_tags=True" in the configuration. Fetching
these tags also implies fetching all data associated with them, which
can be quite a lot in large, diverged, repositories. This is why that
option is disable by default.

Ideally bzr-git should only be fetching those tags that are related to
the branch that's being fetched. See the FIXME in branch.py:1031

Cheers,

Jelmer

ChriS (christophe-troestler) said : #6

Despite its name, it pushes tags too! Very cool!

Thanks for the description about the possible issue.