Closed showpune closed 11 months ago
This change is expected based on #273. The URLs under certain conditions could result in file names that are too long or would fail for other reasons.
Is this causing your create-package
run to fail? Or are you just curious why the file name has changed? Thanks
Using the offline BP created by latest create-package, there are errors thrown the cache files not found when to build an image. The offline BP use the libpak with version 1.67
Oh, I think I see what you mean. Yes, if you have buildpacks built with older libpak's, then you're going to need to continue packaging with older create-package
. That wasn't something that we anticipated, I apologize for that. I'll add a note on the release page.
We'll make sure to bump all the buildpacks this week & get them released in our Friday release cycle. That should take care of this and everything should start working with the latest create-package
again.
Thanks a lot. Which version do we need to upgrade the libpak to if we use the latest create-package cmd?
Which version do we need to upgrade the libpak verison to if we use the latest create-package cmd?
If you have your own buildpacks, please update them to use libpak 1.67.0+ (1.67.0 is latest at the time of writing). Then you can use create-package
from 1.67.0+.
If you do not control your buildpacks, like you are having this issue with Paketo buildpacks, you can either wait till Friday when we'll have the buildpacks updated, or you can downgrade create-package
to use 1.66.2 or older.
@dmikusa Wouldn't it be better to remove a breaking release again, so that no new users run into that problem? Adding this fix to v2
would have been fine. That's what semver
is for, isn't it?
If we had no other option, we could have pulled the release, but there are a couple of reasons we didn't.
create-package
with @latest
because it will pull in the new version of libpak. While that's convenient, it's also playing with fire and things like this can come up.@showpune Can you update to today's buildpacks and confirm that this resolves this issue? Releases should be out shortly. thanks
@dmikusa thanks and I verified it in my system and the cache works now
Expected Behavior
When to use the create-package by
The targe folder looks
Current Behavior
When to use the create-package by
Possible Solution
Steps to Reproduce
1.
Motivations