-
-
Notifications
You must be signed in to change notification settings - Fork 249
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
Clear up directory naming scheme inside archives #1016
Comments
also possible option of adding |
I quite like the current (nightly build) format, although as per John's comment I think it would be good to have It might be worth collating what all other providers are doing with the directory name in here to help get a consensus. |
I am happy to keep it as:
or move to
Just need to fix the windows installer to make sure they understand the format |
I've got a feeling we have discussed this somewhere previously but could we not avoid jdk in the jre case? i.e.
|
With this convention all variants (openjdk-hotspot and openjdk-openj9) have the same top level directory, so they cannot be unzipped side by side (and it is not obvious from the directory name which variant it is). |
What about compiling a list of requirements first? Like:
This should make it easier to evaluate each proposal for its (dis-)advantages. |
So what is your preference @lumpfish? Something like this? We could omit "hotspot" as it would be considered the "default", or squash
|
I'm normally completely against specifically asking people to retweet anything but if you want to help get others involved in this since I'm sure there are many views out there feel free to RT this link to the issue :-) https://twitter.com/sxaTech/status/1116287512207593472 |
I think the directory should make it clear where the content came from and what is in it, such as
or more generally
eclipse/openj9 have a clear versioning convention of their own so a specific 'variant' name is easy to define. I'm not aware of a similar versioning system for hotspot (or corretto etc.), so perhaps simply 'hotspot' is appropriate. |
I personally don't like such long directory names on my file system, although I can understand why openj9 might want their version number in there, although it's rare for it to change for a given JDK update and not be implicit for any given release. |
I prefer shorter directory names as well, but clarity to me is more important than brevity. As part of this 'cleanup' can we remove the redundancy in URLs? For example,
|
We will delay resolving this until after the 8u212 release. |
+1 on short names (especially given file name limits on Windows, we hit issues in testing where full path name is exceeded) Also prefer to have the implementation explicitly named, hs or oj9 (or hotspot / openj9), or as was suggested any others that may be built or served up from AdoptOpenJDK (makes it easier from automation/scripting perspective). |
To add to this issue, recent work with the installer has shown that it struggles to work with the JDK-Next binaries since they have no version number on their names (see #1712 and Slack). To resolve parsing errors in the installer and sign jobs, I'd prefer for the Major version number of the current JDK-Next added to the first field of the binary to make them like all of the other binaries. I.e.
|
Any opinions on the above? |
I think it makes sense to apply the jdkNext version number the moment it is known (know in build pipeline, then change can be made there), so that scripts/jobs do not have to each have special handling of the "Next" string, but so they can behave as they do for the LTS versions and current active version. |
Ok so in that case, it would involve setting the |
@smlambert Just looking at this again, I can identify some inital changes M-Davies@0e1f298. This doesn't include anything outside of the build repo however, so extra changes to the installer (I can think of at least one over there on the top of my head) and other Adopt projects will likely need some tweaking to adapt to the new format. |
Ref #2000 (comment), is this issue on hold while the transfer to Adoptium is ongoing? |
We need to decide what our dir naming scheme is inside our archives.
Currently we output dirs of the form:
I.e the semver version without any build numbers. In the past dirs were of the form:
I.e the openjdk version number including build.
Currently there is a mismatch between what the installers are accepting as a dir and what we produce. Recently the build number was removed in #1012 to help the installers but this does not seem to have worked. Can we agree on a format and make sure the installers are in sync. My preference would be:
I.e semver including build
The text was updated successfully, but these errors were encountered: