Skip to content

Commit 9ce6d30

Browse files
committed
fix: merge main, resolve conflicts and fix needextend tool_req link to use satisfies
2 parents 1352ab7 + ac7b065 commit 9ce6d30

71 files changed

Lines changed: 1829 additions & 1886 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/actions/link-check/action.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# *******************************************************************************
2+
# Copyright (c) 2026 Contributors to the Eclipse Foundation
3+
#
4+
# See the NOTICE file(s) distributed with this work for additional
5+
# information regarding copyright ownership.
6+
#
7+
# This program and the accompanying materials are made available under the
8+
# terms of the Apache License Version 2.0 which is available at
9+
# https://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# SPDX-License-Identifier: Apache-2.0
12+
# *******************************************************************************
113
name: 'Link Check and Automated Issue'
214
description: 'Checks links, parses results, and creates or updates an issue with findings.'
315
inputs:
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
11
#!/usr/bin/env bash
2+
# *******************************************************************************
3+
# Copyright (c) 2026 Contributors to the Eclipse Foundation
4+
#
5+
# See the NOTICE file(s) distributed with this work for additional
6+
# information regarding copyright ownership.
7+
#
8+
# This program and the accompanying materials are made available under the
9+
# terms of the Apache License Version 2.0 which is available at
10+
# https://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# SPDX-License-Identifier: Apache-2.0
13+
# *******************************************************************************
214
set -e
315
bazel run //:docs_link_check > linkcheck_output.txt || true

.github/actions/link-check/link_parser.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# *******************************************************************************
2+
# Copyright (c) 2026 Contributors to the Eclipse Foundation
3+
#
4+
# See the NOTICE file(s) distributed with this work for additional
5+
# information regarding copyright ownership.
6+
#
7+
# This program and the accompanying materials are made available under the
8+
# terms of the Apache License Version 2.0 which is available at
9+
# https://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# SPDX-License-Identifier: Apache-2.0
12+
# *******************************************************************************
113
import argparse
214
import re
315
import sys

.github/workflows/daily.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# *******************************************************************************
2+
# Copyright (c) 2026 Contributors to the Eclipse Foundation
3+
#
4+
# See the NOTICE file(s) distributed with this work for additional
5+
# information regarding copyright ownership.
6+
#
7+
# This program and the accompanying materials are made available under the
8+
# terms of the Apache License Version 2.0 which is available at
9+
# https://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# SPDX-License-Identifier: Apache-2.0
12+
# *******************************************************************************
13+
14+
name: Daily Maintenance
15+
16+
permissions:
17+
contents: write
18+
issues: write
19+
pull-requests: write
20+
pages: write
21+
id-token: write
22+
23+
on:
24+
# Runs every day at midnight UTC
25+
schedule:
26+
- cron: '0 0 * * *'
27+
28+
# On changes to this workflow file
29+
pull_request:
30+
branches:
31+
- main
32+
paths:
33+
- '.github/workflows/daily.yml'
34+
35+
# Manually trigger the workflow from the GitHub UI
36+
workflow_dispatch: {}
37+
38+
jobs:
39+
maintenance:
40+
uses: eclipse-score/cicd-workflows/.github/workflows/daily.yml@829b3e11ccbf924a5782f7bfed647cb1619fdf78 # v0.0.1

.github/workflows/link_check.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# *******************************************************************************
2+
# Copyright (c) 2026 Contributors to the Eclipse Foundation
3+
#
4+
# See the NOTICE file(s) distributed with this work for additional
5+
# information regarding copyright ownership.
6+
#
7+
# This program and the accompanying materials are made available under the
8+
# terms of the Apache License Version 2.0 which is available at
9+
# https://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# SPDX-License-Identifier: Apache-2.0
12+
# *******************************************************************************
113
name: Link Check
214

315
on:

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Run test targets
3737
run: |
3838
bazel run --lockfile_mode=error //:ide_support
39-
bazel test --lockfile_mode=error //src/...
39+
bazel test --lockfile_mode=error //src/... //score_pytest/...
4040
4141
- name: Prepare bundled consumer report
4242
if: always()

.github/workflows/test_links.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# *******************************************************************************
2+
# Copyright (c) 2026 Contributors to the Eclipse Foundation
3+
#
4+
# See the NOTICE file(s) distributed with this work for additional
5+
# information regarding copyright ownership.
6+
#
7+
# This program and the accompanying materials are made available under the
8+
# terms of the Apache License Version 2.0 which is available at
9+
# https://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# SPDX-License-Identifier: Apache-2.0
12+
# *******************************************************************************
113
name: Link Check and Automated Issue
214

315
on:

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,6 @@ styles/
2323
.venv*
2424
__pycache__/
2525
/.coverage
26+
27+
# bug: This file is created in repo root on test discovery.
28+
/consumer_test.log

.pre-commit-config.yaml

Lines changed: 39 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# *******************************************************************************
2+
# Copyright (c) 2026 Contributors to the Eclipse Foundation
3+
#
4+
# See the NOTICE file(s) distributed with this work for additional
5+
# information regarding copyright ownership.
6+
#
7+
# This program and the accompanying materials are made available under the
8+
# terms of the Apache License Version 2.0 which is available at
9+
# https://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# SPDX-License-Identifier: Apache-2.0
12+
# *******************************************************************************
113
repos:
214
- repo: https://github.com/pre-commit/pre-commit-hooks
315
rev: v6.0.0
@@ -15,11 +27,33 @@ repos:
1527
- id: check-added-large-files
1628
args: ["--maxkb=150"]
1729

18-
# use LOCAL hooks for python tooling so versions come from the virtualenv
30+
- repo: https://github.com/rhysd/actionlint
31+
rev: v1.7.11
32+
hooks:
33+
- id: actionlint
34+
args:
35+
# Disable shellcheck and pyflakes for now, to enforce consistent behavior.
36+
- -shellcheck=
37+
- -pyflakes=
38+
39+
- repo: https://github.com/astral-sh/ruff-pre-commit
40+
rev: v0.15.9
41+
hooks:
42+
- id: ruff-check
43+
args: [ --fix ]
44+
- id: ruff-format
45+
46+
# Note: this is super slow, therefore it is last
1947
- repo: local
2048
hooks:
21-
- id: Linter Scripts
22-
name: Run linter script
23-
entry: ./scripts/run-linters.sh
24-
language: unsupported_script
49+
- id: BasedPyright
50+
name: BasedPyright
51+
entry: bash -c 'bazel run //:ide_support && .venv_docs/bin/python3 -m basedpyright'
52+
language: system
2553
pass_filenames: false
54+
55+
# Ensure every file has a copyright header as per the Eclipse Foundation's requirements
56+
- repo: https://github.com/eclipse-score/tooling
57+
rev: 31ff8eee214e4e97ef8f5cb46e443273515b63ec
58+
hooks:
59+
- id: copyright

BUILD

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,12 @@
1111
# SPDX-License-Identifier: Apache-2.0
1212
# *******************************************************************************
1313

14-
load("@score_tooling//:defs.bzl", "cli_helper", "copyright_checker")
14+
load("@score_tooling//:defs.bzl", "cli_helper")
1515
load("//:docs.bzl", "docs")
1616

1717
package(default_visibility = ["//visibility:public"])
1818
exports_files(["pyproject.toml"])
1919

20-
copyright_checker(
21-
name = "copyright",
22-
srcs = [
23-
"src",
24-
"//:BUILD",
25-
"//:MODULE.bazel",
26-
],
27-
config = "@score_tooling//cr_checker/resources:config",
28-
template = "@score_tooling//cr_checker/resources:templates",
29-
visibility = ["//visibility:public"],
30-
)
31-
3220
docs(
3321
data = [
3422
"@score_process//:needs_json",

0 commit comments

Comments
 (0)