Skip to content

build: drop root check aliases and call //tools targets - #596

Open
arkjedrz wants to merge 1 commit into
mainfrom
arkjedrz_tooling-04-root-labels
Open

arkjedrz wants to merge 1 commit into
mainfrom
arkjedrz_tooling-04-root-labels

Conversation

@arkjedrz

Copy link
Copy Markdown
Contributor
  • Remove the root aliases copyright.check, copyright.fix, format.fix, license-check and the root format.check test_suite.
  • on-pr.yml passes format-target and copyright-target with the //tools labels, as baselibs does.
  • license_check.yml runs //tools:license-check.
  • Drop the //:pkg default visibility in tools/BUILD. Only the root test_suite needed it.

- Remove the root aliases copyright.check, copyright.fix, format.fix,
  license-check and the root format.check test_suite.
- on-pr.yml passes format-target and copyright-target with the //tools
  labels, as baselibs does.
- license_check.yml runs //tools:license-check.
- Drop the //:__pkg__ default visibility in tools/BUILD. Only the root
  test_suite needed it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

License Check Results

🚀 The license check job ran with the Bazel command:

bazel run --lockfile_mode=error //tools:license-check

Status: ⚠️ Needs Review

Click to expand output
[License Check Output]
Starting local Bazel server (8.7.0) and connecting to it...
INFO: Invocation ID: e018b01e-eae3-4bda-91c4-8bdfc2058f30
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Loading: 
Loading: 2 packages loaded
Loading: 2 packages loaded
    currently loading: tools
Loading: 2 packages loaded
    currently loading: tools
Loading: 2 packages loaded
    currently loading: tools
Loading: 2 packages loaded
    currently loading: tools
Loading: 2 packages loaded
    currently loading: tools
Analyzing: target //tools:license-check (3 packages loaded, 0 targets configured)
Analyzing: target //tools:license-check (3 packages loaded, 0 targets configured)

Analyzing: target //tools:license-check (54 packages loaded, 14 targets configured)

Analyzing: target //tools:license-check (98 packages loaded, 14 targets configured)

Analyzing: target //tools:license-check (99 packages loaded, 14 targets configured)

Analyzing: target //tools:license-check (152 packages loaded, 3717 targets configured)

Analyzing: target //tools:license-check (201 packages loaded, 6529 targets configured)

Analyzing: target //tools:license-check (203 packages loaded, 11375 targets configured)

Analyzing: target //tools:license-check (205 packages loaded, 11382 targets configured)

Analyzing: target //tools:license-check (205 packages loaded, 11382 targets configured)

Analyzing: target //tools:license-check (208 packages loaded, 11785 targets configured)

INFO: Analyzed target //tools:license-check (213 packages loaded, 17902 targets configured).
[3 / 15] Creating runfiles tree bazel-out/k8-fastbuild/bin/tools/license.check.license_check.runfiles; 0s local ... (2 actions running)
INFO: From Generating Dash formatted dependency file ...:
INFO: Successfully converted 50 packages from Cargo.lock to bazel-out/k8-fastbuild/bin/tools/formatted.txt
[13 / 16] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes; 0s disk-cache, processwrapper-sandbox
[14 / 16] JavaToolchainCompileBootClasspath external/rules_java+/toolchains/platformclasspath.jar; 0s disk-cache, processwrapper-sandbox
INFO: Found 1 target...
Target //tools:license.check.license_check up-to-date:
  bazel-bin/tools/license.check.license_check
  bazel-bin/tools/license.check.license_check.jar
INFO: Elapsed time: 52.470s, Critical Path: 2.54s
INFO: 16 processes: 12 internal, 3 processwrapper-sandbox, 1 worker.
INFO: Build completed successfully, 16 total actions
INFO: Running command line: bazel-bin/tools/license.check.license_check tools/formatted.txt <args omitted>
[main] INFO Querying Eclipse Foundation for license data for 42 items.
[main] INFO Found 32 items.
[main] INFO Querying ClearlyDefined for license data for 10 items.
[main] INFO Found 10 items.
[main] INFO License information could not be automatically verified for the following content:
[main] INFO 
[main] INFO crate/cratesio/-/lazy_static/1.5.1
[main] INFO 
[main] INFO This content is either not correctly mapped by the system, or requires review.

@github-actions

Copy link
Copy Markdown
Contributor

Documentation preview for this pull request is available at:
pr-596: https://eclipse-score.github.io/persistency/pr-596/

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant