-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Restore the naming of the published npm packages to be suffixed with a commit sha #10233
Comments
That's the theory, but it seems that |
@azatsarynnyy do you need the sha being part of the version string, or is it ok for you to go read the |
@paul-marechal our flow is something like that:
So, we need the sha to be part of the version string. |
Would the following steps work for you too?
Using those steps it shouldn't break in the future even if we keep changing the versioning scheme. The reason I insist is that:
I don't know how yarn/npm decided to pull the latest
Here Another problem that just happened today: It seems that yarn/npm advertise the latest published when asking about Notice how the most recent published version is But thanks to this new versioning scheme I was able to spot this oddity by just looking at the history. All in all I think there are still issues with our next releases but this new scheme is a step in the right direction, If you still think that it would be better to stick to putting the sha, then let's revert back to do this. |
I can understand wanting to map commit SHA's to a release, but depending on the exact format of the release name seems like undue coupling to details of the release process. If this is something we want to support, we need a more robust mechanism. |
Independent of whether Che should depend on the SHA, I think it might make sense to go forward with this suggestion, or find out why |
Hello @paul-marechal |
I'm closing the issue. Will be reopened if we face more obstacles with that. |
Description:
Recently, we've noticed that the Theia packages that are published to npmjs are not suffixed with the commit hash anymore (e.g.
1.18.0-next.aed98766
), but with just sequential numbers, like the amount of the commits contributed after the latest release or something like that (e.g.1.18.0-next.72
). For example, see https://www.npmjs.com/package/@theia/plugin-extAfter discussing that topic on Dev call, we learned that it's a side-effect of lerna upgrade, within #9710
In Che-Theia, we rely on these sha suffixes to detect the commit that a specific package corresponds to.
Considering that a new naming pattern is not something that others are relying on, we would like to work on restoring the previous naming scheme.
Additional Info:
Some helpful information on the topic: WordPress/gutenberg#29379
The text was updated successfully, but these errors were encountered: