Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# *******************************************************************************
# Copyright (c) 2026 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Apache License Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************

build --java_language_version=17
build --tool_java_language_version=17
build --java_runtime_version=remotejdk_17
build --tool_java_runtime_version=remotejdk_17

test --test_output=errors

common --registry=https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/
common --registry=https://bcr.bazel.build

# Import toolchain bazelrc file
try-import %workspace%/score.bazelrc/score_toolchain.bazelrc

# Import custom user settings
# Can be used to enable e.g. sanitizers or other features without modifying the main .bazelrc
try-import %workspace%/user.bazelrc
1 change: 1 addition & 0 deletions .bazelversion
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8.7.0
15 changes: 15 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# *******************************************************************************
# Copyright (c) 2026 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Apache License Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************

# Use Dockerfile to get dependabot version bumps after new image is released
FROM ghcr.io/eclipse-score/devcontainer:v1.11.2
6 changes: 6 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "eclipse-s-core",
"build": {
"dockerfile": "Dockerfile"
}
}
82 changes: 82 additions & 0 deletions .devcontainer/run-tool
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
#!/usr/bin/env bash

# *******************************************************************************
# Copyright (c) 2026 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Apache License Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************

# This copy is managed by repo_policy_sync in eclipse-score/tools.
# Please do not edit this copy; update the score-devcontainer-run-tool policy asset.
# Consumer repositories install this runner as .devcontainer/run-tool.
# It runs a pinned CLI tool from PATH in a container, from local PATH on the host
# when available, or through Bazel otherwise.
# Use --strict to bypass local tools on the host and force execution through Bazel.
# See https://github.com/eclipse-score/devcontainer/tree/main/tools.

set -euo pipefail

strict=0
if [[ "${1:-}" == "--strict" ]]; then
strict=1
shift
fi

if [[ "$#" -lt 1 ]]; then
echo "Usage: $0 [--strict] <tool> [args...]" >&2
exit 2
fi

tool_name="$1"
shift

# Tests can force either side of the container boundary without changing the
# automatic detection behavior. Reject invalid overrides instead of silently
# treating them as a host environment.
container_mode="${RUN_TOOL_CONTAINER_MODE:-auto}"
case "${container_mode}" in
host) is_container=0 ;;
container) is_container=1 ;;
auto)
if [[ -f /.dockerenv ]] || [[ -f /run/.containerenv ]] || [[ -d /devcontainer ]]; then
is_container=1
else
is_container=0
fi
;;
*)
echo "Invalid RUN_TOOL_CONTAINER_MODE: ${container_mode}" >&2
exit 2
;;
esac

# A container built from this catalog only ever has the pinned version on
# PATH, so container execution is direct and untouched.
if [[ "${is_container}" -eq 1 ]] && command -v "${tool_name}" >/dev/null 2>&1; then
exec "${tool_name}" "$@"
# On the host, prefer the local tool on PATH for faster execution unless --strict
# is set. If local execution fails, suggest --strict to run the pinned Bazel target.
elif [[ "${strict}" -eq 0 ]] && command -v "${tool_name}" >/dev/null 2>&1; then
if "${tool_name}" "$@"; then
exit 0
else
exit_code=$?
echo "Execution of local '${tool_name}' failed with exit code ${exit_code}." >&2
echo "Use '--strict' to bypass the local tool and run the pinned version via Bazel." >&2
exit "${exit_code}"
fi
elif command -v bazel >/dev/null 2>&1; then
# Consumer repositories expose this module as @score_devcontainer; `--`
# prevents tool flags from being interpreted as Bazel flags.
exec bazel run "@score_devcontainer//tools:${tool_name}" -- "$@"
else
echo "Could not run '${tool_name}': no container command or Bazel executable is available." >&2
exit 127
fi
25 changes: 25 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
..
# *******************************************************************************
# Copyright (c) 2026 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Apache License Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************

# GitHub CODEOWNERS file is a simple way to automate review system on github,
# by automatically assigning owners to a pull request based on which files
# were modified. All directories should have a proper codeowner
# Syntax: https://help.github.com/articles/about-codeowners/

# Note: last match wins

# default owners
# @eclipse-score/community-process
# interim solution:
* @pahmann @masc2023 @aschemmel-tech @PandaeDo @RolandJentschETAS
44 changes: 44 additions & 0 deletions .github/ISSUE_TEMPLATE/4_Task.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# *******************************************************************************
# Copyright (c) 2026 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Apache License Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************

# Copied from eclipse-score/.github, .github/ISSUE_TEMPLATE/4_Task.yml at
# 8001e21a9f9dcd70000b84376f2895011e58348c. Changed: "(S-CORE form)" added to the name, and
# `type:` removed, because issue types exist only in an organisation and a training copy
# lives in a personal account. Keep the rest identical; see training/README.md.

name: Task (S-CORE form)
description: Issue to track a Task
title: "Your Task title"
body:
- type: markdown
attributes:
value: "## <ins>Task Ticket creation</ins>"
- type: textarea
attributes:
label: What
description: |
- Goal of the Task
validations:
required: true
- type: textarea
attributes:
label: Acceptance Criteria (DoD)
description: Details on when the Task is considered "done"
validations:
required: true
- type: textarea
attributes:
label: How
description: Details on implementation approach
validations:
required: false
139 changes: 139 additions & 0 deletions .github/ISSUE_TEMPLATE/5_Bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
# *******************************************************************************
# Copyright (c) 2026 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Apache License Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************

# Copied from eclipse-score/.github, .github/ISSUE_TEMPLATE/5_Bug.yml at
# 8001e21a9f9dcd70000b84376f2895011e58348c. Changed: "(S-CORE form)" added to the name, and
# `type:` removed, because issue types exist only in an organisation and a training copy
# lives in a personal account. Keep the rest identical; see training/README.md.

name: Bug (S-CORE form)
description: Issue to track a Bug
title: "Your Bug title"
body:
- type: markdown
attributes:
value: "## <ins>Bug Ticket creation</ins>"
- type: textarea
attributes:
label: Description
description: |
Description of the Bug
Root cause / Impact / Notification required?
validations:
required: true
- type: textarea
attributes:
label: Problem notifications
description: |
Record whether notification is needed and why, including if not needed.
Identify affected parties. If notification is needed, record who was notified,
when and how, with a link to an issue comment with an explicit mention or another communication reference.
Listing a recipient alone does not record a performed notification.
For suspected vulnerabilities, follow the project's confidential reporting policy.
validations:
required: false
- type: textarea
attributes:
label: Analysis results
description: |
Documentation of the analysis results
validations:
required: false
- type: textarea
attributes:
label: Solution
description: |
Documentation of the solution
Link to Pull Request containing the solution
validations:
required: false
- type: dropdown
attributes:
label: Error Occurrence Rate
options:
- Single Event
- Sporadic
- Highly Intermittent
- Reproducible
- type: textarea
attributes:
label: How to reproduce
description: How to reproduce?
- type: textarea
attributes:
label: Supporting Information
description: |
During which operational state did the issue occur
Observations / Screenshots / Traces
validations:
required: false
- type: dropdown
attributes:
label: Classification
options:
- Minor
- Major
- Critical
- Blocker
default: 0
validations:
required: true
- type: dropdown
attributes:
label: First Affected Release
options:
- not released (main)
- pre-0.5
- 0.5
- 0.6
- 0.7
- 0.8
- 0.9
- 1.0
default: 0
validations:
required: false
- type: dropdown
attributes:
label: Last Affected Release
options:
- not released (main)
- 0.5
- 0.6
- 0.7
- 0.8
- 0.9
- 1.0
default: 0
validations:
required: false
- type: dropdown
attributes:
label: Expected Fixed Release
options:
- before release (main)
- 0.5
- 0.6
- 0.7
- 0.8
- 0.9
- 1.0
default: 0
validations:
required: false
- type: checkboxes
attributes:
label: Category
options:
- label: Safety Relevant
- label: Security Relevant
45 changes: 45 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# *******************************************************************************
# Copyright (c) 2026 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Apache License Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0
#
# AI Disclosure: This file was largely AI-generated. The AI-generated
# portions are made available under CC0-1.0 and not subject to the
# project's licence. The human contributor has reviewed and verified
# that the content is correct.
#
# SPDX-License-Identifier: Apache-2.0 AND CC0-1.0
# Assisted-by: Claude Code (claude-opus-5-5)
# *******************************************************************************
name: Bug report
description: Something in the contributor training does not work as described
labels: [bug-report]
body:
- type: markdown
attributes:
value: |
Open this in **eclipse-score/contributor_training**, not in your copy. **There is no support**: the maintainers fix the training, they do not repair copies. "When something breaks" in TRAINING.md says what you can do yourself.
- type: input
id: where
attributes:
label: Where
description: Task, file, branch or command
validations:
required: true
- type: textarea
id: what
attributes:
label: What happened, and what you expected
description: Quote the command and its output.
validations:
required: true
- type: input
id: version
attributes:
label: Training version
description: The date you made your copy, or the commit of eclipse-score/contributor_training it was made from
Loading
Loading