Skip to content
Open
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
128 changes: 64 additions & 64 deletions .github/ISSUE_TEMPLATE/1-bugfix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,67 +16,67 @@ description: Issue to track a bug
title: "Bug: Your bugfix title"
labels: ["codeowner_review"]
body:
- type: markdown
attributes:
value: "## <ins>Bug Ticket creation</ins>"
- type: textarea
attributes:
label: Description
description: Short Description of the Bug
validations:
required: true
- 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: Affected Version
options:
- 0.5
- 1.0
default: 0
validations:
required: true
- type: dropdown
attributes:
label: Expected Closure Version
options:
- 0.5
- 1.0
default: 0
validations:
required: false
- type: checkboxes
attributes:
label: Category
options:
- label: Safety Related
- label: Security Related
- type: markdown
attributes:
value: "## <ins>Bug Ticket creation</ins>"
- type: textarea
attributes:
label: Description
description: Short Description of the Bug
validations:
required: true
- 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: Affected Version
options:
- 0.5
- 1.0
default: 0
validations:
required: true
- type: dropdown
attributes:
label: Expected Closure Version
options:
- 0.5
- 1.0
default: 0
validations:
required: false
- type: checkboxes
attributes:
label: Category
options:
- label: Safety Related
- label: Security Related
68 changes: 34 additions & 34 deletions .github/ISSUE_TEMPLATE/2-improvement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,37 +16,37 @@ description: Issue to track a improvement / task
title: "Improvement: Your Improvement title"
labels: ["codeowner_review"]
body:
- type: textarea
attributes:
label: What
description: |
- Goal of the Improvement / Task
- If Req/Architecture is affected, the template of
[Change Management](https://eclipse-score.github.io/process_description/main/process_areas/change_management/guidance/change_management_impact_analysis_template.html) needs to be used
validations:
required: true
- type: textarea
attributes:
label: How
description: Details on implementation approach
validations:
required: false
- type: textarea
attributes:
label: Estimates for realization
description: |
- Estimate the effort, resources, risk for the realization
- Impact to users of the feature
validations:
required: true
- type: checkboxes
attributes:
label: Category
options:
- label: Affects Detailed Design
- type: checkboxes
attributes:
label: Requirements / Architecture
options:
- label: Requirements / Architecture are not affected by this change?
required: true
- type: textarea
attributes:
label: What
description: |
- Goal of the Improvement / Task
- If Req/Architecture is affected, the template of
[Change Management](https://eclipse-score.github.io/process_description/main/process_areas/change_management/guidance/change_management_impact_analysis_template.html) needs to be used
validations:
required: true
- type: textarea
attributes:
label: How
description: Details on implementation approach
validations:
required: false
- type: textarea
attributes:
label: Estimates for realization
description: |
- Estimate the effort, resources, risk for the realization
- Impact to users of the feature
validations:
required: true
- type: checkboxes
attributes:
label: Category
options:
- label: Affects Detailed Design
- type: checkboxes
attributes:
label: Requirements / Architecture
options:
- label: Requirements / Architecture are not affected by this change?
required: true
26 changes: 13 additions & 13 deletions .github/workflows/build_and_test_host_gcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ on:
merge_group:
types: [checks_requested]
jobs:
build_and_test_gcc_host_gcc12:
runs-on: ubuntu-latest
container:
image: ghcr.io/eclipse-score/devcontainer:latest
steps:
- name: Checkout repository
uses: actions/checkout@v4.2.2
- name: Bazel build communication targets
run: |
bazel build //...
- name: Bazel test communication targets
run: |
bazel test //... --build_tests_only
build_and_test_gcc_host_gcc12:
runs-on: ubuntu-latest
container:
image: ghcr.io/eclipse-score/devcontainer:latest
steps:
- name: Checkout repository
uses: actions/checkout@v4.2.2
- name: Bazel build communication targets
run: |
bazel build //...
- name: Bazel test communication targets
run: |
bazel test //... --build_tests_only
11 changes: 11 additions & 0 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,14 @@
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************
load("@score_format_checker//:macros.bzl", "use_format_targets")
load("@score_starpls_lsp//:starpls.bzl", "setup_starpls")

# Add target for formatting checks
use_format_targets()

# Add StarPLS server for formatting
setup_starpls(
name = "starpls_server",
visibility = ["//visibility:public"],
)
51 changes: 35 additions & 16 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
# *******************************************************************************
module(name = "communication")


bazel_dep(name = "platforms", version = "0.0.11")
bazel_dep(name = "score_toolchains_gcc", version = "0.4", dev_dependency=True)

gcc = use_extension("@score_toolchains_gcc//extentions:gcc.bzl", "gcc", dev_dependency=True)
bazel_dep(name = "score_toolchains_gcc", version = "0.4", dev_dependency = True)

gcc = use_extension("@score_toolchains_gcc//extentions:gcc.bzl", "gcc", dev_dependency = True)
gcc.toolchain(
url = "https://github.com/eclipse-score/toolchains_gcc_packages/releases/download/0.0.1/x86_64-unknown-linux-gnu_gcc12.tar.gz",
sha256 = "457f5f20f57528033cb840d708b507050d711ae93e009388847e113b11bf3600",
strip_prefix = "x86_64-unknown-linux-gnu",
url = "https://github.com/eclipse-score/toolchains_gcc_packages/releases/download/0.0.1/x86_64-unknown-linux-gnu_gcc12.tar.gz",
)

# TODO to be moved to toolchain. https://github.com/eclipse-score/toolchains_gcc/issues/11
Expand All @@ -31,32 +31,51 @@ gcc.extra_features(
],
)
gcc.warning_flags(
minimal_warnings = ["-Wall", "-Wno-error=deprecated-declarations"],
strict_warnings = ["-Wextra", "-Wpedantic"],
minimal_warnings = [
"-Wall",
"-Wno-error=deprecated-declarations",
],
strict_warnings = [
"-Wextra",
"-Wpedantic",
],
treat_warnings_as_errors = ["-Werror"],
)

use_repo(gcc, "gcc_toolchain", "gcc_toolchain_gcc")

bazel_dep(name = "googletest", version = "1.15.0")
bazel_dep(name = "google_benchmark", version = "1.9.1")

bazel_dep(name = "rules_rust", version = "0.61.0")

crate = use_extension("@rules_rust//crate_universe:extensions.bzl", "crate")

crate.spec(package = "futures", version = "0.3.31")
crate.spec(package = "libc", version = "0.2.155")
crate.spec(package = "clap", version = "4.5.4", features = ["derive"])
# Format checker
bazel_dep(name = "score_format_checker", version = "0.1.1")
bazel_dep(name = "aspect_rules_lint", version = "1.0.3")
bazel_dep(name = "buildifier_prebuilt", version = "7.3.1")
bazel_dep(name = "score_starpls_lsp", version = "0.1.0")

crate.spec(
package = "futures",
version = "0.3.31",
)
crate.spec(
package = "libc",
version = "0.2.155",
)
crate.spec(
features = ["derive"],
package = "clap",
version = "4.5.4",
)
crate.from_specs(name = "crate_index")
use_repo(crate, "crate_index")

bazel_dep(name = "rules_boost", repo_name = "com_github_nelhage_rules_boost")
archive_override(
module_name = "rules_boost",
urls = "https://github.com/nelhage/rules_boost/archive/refs/heads/master.tar.gz",
strip_prefix = "rules_boost-master",
urls = "https://github.com/nelhage/rules_boost/archive/refs/heads/master.tar.gz",
)

non_module_boost_repositories = use_extension("@com_github_nelhage_rules_boost//:boost/repositories.bzl", "non_module_dependencies")
Expand All @@ -65,22 +84,22 @@ use_repo(
"boost",
)


bazel_dep(name = "download_utils", version = "1.0.1")

download_archive = use_repo_rule("@download_utils//download/archive:defs.bzl", "download_archive")

download_archive(
name = "json_schema_validator",
urls = ["https://github.com/pboettch/json-schema-validator/archive/refs/tags/2.1.0.tar.gz"],
build = "//third_party/json_schema_validator:json_schema_validator.BUILD",
strip_prefix = "json-schema-validator-2.1.0",
urls = ["https://github.com/pboettch/json-schema-validator/archive/refs/tags/2.1.0.tar.gz"],
)

bazel_dep(name = "nlohmann_json", version = "3.11.3")
bazel_dep(name = "bazel_skylib", version = "1.7.1")

bazel_dep(name = "score-baselibs", version = "0.0.0")
git_override(
module_name = "score-baselibs",
remote = "https://github.com/eclipse-score/baselibs.git",
commit = "46923f5c4f302bd9feae0261588687aaf32e3c5c",
remote = "https://github.com/eclipse-score/baselibs.git",
)
Loading
Loading