Skip to content

Conversation

@hoe-jo
Copy link
Contributor

@hoe-jo hoe-jo commented Jun 30, 2025

  • separate feature in single parts
  • search for each part individually

@github-actions
Copy link

github-actions bot commented Jun 30, 2025

License Check Results

🚀 The license check job ran with the Bazel command:

bazel run //src:license-check

Status: ✅ Passed

Click to expand output
[License Check Output]
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
INFO: Invocation ID: c02be1cb-5d32-4a6f-a6bc-849d4fb6c48f
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Loading: 
Loading: 0 packages loaded
Loading: 0 packages loaded
    currently loading: src
Loading: 0 packages loaded
    currently loading: src
Analyzing: target //src:license-check (1 packages loaded, 0 targets configured)
Analyzing: target //src:license-check (1 packages loaded, 0 targets configured)

Analyzing: target //src:license-check (96 packages loaded, 10 targets configured)

Analyzing: target //src:license-check (140 packages loaded, 525 targets configured)

Analyzing: target //src:license-check (148 packages loaded, 1988 targets configured)

Analyzing: target //src:license-check (153 packages loaded, 2652 targets configured)

Analyzing: target //src:license-check (158 packages loaded, 2687 targets configured)

INFO: Analyzed target //src:license-check (163 packages loaded, 4946 targets configured).
[1 / 1] no actions running
INFO: Found 1 target...
Target //src:license.check.license_check up-to-date:
  bazel-bin/src/license.check.license_check
  bazel-bin/src/license.check.license_check.jar
INFO: Elapsed time: 16.294s, Critical Path: 0.38s
INFO: 13 processes: 4 disk cache hit, 9 internal.
INFO: Build completed successfully, 13 total actions
INFO: Running command line: bazel-bin/src/license.check.license_check src/formatted.txt -review -project automotive.score -repo https://github.com/eclipse-score/docs-as-code -token otyhZ4eaRYK1tKLNNF-Y
[main] INFO Querying Eclipse Foundation for license data for 83 items.
[main] INFO Found 58 items.
[main] INFO Querying ClearlyDefined for license data for 25 items.
[main] INFO Found 25 items.
[main] INFO Vetted license information was found for all content. No further investigation is required.

@github-actions
Copy link

The created documentation from the pull request is available at: docu-html

@AlexanderLanin
Copy link
Member

I'm not so sure of the intention here. This contradicts requirements in my opinion.

@MaximilianSoerenPollak
Copy link
Contributor

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

@hoe-jo
Copy link
Contributor Author

hoe-jo commented Jun 30, 2025

@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)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.

@AlexanderLanin
Copy link
Member

So far we always changed the names to match exactly.
What's the example here where this would help?
I guess then the intention will be much more understandable.
This PR will allow "my_component" to match "my", so I'm just not sure of the use case.

e.g. key_value_storage was changed to kvs at eclipse-score/score#1026
e.g. deterministic-app-abstraction-layer was changed to daal at eclipse-score/score#901

@AlexanderLanin
Copy link
Member

It would certainly become clearer with documentation and/or tests ;-)

@hoe-jo
Copy link
Contributor Author

hoe-jo commented Jun 30, 2025

Minutes from Operational Support Meeting:

  • Implement first letter abbreviation
  • Match whole substring in current implementation


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)
Copy link
Contributor

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.

@hoe-jo hoe-jo force-pushed the hoe_jo_bugfix_id_contains_feature branch from 3f898de to 950f6e1 Compare July 3, 2025 09:05
if featureparts
)

# allow abbreviation of the feature
Copy link
Contributor

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

Copy link
Contributor

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.

@MaximilianSoerenPollak
Copy link
Contributor

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.

@MaximilianSoerenPollak
Copy link
Contributor

Ahh, I see that some tests from the RST fails due to use changing that.
Let me see what we need to change there.

@MaximilianSoerenPollak
Copy link
Contributor

MaximilianSoerenPollak commented Jul 3, 2025

@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?
https://github.com/eclipse-score/docs-as-code/blob/main/src/extensions/score_metamodel/tests/rst/id_contains_feature/test_id_contains_feature.rst?plain=1#L16-L20

I tested it, and that should do the trick and pass everything.

@MaximilianSoerenPollak MaximilianSoerenPollak force-pushed the hoe_jo_bugfix_id_contains_feature branch from b0c3c34 to aae3995 Compare July 7, 2025 09:59
@MaximilianSoerenPollak
Copy link
Contributor

Rebased to resolve merge conflicts.

@MaximilianSoerenPollak MaximilianSoerenPollak dismissed their stale review July 7, 2025 10:00

Decided in a call, that I fix the issues myself due to time constraints from commiter side.

hoe-jo and others added 2 commits July 7, 2025 12:14
- 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>
hoe-jo and others added 3 commits July 7, 2025 12:14
Co-authored-by: Maximilian Sören Pollak <maximilian.pollak@expleogroup.com>
Signed-off-by: Jochen Hönle <jochen.hoenle@bmw.de>
According to new rules, this is now allowed
@MaximilianSoerenPollak MaximilianSoerenPollak force-pushed the hoe_jo_bugfix_id_contains_feature branch from aae3995 to f19f687 Compare July 7, 2025 10:14
@MaximilianSoerenPollak MaximilianSoerenPollak merged commit c24f4d8 into main Jul 7, 2025
7 checks passed
@MaximilianSoerenPollak MaximilianSoerenPollak deleted the hoe_jo_bugfix_id_contains_feature branch July 7, 2025 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

5 participants