Repository navigation
Conversation
579a56e to
3f7a288
Compare
Fixes helm#10095 Signed-off-by: Felipe Santos <[email protected]>
3f7a288 to
bb66fb3
Compare
|
Are there any blockers to get this merged? This is a really silly problem and the PR has been cooking for years now. |
|
@crabique, I rebased it. It's ready again for review. |
gjenkins8
left a comment
There was a problem hiding this comment.
There is a behavioral difference I think. And overall (it is hard to quantify), it feels like this change is significantly increasing the complexity of the logic here. Reducing the complexity would be preferred :)
| if d.Repository == "" || strings.HasPrefix(d.Repository, "file://") { | ||
| if d.Repository == "" { |
There was a problem hiding this comment.
this conditional IMHO has made the code more complex. The empty repository and file:// loading logic has been combined into a single branch. With the intent of utilizing the same version processing logic.
But... (while this sounds like a good thing) the subtle differences in these code paths is leading to lots of conditional checks. It would be great to find a way to simplify the conditional logic here I think.
There was a problem hiding this comment.
I understand, but I don't think it's as bad as it sounds. We know that in real life helm will never have to iterate on these conditions long enough to make a difference in performance. It's not like there will be a chart with thousands of dependencies (which is probably still a low number of iterations).
Nevertheless, I'm still thinking about it.
There was a problem hiding this comment.
@gjenkins8 I guess I became dumber over time. I had to ask Claude Sonnet 4 to help me.
But I reviewed the outcome, and it looks fine.
Can you please review this again?
|
@gjenkins8 thanks a lot for reviewing this PR too. It has been so much since I wrote this that I'll need to spend some time trying to understand everything I did to address your feedback. I will probably not be able to finish this before next weekend, thus I will mark it as Draft for now. |
|
@felipecrs hi, do you plan to resume this effort in the foreseeable future? |
…sion Signed-off-by: Felipe Santos <[email protected]>
Signed-off-by: Felipe Santos <[email protected]>
e8d409e to
a6750a0
Compare
Signed-off-by: Felipe Santos <[email protected]>
Signed-off-by: Felipe Santos <[email protected]>
3dc97ae to
8b4cbb0
Compare
Yes, I just rebased and handled @gjenkins8 comments. Hopefully in a satisfactory manner. |
|
This pull request has been marked as stale because it has been open for 90 days with no activity. This pull request will be automatically closed in 30 days if no further activity occurs. |
|
@gjenkins8 maybe you can have a new look into this? |
|
@gjenkins8 @yxxhero please have a look, if released who knows, it may be a good enough reason for people to switch to v4 😄 |
|
This pull request has been marked as stale because it has been open for 90 days with no activity. This pull request will be automatically closed in 30 days if no further activity occurs. |
|
Not stale. |
|
This pull request has been marked as stale because it has been open for 90 days with no activity. This pull request will be automatically closed in 30 days if no further activity occurs. |
|
Not stale. |
|
This pull request has been marked as stale because it has been open for 90 days with no activity. This pull request will be automatically closed in 30 days if no further activity occurs. |
|
Sad. :( I can rebase the PR if someone reopens it. :) |
What this PR does / why we need it:
Fixes #10095
Special notes for your reviewer:
References https://github.com/helm/helm-www/pull/1183/files
References SchemaStore/schemastore#1815
References SchemaStore/schemastore#1816
If applicable:
The
--helptext was updated to reflect thatversionis optional for local charts. Also, the referenced PR changes the same in the website.Everything should remain functional, this only prevents an uneeded failure. The fact that none of the unit tests were touched is already a good signal of that.