boards/*: remove unused FEATURES_MCU_GROUP variable#11670
boards/*: remove unused FEATURES_MCU_GROUP variable#11670cladmi merged 4 commits intoRIOT-OS:masterfrom
Conversation
IIRC think @vincent-d uses Drone internally? |
|
This was also referenced in #10491 This could also go with a removal/cleanup of |
Thanks for the pointer, I didn't find it initially.
Agreed |
git grep returns some use of |
Only to call the It would need some refactoring and is not a simple removal as this one. |
bf1186c to
063350d
Compare
Indeed, let's leave this to a follow-up PR. |
063350d to
7d908f6
Compare
I don't ;) |
It is what I was thinking too, but was not clear while writing it. |
|
Removing this variable was also in my targets, so is good on my side. It just depends on the I will a follow up PR to prevent-the variable to be re-included by a non updated PR. |
|
The follow up for preventing the variable to re-appear #11671 It showed that If you want you can take the second commit alone and use it in this PR directly. |
That's what I'll do. Since @vincent-d is not using drone.io, I guess the file could be completely removed ? |
| pathspec+=(":!${SCRIPT_PATH}") | ||
|
|
||
| git -C "${RIOTBASE}" grep "${patterns[@]}" -- "${pathspec[@]}" \ | ||
| | sed '1i Deprecated variables or patterns:' |
There was a problem hiding this comment.
I added this change in a fixup commit in #11671
| | sed '1i Deprecated variables or patterns:' | |
| | sed '1i \\nDeprecated variables or patterns:' |
It is required to behave correctly when multiple errors are shown.
There was a problem hiding this comment.
I cherry-picked the fixup commit
| } | ||
|
|
||
| # Deprecated variables or patterns | ||
| # Prevent deprecated varibles or patterns to re-appear after cleanup |
There was a problem hiding this comment.
s/varibles/variables/
|
|
|
You can already squash the fixups and start a round on CI. For the commits order, I would rather remove the usage first explaining why it is removed and then remove the definitions. Otherwise I agree with removing them, and if CI works without it, its good for me. |
bd1173d to
2440ac4
Compare
|
Thanks @cladmi. I squashed and reordered the commits like you suggested. Let's see what Murdock has to say. |
|
The first commit documentation is not adapted. The whole ifdef is depending on And after re-ordering, the definition are currently still there. |
2440ac4 to
3c362a8
Compare
I changed it. |
|
@kaspar030 @smlng from the CI point of view you agree this can be removed ? |
|
to me this was inflexible anyway, and I think its not used anywhere anymore |
| pathspec+=(":!${SCRIPT_PATH}") | ||
|
|
||
| git -C "${RIOTBASE}" grep "${patterns[@]}" -- "${pathspec[@]}" \ | ||
| | sed '1i \\nDeprecated variables or patterns:' |
|
|
||
| errors+="$(check_not_parsing_features)" | ||
| errors+="$(check_not_exporting_variables)" | ||
| errors+="$(check_deprecated_vars_patterns)" |
There was a problem hiding this comment.
The function should now be added the list in all_checks.
This is the last use of FEATURES_MCU_GROUP variable and thus it deprecates it.
Add a function to list deprecated variables or patterns and use it for * FEATURES_MCU_GROUP
3c362a8 to
7d65a71
Compare
|
@cladmi, rebased! |
has this been addressed? |
Is it supposed to be addressed here ? From previous @cladmi's comment, this is unclear to me. |
Well, the static-tests are still run for this PR, and IIRC that's the only thing where the buildgroups variable was used by murdock, so I think we're good! |
|
It currently is only used with |
cladmi
left a comment
There was a problem hiding this comment.
ACK, good to remove it for me.
No counter arguments from the CI maintainers.
|
Static test is still valid with last master, checked locally. |
|
Thanks! |
Contribution description
This variable is only used by
drone.ymlfile and we don't use drone.io as CI anymore. Maybe the.drone.ymlcould also be removed ?For the record, the
Makefile.includeof related boards were updated using the following command:Testing procedure
A green CI should be ok.
Issues/PRs references
fixes #10491
Waiting on #11672 as the way to handle the error message needs special handling with mac.