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
[downloads] elasticsearch-6.8.5.tar.gz incompatible with other versions #49599
Comments
Pinging @elastic/es-core-infra (:Core/Infra/Packaging) |
@Conky5 this is most likely related to the way that the ES 6.8.5 |
@droberts195 correct, future releases will not include the leading |
So is the plan to fix the |
The |
I understand that it's a difficult position to be in but I still think it's important to fix the error. It's a public API in which compatibility has been broken within a minor release which goes against your End of Life policy?
It's also worth considering the potentially thousands of developers who will waste countless hours of their time debugging this issue. |
Sorry to lobby you so hard on this :) I just want to clarify that the issue here is that 'oneline bash installs' are no longer possible and there is no way to configure These oneliner bash installs are fairly popular to avoid writing the tar file to disk before extracting, they are also useful when the cwd is not writable or you're in docker and you want to create a minimal image. What I'm trying to highlight is that for all the Stackoverflow posts, CI environments and bash scripts which use this approach will require a human to manually add an 'if version eq' line to change the 1 to a 2. I understand that releases should be immutable but in this case you can simply fix the file and it'll still work as expected for oneliners and twoliners alike? |
@missinglink We appreciate the feedback and understand the situation you are in. At the same time, as you pointed out, releases should be immutable. Modifying a file in place means also changing checksums, which can have even broader impact on others automations since the artifact in question would no longer be the same that they previously downloaded. The end of life policy for Elastic is around minor releases, not specific bugfix releases. While we strive to maintain no changes to behavior, bugs do happen, and we apologize here for that. There will likely be a 6.8.6, and this bug should be fixed there, but we can't give any timeline when that will happen. In the meantime, we recommend using the workaround @Conky5 mentioned above with |
Hi,
Your current download of elasticsearch-6.8.5.tar.gz with the shasum of
a66773585c2195e22114922534f65069d669c774
has been generated in such a way that makes it incompatible with scripts which work with other versions in the 6 and 7 series.More specifically it was previously possible to use the
--strip-components=1
argument fortar
in order to remove the leading directory (which is versioned), an example of such a command would be:You can see in the output below that the
6.8.5
release has an inconsistency which wasn't present in the6.8.4
release and is not present in the7.4.2
release:note the leading
./
I suspect you have made a change to your build script which is no longer setting the
-C, --directory=DIR
flag correctly.The text was updated successfully, but these errors were encountered: