-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Monorepo: git tag format #8
Comments
@evertonfraga Great that you've caught that! I would be ok with the first tag name version, so e.g. Would be great if the non-fitting tags are unified as well. |
Ok, reporting my progress on this subject. This is the portion of the migration code that handles tag renaming — strictly speaking, re-tagging with new names. For context: there are two types of Git tags:
The migration handles both cases, keeping the GPG signatures from whoever made them first place. When you head to a repository tags page, the dates shown alongside tags are from the commits the tags points to, so migration-wise the original tag dates will be kept. 👍 |
A downside: GitHub Releases are not So I have two items to deal with:
|
Thanks for the fine-grained work on this. 🙂👍 |
Closed by ethereumjs/ethereumjs-monorepo#561 |
We need a plan for the
git tags
for when we migrate the repos to the monorepo. I see the current standard is to createvM.m.p
, producingv1.3.3
, for example.Worth mentioning the tags should be renamed prior to migration, otherwise 50% of them would present conflicts.
The ideal tag syntax
Some monorepos use the package name and version to name the tag, in a npm-like syntax. In our case, considering the scoped packages, we could have tags named as:
@ethereumjs/vm@1.2.3
@ethereumjs/account@2.1.1
Some other repos concatenate version and name with a dash (not my preferred):
@ethereumjs/vm-1.2.3
@ethereumjs/account-1.2.3
Question:
Is there any system that depends on the current github tag format?
Some of our repos have tags on different formats
There are 6 tags across the main candidates to the monorepo that are not prefixed by
v
. (1.0.0
vs.v1.0.1
).In the process of renaming tags to the new format, I can migrate them to whatever format we agree upon.
The text was updated successfully, but these errors were encountered: