-
Notifications
You must be signed in to change notification settings - Fork 18
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
adds logic to remove http query params from destination file name #273
adds logic to remove http query params from destination file name #273
Conversation
Hi, I took a look. A couple of things on this:
|
Thanks for the suggestions @dmikusa |
I checked just to be sure that the |
@dmikusa pushed the changes. Please let me know if any improvements can be made. |
@dmikusa The changes are implemented as per your suggestions. Could you take a look at it? NB: Some Github workflows are in |
db6cda3
to
6a1c758
Compare
I've allowed the action to run and I rebased on main. Looks good to me, @dmikusa WDYT? |
Signed-off-by: Jayashree O <jaishu138@gmail.com>
…ponding test Signed-off-by: Amit Singh <singhamitch@outlook.com>
…or http(s) uri Signed-off-by: Amit Singh <singhamitch@outlook.com>
Signed-off-by: Amit Singh <singhamitch@outlook.com>
f5b426f
to
aaf573f
Compare
Thanks for this PR & sticking with it. If you're interested, we'll need to port this to the |
Some feedback: This change was breaking. I wonder why this was brought into |
@c0d1ngm0nk3y Apologizes. We try to screen out any breaking changes, but this one slipped through. We wanted to get this into 1.x because it impacted users. In hindsight, we'd have held it for 2.x. |
@dmikusa But doesn't make it clear that some integration test was missing. I mean it was not the case that one very specific edge case was broken, but offline buildpacks, didn't work in general, right? It feels to me that this should be tested somehow. What wonders me more is not the fact that this was overseen - mistakes happen, that normal imho. But rather the reaction. Knowing that this is breaking but still keep the code and not reverting the change was strange to me. My POV: I discovered that the integration test for one of our use cases broke. After some debugging, I found out that it is nothing we changed, but that offline buildpacks do not work in general. When checking the release notes of |
100%. We have stories to add integration testing to the composite buildpacks, but the work is incomplete. We'd be happy to work with you on that, if it's something you'd like to contribute.
What you're seeing is absolute transparency and us working through this problem in real-time. We could have taken the bug report, sat on this for a week or so while we investigated the full extent of the problem, made a decision, and then finally communicated that to the community. My approach for the community is to communicate early and often. There are some drawbacks to that because we're working through the issue in real-time, but I think the benefit of being transparent with everything outweighs the approach of keeping things private until they've been fully sorted out. That said. here's the latest update. We're reevaluating this. Another bug case has popped up. Previously, the decision was made to try and keep moving forward because we wanted to be able to retain the original fix that #273 provided. Additional failure scenarios have popped up. We're presently discussing those, the potential impact on the user base, and the work required to resolve them. We'll keep folks updated when a course of action has been decided upon. The recommendation is still to continue using the older version of create-package and libpak. This should avoid issues because both are using the pre-#273 code. |
Having investigated the bug raised in #288 as well as further failures seen, we've decided to revert the change in this PR to minimise impact and avoid introducing other issues by attempting to patch the new logic in the short term. Hopefully the problem scenario faced in #274 can be resolved in v2 of Libpak (#287) |
Summary
This PR adds changes to ensure that downloaded http type dependency artifacts are given a filename that does not include the query parameters that might be present in the corresponding URI.
Use Cases
fixes #274
Checklist