-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
feat: allow for specifying pre-release in regex #20862
Conversation
❌ Preview Environment deleted from BunnyshellAvailable commands (reply to this comment):
|
0f676bd
to
02646cf
Compare
This will allow the use of pre-release specific regex Signed-off-by: Spazzy <brendankamp757@gmail.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #20862 +/- ##
==========================================
+ Coverage 55.02% 55.06% +0.03%
==========================================
Files 324 324
Lines 55413 55423 +10
==========================================
+ Hits 30492 30517 +25
+ Misses 22306 22295 -11
+ Partials 2615 2611 -4 ☔ View full report in Codecov by Sentry. |
Hi, is there anything further thats needed for this change? |
Would you be able to join the contributors meeting and discuss this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to see #20216 merged before considering this - since otherwise the way semver is handled in Git would differ from how it is done in Helm (and in the future, OCI)
To be fair, I'm not sure how Helm handles pre-release tags, so it could very well be that this may need to differ.
Yes sure, is it at: Thursday at 8:15AM Pacific Time? |
@blakepettersson I'd be happy to fix this there once that is merged, is there a time frame on when that refactor is being merged? |
It is, but due to Thanksgiving this upcoming one is cancelled, so it'll have to be the contributors' meeting next week. Alternatively feel free to ask for other opinions on the #argo-cd-contributors channel on the CNCF Slack.
No idea, but IMO this should be good to go right now. I'll need to poke a maintainer to merge that PR. |
|
This PR allows for checking for pre-release specific tags
previously in the case of having a pre-release (i.e
v1.0.*-rc
) the git check would ignore the pre-release versions and just do the latest tag (i.e v1.0.1) which could be a different release entirely.NOTE: My assumption is that this is only valid with wildcards as I dont think something like
< v1.2.*-rc
would be a valid constraint, but if this is incorrect please let me knowI am not entirely sure if this is considered a bug fix or a feature
Related Issue: #18899
Related Discussion: #20595
would be great to have this patched in
v2.12
Checklist: