#4249 Git tags not propagated to forks with TemporaryClone usage
Closed: Fixed by pingou. Opened by bkabrda.

I've just noticed that git tags don't get propagated to forks when using TemporaryClone. This is because the push method does only git push without taking care of tags. I think it should be safe to just add --follow-tags as argument to the git push invocation, but I'd like someone to provide another opinion on this.


Just for some more context, you're facing the issue when adding a git tag or trying to access it?
Is it an issue in pagure or ?

So steps to reproduce are:

  • Create a repository in Pagure
  • Push some commits to a branch, one of the commits having a tag
  • Fork the repository
    => The tag is not present in the fork (can't be seen through UI or listed in cloned fork)

See e.g.
https://stg.pagure.io/myowntest/commits/master
https://stg.pagure.io/fork/bkabrda/myowntest/commits/master
- commit 0e3c07e is not tagged in the fork, even though it was tagged in the project before the fork was created.

Metadata Update from @pingou:
- Issue set to the milestone: 5.5

Metadata Update from @pingou:
- Issue assigned to bkabrda

Fixed by @bkabrda in https://pagure.io/pagure/pull-request/4264

Thanks! :)

Metadata Update from @pingou:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Metadata