Feature proposal: Optionally exclude some or all tags from repo mirroring
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Proposal
Gitlab makes it easy to mirror a repo to a remote location. It pushes:
- all branches or only protected branches (choosable)
- all tags (not choosable)
When pushing protected branches only, we may want to not push tags pointing non-protected branches content. Such feature can be seen as privacy helpful.
Another way to achieve the same result may be a choice about tag mirroring (all/annotated only/none) since one can carefully create lightweight tags when he/she doesn't want it to be mirrored but this would be more error prone and unfriendly for large histories.
At the end, choices about tags to mirror would be great among (all/all-annotated/reachable/reachable-annotated/none) in my opinion.
As a matter of context, I reached this issue on a repository with split history, trying to push-mirror only the new main branch and not the disconnected legacy master branch.