Skip to content

Add reuse to pre commit hooks#49

Open
lurtz wants to merge 6 commits intoeclipse-score:mainfrom
elektrobit-contrib:add-reuse-to-pre-commit-hooks
Open

Add reuse to pre commit hooks#49
lurtz wants to merge 6 commits intoeclipse-score:mainfrom
elektrobit-contrib:add-reuse-to-pre-commit-hooks

Conversation

@lurtz
Copy link
Contributor

@lurtz lurtz commented Mar 17, 2026

The module_template is the starting point of a new repo and should IMHO also define how an ideal repo looks like. Thus it should have a good out of the box experience for developers and automation.

The selected tools and configuration either make setup easier, prevent mistakes or just automate version management. reuse covers the gaps, which are not handled by the copyright hook.

lurtz added 6 commits March 17, 2026 13:38
The devcontainer is a unified environment which should work in most cases without friction. This reduces setup time for developers.
Manually checking for updates is a pain in the ass and should be automated.
This prevents us to do easy to detect and fix mistakes
@github-actions
Copy link

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

@github-actions
Copy link

License Check Results

🚀 The license check job ran with the Bazel command:

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

Status: ⚠️ Needs Review

Click to expand output
[License Check Output]
Extracting Bazel installation...
Starting local Bazel server (8.3.0) and connecting to it...
INFO: Invocation ID: a924957d-cf4b-4287-ad3f-ef8d036d445f
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Loading: 
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
    currently loading: 
Loading: 0 packages loaded
    currently loading: 
Analyzing: target //:license-check (1 packages loaded, 0 targets configured)
Analyzing: target //:license-check (1 packages loaded, 0 targets configured)

Analyzing: target //:license-check (16 packages loaded, 9 targets configured)

Analyzing: target //:license-check (77 packages loaded, 9 targets configured)

Analyzing: target //:license-check (82 packages loaded, 9 targets configured)

Analyzing: target //:license-check (118 packages loaded, 495 targets configured)

Analyzing: target //:license-check (145 packages loaded, 2368 targets configured)

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

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

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

Analyzing: target //:license-check (155 packages loaded, 4811 targets configured)

Analyzing: target //:license-check (155 packages loaded, 4811 targets configured)

Analyzing: target //:license-check (155 packages loaded, 4811 targets configured)

Analyzing: target //:license-check (155 packages loaded, 4811 targets configured)

Analyzing: target //:license-check (155 packages loaded, 4811 targets configured)

Analyzing: target //:license-check (157 packages loaded, 5055 targets configured)

Analyzing: target //:license-check (157 packages loaded, 5055 targets configured)

Analyzing: target //:license-check (157 packages loaded, 5055 targets configured)

Analyzing: target //:license-check (157 packages loaded, 5055 targets configured)

Analyzing: target //:license-check (157 packages loaded, 5055 targets configured)

Analyzing: target //:license-check (157 packages loaded, 5055 targets configured)

Analyzing: target //:license-check (157 packages loaded, 5055 targets configured)

INFO: Analyzed target //:license-check (158 packages loaded, 6990 targets configured).
[9 / 13] [Prepa] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes
INFO: From Generating Dash formatted dependency file ...:
INFO: Successfully converted 2 packages from Cargo.lock to bazel-out/k8-fastbuild/bin/formatted.txt
[11 / 13] [Prepa] JavaToolchainCompileBootClasspath external/rules_java+/toolchains/platformclasspath.jar
[12 / 13] [Prepa] Building license.check.license_check.jar ()
INFO: Found 1 target...
Target //:license.check.license_check up-to-date:
  bazel-bin/license.check.license_check
  bazel-bin/license.check.license_check.jar
INFO: Elapsed time: 219.144s, Critical Path: 2.75s
INFO: 13 processes: 9 internal, 3 processwrapper-sandbox, 1 worker.
INFO: Build completed successfully, 13 total actions
INFO: Running command line: bazel-bin/license.check.license_check ./formatted.txt <args omitted>
usage: org.eclipse.dash.licenses.cli.Main [-batch <int>] [-cd <url>]
       [-confidence <int>] [-ef <url>] [-excludeSources <sources>] [-help] [-lic
       <url>] [-project <shortname>] [-repo <url>] [-review] [-summary <file>]
       [-timeout <seconds>] [-token <token>]

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

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant