-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Fall release 🍁 - 2021 #1496
Comments
To help the maintainers how about we try to weed through some of the PRs? My apologies to the community for not listing some of the ones I'm not familiar with, it does not mean they are not just as valuable, but I had to start somewhere. Adding projects to projects_using_cobra.md: @umarcor has been efficient and rebased 6 contributions into one PR to avoid the merge conflicts: #1454 Approved by a maintainer but merge seems to have been forgotten: #1161 DisableFlagParsing must trigger custom completion for flag names Small completion fixes from the community: #1455 Completion: Capitalize short desc and remove extra space from long Some random cool ones: #1231 add colors to CLI commands It would be nice to continue the discussion about how to avoid bringing in all the Viper dependencies. There are some nice documentation cleanup and CI improvements from @umarcor. |
@marckhouzam, a hint: make a list (add
Should there be any similar PR which I missed, please let me know and I will include it.
#841 is now based on #1426, which should be merged first. Note that #841 is, in fact, a fix for an incomplete implementation. It is not a new feature per se. Moreover, backwards compatibility is preserved. I am honestly frustrated with that one because it is ready to be merged since 1-2y ago. During the last months, I refrained myself from working on improving the docs/website, because I'm not confident about the efforts being honored. It's nothing personal, tho; just the particularities of this project (#959). I have the perception that there is a strong pushback to any minimally meaningful change, because of how many big players depend on this project. My take on it is that, if those big players care, they should get people involved in the development to ensure that we catch regressions. IMHO, gatekeeping is not acceptable.
I'm personally good with keeping that out of the discussion for now. Some PRs which were left pending in the previous release (#1388): Chores: Documentation: Tests: Worth considering: Some long standing PRs:
It's a duplicate, can be closed: |
@umarcor nice trick to automatically include the title of the PR and its state so easily! How do you feel about making a unified "proposed" list in the description of this PR? That way it can keep being updated and the maintainers don't have to sift through the comments. |
@marckhouzam I copied all the refs to the description (first message) above. Let me know if you (or anyone else) want to add/remove anything. |
Hi all - very busy season for everyone since Kubecon is around the corner. Let's shoot for an end of October release since we had a summer release. Thanks all for your patience and dedication to this project!!! ❤️ Pinning this as our release tracker |
@marckhouzam, done! |
I saw the reference and wanted to know how can I help to promote my PR/others |
@georgettica, #1372 is listed in the first message above already. Which other PRs are ready to be merged (and approved by someone) but not listed yet? Neither @marckhouzam nor myself are allowed to merge PRs. Hence, listing them here is our best effort to help the maintainers. Nonetheless, we depend on them for moving the project forward. @jpmcb mentioned the end of october, so I expect merging activity during the next 10 days. /cc @jharshman @spf13 |
|
@marckhouzam, done! |
@marckhouzam, done! |
This would be nice to have if possible: #1507 Gonna start slowly working through some of the pull requests |
@jpmcb, so far we listed PRs only, not issues. Nonetheless, I believe you can edit my first message above, so feel free to add it to the list as soon as a PR is proposed.
I suggest you pick the "Chores" and "Documentation" first. Those should all be pretty straightforward. Then, maybe go with "Small completion fixes from the community". I believe that'll allow to get most of the work done quickly (without many conflicts). |
Hey, |
@yuvalsosman #1003 is listed above already. |
Hey |
@YuviGold, now listed. |
@marckhouzam done! I added it to #1525 as well. |
@marckhouzam I believe that #841 (which should be one of the next PRs to be merged) will help decide the outcome of #1500. In #841 it is explicitly stated that a nil Args defaults to ArbitraryArgs, unlike the currently undefined/undocumented behaviour. Very precisely: fcfd90e. |
@marians #1003 is shown in the first message already (#1496 (comment)). It was added to the list the 25 Sep (#1496 (comment)), and a user asked about it the 11 Oct (#1003 (comment)) and 4 Nov (#1496 (comment)). @marckhouzam I added section "Delayed to a later release" above, and I moved #1500 there. |
This release is really really close and I'm thinking I'll cut it this afternoon or tomorrow. Please feel free to give the I've marked a number of issues / PRs as milestone As always, thank you everyone for your contributions, hard work, patience, and diligence! 🐍 |
@umarcor True! Looks to have had several rounds of review and was approved by Josh but not merged. I wasn't involved in that PR but on a quick look, it appears to change several public methods which means it needs to be slated for a major version bump, not a minor version release. My main goal with Cobra is to not unexpectedly break major downstream projects like Kubernetes or Helm. Generally, in the past, we have not done a great job of that. Further, I have a limited amount of time to review, merge, validate, etc. It's already December and this was intended to be a Fall release and I'd say this release has already expanded it's scope beyond what we should have included in it. Big releases make for more work for the maintainers. And since I've somehow become the only maintainer, it becomes alot of work for me. So in short, please be patient. |
I'm afraid that's a misunderstanding that several non-primary maintainers carryied for the last years. As far as I understand, it does not involve API changes (it's an enhancement, not removal or modification). Precisely, several public methods are maintained as aliases for backwards compatibility (as explicitly requested by Josh): https://github.com/spf13/cobra/pull/841/files#diff-d3989c40d6d1caecf765e82f992c4bdf093c103c074003e4d7f29cee6d9437a1R111-R124.
That's why #1525 was around for over a month. It was explicitly tested on Helm already, as reported by the maintainer in #1525 (comment). I'm not aware of Kubernetes developers participating in this repo.
I can and will be patient. However, ignoring #841 is producing triplication of features in the codebase, and conflicts between those three implementations. The more features we add without fixing incomplete implementations, the worse the codebase will be to maintain. |
I completely understand the frustration. You, and many others, have worked tirelessly to maintain and improve this library. Often without feedback from the maintainers or owners of this project. And unfortunately, I've had to take on more responsibility in this library than I really have time for. In short, I just don't have great context on that particular PR and we need to get a release pushed. Otherwise, we'll just keep delaying getting it out and, I fear, inevitably create a release that is unmanageable to consumers of Cobra. Let's meet somewhere in the middle and get this into the next release, merged quickly after we cut |
@jpmcb, I understand. No need to take it immediately after cutting this release. We can do it after xmas or in the following months. However, I think it should be prioritary as soon as you can breathe, because so many issues are related to it:
|
@jpmcb I've rerun the cobra-completion-testing tests as well as both Helm's test suites with the latest master branch of Cobra and things look good. I've only done some basic manual testing with helm and kubectl but nothing bad jumped out at me. Thanks for getting all these PRs merged! |
can you TAL at #1556? |
Anyone want to take a look at #1557 quick? |
v1.3.0 has been cut! Thank you all for your support in getting this release out! https://github.com/spf13/cobra/releases/tag/v1.3.0 |
Last release was planned for May 2021 and released in July. Next week, it will be 3 months since that. In this period, 3 PRs were merged.Is there any plan for merging PRs and releasing a new version in the following weeks?Release candidate (please try out and test!)
To Do
Approved by a maintainer but merge seems to have been forgotten:
Left pending in the previous release (#1388):
Small completion fixes from the community:
Worth considering:
Some random cool ones:
Done
projects_using_cobra
markdown #1506os
package import in root command generation #1557Delayed to a later release
The text was updated successfully, but these errors were encountered: