Skip to content

Conversation

@nicu1989
Copy link
Member

@nicu1989 nicu1989 commented Sep 8, 2025

Defined common commands. bazel run //:help

📌 Description

🚨 Impact Analysis

  • This change does not violate any tool requirements and is covered by existing tool requirements
  • This change does not violate any design decisions
  • Otherwise I have created a ticket for new tool qualification

✅ Checklist

  • Added/updated documentation for new or changed features
  • Added/updated tests to cover the changes
  • Followed project coding standards and guidelines

Related: #246

@github-actions
Copy link

github-actions bot commented Sep 8, 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 (8.3.0) and connecting to it...
INFO: Invocation ID: 6260a57e-45bb-4f89-8dc4-a64f5ece8e47
Computing main repo mapping: 
Computing main repo mapping: 
Loading: 
Loading: 0 packages loaded
Loading: 0 packages loaded
    currently loading: src
Analyzing: target //src:license-check (1 packages loaded)
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 (61 packages loaded, 9 targets configured)

Analyzing: target //src:license-check (123 packages loaded, 2239 targets configured)

Analyzing: target //src:license-check (134 packages loaded, 2484 targets configured)

INFO: Analyzed target //src:license-check (137 packages loaded, 4500 targets configured).
[9 / 13] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes; 0s disk-cache
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: 11.777s, Critical Path: 0.37s
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 <args omitted>
[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

github-actions bot commented Sep 8, 2025

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

"""

data = data + ["@score_docs_as_code//src:docs_assets"]
call_path = native.package_name()
Copy link
Member

Choose a reason for hiding this comment

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

Actually it's now hardcoded to be in the root. But I guess it's not properly enforced anywhere.
Can we add something like:

if (call_path != "")
fail("docs must be included in the module root")

Copy link
Member

Choose a reason for hiding this comment

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

Not sure how that would play with dependencies from other repos

Copy link
Member Author

Choose a reason for hiding this comment

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

i think this is the way: fail("docs must be included in the module root") . i have tested in score and it triggers the error if I move the docs() call in docs/BUILD for example.

Defined common commands. bazel run //:help

Signed-off-by: Nicolae Dicu <nicolae.dicu.ext@qorix.ai>
Signed-off-by: Nicolae Dicu <nicolae.dicu.ext@qorix.ai>
@nicu1989 nicu1989 force-pushed the nicu1989_add_cli_helper branch from d6e97da to 8210030 Compare September 9, 2025 07:06
@AlexanderLanin AlexanderLanin merged commit 8e8d172 into eclipse-score:main Sep 11, 2025
11 checks passed
@github-project-automation github-project-automation bot moved this from Draft to Done in Infrastructure Sep 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants