-
Notifications
You must be signed in to change notification settings - Fork 20
checks: bugfix id contains feature #114
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
checks: bugfix id contains feature #114
Conversation
hoe-jo
commented
Jun 30, 2025
- separate feature in single parts
- search for each part individually
License Check Results🚀 The license check job ran with the Bazel command: bazel run //src:license-checkStatus: ✅ Passed Click to expand output |
|
The created documentation from the pull request is available at: docu-html |
|
I'm not so sure of the intention here. This contradicts requirements in my opinion. |
Is it a 'simple' solution to this? eclipse-score/score#1033 |
|
@AlexanderLanin the original text of the requirement is very unspecific, so from my Point of View it is still covered: "structural element (e.g. some part of the feature tree, component acronym)" @MaximilianSoerenPollak yes, its a quickfix so that people can start working |
| docname = dir_docname if dir_docname else need.get("docname", "") | ||
|
|
||
| if feature not in docname: | ||
| found = any(featurepart.lower() in docname.lower() for featurepart in featureparts) |
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.
| found = any(featurepart.lower() in docname.lower() for featurepart in featureparts) | |
| found = any(featurepart.lower() in docname.lower() for featurepart in featureparts) |
Indent is missing here.
|
So far we always changed the names to match exactly. e.g. |
|
It would certainly become clearer with documentation and/or tests ;-) |
|
Minutes from Operational Support Meeting:
|
|
|
||
| found = any(featurepart.lower() in docname.lower() for featurepart in featureparts) | ||
| # allow if any feature part is contained in UID | ||
| foundfeatpart = any(featurepart.lower() in docname.lower() for featurepart in featureparts if featureparts) |
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.
This then means we expect the folders to be seperated by _ right? As we split on that?
If that's the case, fine by me.
3f898de to
950f6e1
Compare
| if featureparts | ||
| ) | ||
|
|
||
| # allow abbreviation of the feature |
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.
Just a note:
This makes initials of number stuff a bit unideal, but I don't mind that.
e.g. aspice 40 => a4
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.
As said though, this is just a note. No need to fix this I would say. For now at least.
|
Also @hoe-jo You don't need to force push (if you don't want to & did not rebase) as we will squash the PR anyway when merging. So don't worry much bout this. |
|
Ahh, I see that some tests from the RST fails due to use changing that. |
|
@hoe-jo This should be last change, tests should pass then. (Don't forget to format after). Can you remove these lines from that file in your PR? I tested it, and that should do the trick and pass everything. |
b0c3c34 to
aae3995
Compare
|
Rebased to resolve merge conflicts. |
Decided in a call, that I fix the issues myself due to time constraints from commiter side.
- separate feature in single parts - search for each part individually
Co-authored-by: Maximilian Sören Pollak <maximilian.pollak@expleogroup.com> Signed-off-by: Jochen Hönle <jochen.hoenle@bmw.de>
Co-authored-by: Maximilian Sören Pollak <maximilian.pollak@expleogroup.com> Signed-off-by: Jochen Hönle <jochen.hoenle@bmw.de>
aae3995 to
f19f687
Compare