-
Notifications
You must be signed in to change notification settings - Fork 343
Rename all the old Git tags #629
Comments
I would probably go with a prefix rather than suffix, and something that sorts at the end of the list in GitHub UI to get them out of the way. Will Louketo use vX.Y.Z or X.Y.Z format for tags? If the former then I'd probably rename existing tags to something like "xGatekeeper-vX.Y.Z" |
I agree with Stian's point about sorting. Here's a script to do the renaming:
Anyone with an existing fork on GitHub will need to run the same script to have a clean fork. People who just have a local clone only can most easily just re-clone. |
Thanks will do that. Answering your question, I'd like to stick with X.Y.Z as vX.Y.Z is not considered a semantic version. @ASzc thank you! I will give your script a try at my fork |
This comment has been minimized.
This comment has been minimized.
Seems they use a reverse sort, so a lot of the usual tricks to get something to the end of a list don't work, as you've discovered. What about prefixing the new version tags too? Pattern for old tags: Pattern for new tags: This happens to sort the way we want, at least in my trials with |
I think the ideal is to have the new tags just x.y.z and I'm not to keen on prefixing those with louketo-proxy. What about "0.9.0-gatekeeper-x.y.z" or something like that? |
That would work from a sorting perspective. |
This comment has been minimized.
This comment has been minimized.
If the script is to avoid touching already converted tags, then the grep pattern should be |
@ASzc using |
Oh, oops, that's because grep needs |
Thanks @ASzc. Script updated:
Outcome@stianst if you agree, I believe now we're good to go. |
LGTM |
Thank you. The changes were applied, so I'm closing it. |
Summary
Rename all the old Git tags from this repository to avoid any confusion in the further releases.
Why?
We have several Git tags created during the Gatekeeper releases. Now with Louketo, we're going to start on
Git tag 1.0.0.
The best way of doing this while still preserving the tags, is to rename all the tags to something like:
10.0.0-gatekeeper
How
Acceptance criteria
-gatekeeper
The text was updated successfully, but these errors were encountered: