bug: Restructure PER-CS rule sets#6707
Conversation
|
I've updated the names. Let me know if I did it right or if there's some other format I should use there. I wasn't clear if spaces were allowed. I also realized I missed the "risky" sets before, so I added those as well. |
|
Hm. Did I not use the names correctly? Please advise. |
|
OK, I don't understand what the tests are objecting to now. Can someone help me out here? I'm confused as to what I'm still screwing up. 😄 |
|
Isn't the name of the test - BTW it is not illegal to run tests locally 😉 |
|
OK, I think I got it this time. Let's see what the bot thinks. |
Pull Request Test Coverage Report for Build 4098266388
💛 - Coveralls |
|
Anyone else still interested in this PR, now that it's actually passing? 😄 |
|
you put |
|
Anything else that needs to be done here? |
|
It's released today! 🎉 But it's 2.0 instead of 1.1. |
|
All the more reason we should get this code merged soon so work can start on the 2x0 ruleset... 😄 I'm not going to try and fix the conflicts until I hear from someone with merge access that this approach is acceptable. No sense doing (more) work if it's not going to be accepted. |
|
@Crell I really would like to get it merged, but I need some time to get familiar with it. I believe all @keradus' doubts were addressed, @kubawerlos gave approval, for me it looks good at first glance (deprecate too general ruleset + introduce version specific rulesets), I just need to dig deeper into provided changes and previous discussions. If you don't mind, I can rebase it to get rid of the conflicts and to trigger new CI pipeline. But of course you can do it too 🙂. Let me know, thanks in advance. |
|
You'll probably have a chance to rebase it before I will, so feel free. I am happy to answer questions about it, though "why is it done that way?" is mostly answered by "because some other PR reviewer said to and I don't know the tool well enough to disagree." 😄 (Also updated the description to account for there now being a PER-CS 2, not 1.1.) |
…ly supported verison of PER-CS.
Co-authored-by: Greg Korba <wirone@gmail.com>
|
I thought you had taken over. 😄 Here's a stab at it. Let's see if the bot approves. Once this is done, we should figure out how to get PER-CS 2 implemented. There are probably going to need to be a few new rules. |
|
@Wirone Back at you. |
It was added at some point, but is not used since both added PER-CS rule sets have hardcoded `getName()`.
|
I am not 100% sure about current file/class naming ( So.. I'm going to merge it and if anything looks wrong to @keradus we can change it later, before release. |
|
Thank you very much @Crell 🍻 |
|
Excellent! Now someone can start on the PER-CS 2.0 ruleset. 😄 |
Co-authored-by: Julien Falque <julien.falque@gmail.com> Co-authored-by: Dariusz Rumiński <dariusz.ruminski@gmail.com> Co-authored-by: Greg Korba <greg@codito.dev>
Resolves #6700.
This PR does a few things:
PERCS10(1.0), but as PER-CS 2.0 is now out, that can be added in a follow-up.PERCSas a ruleset that just aliases to the latest release. So whenPERCS20is added,PERCSchanges to point to that.PERan alias toPERCSfor BC. It can probably be deprecated and removed eventually, but I leave that to the maintainers to decide.I don't know if there's any defaults elsewhere that should also be updated. Again, I defer to the maintainers.