docs(CONTRIBUTING): Proposed updates to Contributing Guidelines#1629
docs(CONTRIBUTING): Proposed updates to Contributing Guidelines#1629rlalik wants to merge 2 commits intoFairRootGroup:devfrom
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
| adds your name to the [`CONTRIBUTORS`](CONTRIBUTORS) file. | ||
| adds your name to the: | ||
| * [`CONTRIBUTORS`](CONTRIBUTORS) file, | ||
| * [`.zenodo.json`](.zenodo.json) file, and | ||
| * [`codemeta.json`](codemeta.json) file. |
There was a problem hiding this comment.
CONTRIBUTORS is the authoritative place to add new names. Maintainers will then run meta_update.py (ref N.4)
There was a problem hiding this comment.
Oh, ok, from this comment I got impression that I should do it by myself: #1628 (comment)
I'll restore older version to this part.
|
What is your rationale for N.1 (breaking all existing references to the renamed rules) and N.2 (reusing an already used rule identifier for different semantics)? |
|
O.1: Every push shall happen via a pull request. The current rules do not disallow cherry-picks, in fact, that is what usually is done in PR branches of backports and hotfixes. |
|
S.1 👍 |
|
S.2 That's an annoying one indeed. It is unfortunate, clang-format is breaking formatting so often. I am just not sure, specifying some version here, will improve anything - we would have to bump it eventually, what will be the user experience then? We have briefly discussed internally whether we should target always the latest clang-format release or if we should point the user to the version used in the CI (which is currently down), but without a conclusion so far. |
I'm not sure how often the rules were quoted in the past. Is this serious issues? Rationale is:
I believe there is some point in this reason. |
Perhaps this proposal front my side is indeed invalid. So, the cherry picking is done from other branch which was pull requested into dev, right? So it's other direction than I suggested. It's fine, it was just suggestion and I won't die on this hill. |
Yes, this is tricky. Different distros will have different latest version. Should we use Ubuntu LTS as a reference? Then we are always 2-3 releases behind. Which is fine I think. One does not need to reformat whole code. It's enough to run Also, I think cbmroot has it done nicely in their CI. |
4dea82b to
c005077
Compare
Following up discussion from #1628 and proposition by @ChristianTackeGSI to update Contributing Guidelines with my ideas, I open this PR in Draft mode to work on updates.
N: Things I did now:
V (Version Control)categoryOther C++ Guidelines, for those not matching G.2 related to CPPCGContributing Code.2rule and added other files to the list which need to be updated by the new contributors.S: Things I would (strongly) suggest to update:
clang-formatversion - different version may produce different result for the same config file. This update should be followed by update ofapply-format.shandcheck-format.sh(as separate PR).O: Other ideas
be removed and commit cherry-picking be used instead (after being agreed in the PR comment section)? New rule could be:
Please refer to these list as N.1, S.2, O.1, etc... in the discussion section.
Checklist: