Skip to content

Commit a500c7b

Browse files
committed
bazel: apply autoformatting
1 parent ee4f71b commit a500c7b

File tree

24 files changed

+328
-313
lines changed

24 files changed

+328
-313
lines changed

.github/ISSUE_TEMPLATE/1-bugfix.yml

Lines changed: 64 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -16,67 +16,67 @@ description: Issue to track a bug
1616
title: "Bug: Your bugfix title"
1717
labels: ["codeowner_review"]
1818
body:
19-
- type: markdown
20-
attributes:
21-
value: "## <ins>Bug Ticket creation</ins>"
22-
- type: textarea
23-
attributes:
24-
label: Description
25-
description: Short Description of the Bug
26-
validations:
27-
required: true
28-
- type: dropdown
29-
attributes:
30-
label: Error Occurrence Rate
31-
options:
32-
- Single Event
33-
- Sporadic
34-
- Highly Intermittent
35-
- Reproducible
36-
- type: textarea
37-
attributes:
38-
label: How to reproduce
39-
description: How to reproduce?
40-
- type: textarea
41-
attributes:
42-
label: Supporting Information
43-
description: |
44-
During which operational state did the issue occur
45-
Observations / Screenshots / Traces
46-
validations:
47-
required: false
48-
- type: dropdown
49-
attributes:
50-
label: Classification
51-
options:
52-
- minor
53-
- major
54-
- critical
55-
- blocker
56-
default: 0
57-
validations:
58-
required: true
59-
- type: dropdown
60-
attributes:
61-
label: Affected Version
62-
options:
63-
- 0.5
64-
- 1.0
65-
default: 0
66-
validations:
67-
required: true
68-
- type: dropdown
69-
attributes:
70-
label: Expected Closure Version
71-
options:
72-
- 0.5
73-
- 1.0
74-
default: 0
75-
validations:
76-
required: false
77-
- type: checkboxes
78-
attributes:
79-
label: Category
80-
options:
81-
- label: Safety Related
82-
- label: Security Related
19+
- type: markdown
20+
attributes:
21+
value: "## <ins>Bug Ticket creation</ins>"
22+
- type: textarea
23+
attributes:
24+
label: Description
25+
description: Short Description of the Bug
26+
validations:
27+
required: true
28+
- type: dropdown
29+
attributes:
30+
label: Error Occurrence Rate
31+
options:
32+
- Single Event
33+
- Sporadic
34+
- Highly Intermittent
35+
- Reproducible
36+
- type: textarea
37+
attributes:
38+
label: How to reproduce
39+
description: How to reproduce?
40+
- type: textarea
41+
attributes:
42+
label: Supporting Information
43+
description: |
44+
During which operational state did the issue occur
45+
Observations / Screenshots / Traces
46+
validations:
47+
required: false
48+
- type: dropdown
49+
attributes:
50+
label: Classification
51+
options:
52+
- minor
53+
- major
54+
- critical
55+
- blocker
56+
default: 0
57+
validations:
58+
required: true
59+
- type: dropdown
60+
attributes:
61+
label: Affected Version
62+
options:
63+
- 0.5
64+
- 1.0
65+
default: 0
66+
validations:
67+
required: true
68+
- type: dropdown
69+
attributes:
70+
label: Expected Closure Version
71+
options:
72+
- 0.5
73+
- 1.0
74+
default: 0
75+
validations:
76+
required: false
77+
- type: checkboxes
78+
attributes:
79+
label: Category
80+
options:
81+
- label: Safety Related
82+
- label: Security Related

.github/ISSUE_TEMPLATE/2-improvement.yml

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -16,37 +16,37 @@ description: Issue to track a improvement / task
1616
title: "Improvement: Your Improvement title"
1717
labels: ["codeowner_review"]
1818
body:
19-
- type: textarea
20-
attributes:
21-
label: What
22-
description: |
23-
- Goal of the Improvement / Task
24-
- If Req/Architecture is affected, the template of
25-
[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
26-
validations:
27-
required: true
28-
- type: textarea
29-
attributes:
30-
label: How
31-
description: Details on implementation approach
32-
validations:
33-
required: false
34-
- type: textarea
35-
attributes:
36-
label: Estimates for realization
37-
description: |
38-
- Estimate the effort, resources, risk for the realization
39-
- Impact to users of the feature
40-
validations:
41-
required: true
42-
- type: checkboxes
43-
attributes:
44-
label: Category
45-
options:
46-
- label: Affects Detailed Design
47-
- type: checkboxes
48-
attributes:
49-
label: Requirements / Architecture
50-
options:
51-
- label: Requirements / Architecture are not affected by this change?
52-
required: true
19+
- type: textarea
20+
attributes:
21+
label: What
22+
description: |
23+
- Goal of the Improvement / Task
24+
- If Req/Architecture is affected, the template of
25+
[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
26+
validations:
27+
required: true
28+
- type: textarea
29+
attributes:
30+
label: How
31+
description: Details on implementation approach
32+
validations:
33+
required: false
34+
- type: textarea
35+
attributes:
36+
label: Estimates for realization
37+
description: |
38+
- Estimate the effort, resources, risk for the realization
39+
- Impact to users of the feature
40+
validations:
41+
required: true
42+
- type: checkboxes
43+
attributes:
44+
label: Category
45+
options:
46+
- label: Affects Detailed Design
47+
- type: checkboxes
48+
attributes:
49+
label: Requirements / Architecture
50+
options:
51+
- label: Requirements / Architecture are not affected by this change?
52+
required: true

.github/workflows/build_and_test_host_gcc.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ on:
2121
merge_group:
2222
types: [checks_requested]
2323
jobs:
24-
build_and_test_gcc_host_gcc12:
25-
runs-on: ubuntu-latest
26-
container:
27-
image: ghcr.io/eclipse-score/devcontainer:latest
28-
steps:
29-
- name: Checkout repository
30-
uses: actions/checkout@v4.2.2
31-
- name: Bazel build communication targets
32-
run: |
33-
bazel build //...
34-
- name: Bazel test communication targets
35-
run: |
36-
bazel test //... --build_tests_only
24+
build_and_test_gcc_host_gcc12:
25+
runs-on: ubuntu-latest
26+
container:
27+
image: ghcr.io/eclipse-score/devcontainer:latest
28+
steps:
29+
- name: Checkout repository
30+
uses: actions/checkout@v4.2.2
31+
- name: Bazel build communication targets
32+
run: |
33+
bazel build //...
34+
- name: Bazel test communication targets
35+
run: |
36+
bazel test //... --build_tests_only

MODULE.bazel

Lines changed: 28 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,14 @@
1313
module(name = "communication")
1414

1515
bazel_dep(name = "platforms", version = "0.0.11")
16+
1617
bazel_dep(name = "score_toolchains_gcc", version = "0.4", dev_dependency = True)
1718

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

2526
# TODO to be moved to toolchain. https://github.com/eclipse-score/toolchains_gcc/issues/11
@@ -30,16 +31,20 @@ gcc.extra_features(
3031
],
3132
)
3233
gcc.warning_flags(
33-
minimal_warnings = ["-Wall", "-Wno-error=deprecated-declarations"],
34-
strict_warnings = ["-Wextra", "-Wpedantic"],
34+
minimal_warnings = [
35+
"-Wall",
36+
"-Wno-error=deprecated-declarations",
37+
],
38+
strict_warnings = [
39+
"-Wextra",
40+
"-Wpedantic",
41+
],
3542
treat_warnings_as_errors = ["-Werror"],
3643
)
37-
3844
use_repo(gcc, "gcc_toolchain", "gcc_toolchain_gcc")
3945

4046
bazel_dep(name = "googletest", version = "1.15.0")
4147
bazel_dep(name = "google_benchmark", version = "1.9.1")
42-
4348
bazel_dep(name = "rules_rust", version = "0.61.0")
4449

4550
crate = use_extension("@rules_rust//crate_universe:extensions.bzl", "crate")
@@ -50,18 +55,27 @@ bazel_dep(name = "aspect_rules_lint", version = "1.0.3")
5055
bazel_dep(name = "buildifier_prebuilt", version = "7.3.1")
5156
bazel_dep(name = "score_starpls_lsp", version = "0.1.0")
5257

53-
crate.spec(package = "futures", version = "0.3.31")
54-
crate.spec(package = "libc", version = "0.2.155")
55-
crate.spec(package = "clap", version = "4.5.4", features = ["derive"])
56-
58+
crate.spec(
59+
package = "futures",
60+
version = "0.3.31",
61+
)
62+
crate.spec(
63+
package = "libc",
64+
version = "0.2.155",
65+
)
66+
crate.spec(
67+
features = ["derive"],
68+
package = "clap",
69+
version = "4.5.4",
70+
)
5771
crate.from_specs(name = "crate_index")
5872
use_repo(crate, "crate_index")
5973

6074
bazel_dep(name = "rules_boost", repo_name = "com_github_nelhage_rules_boost")
6175
archive_override(
6276
module_name = "rules_boost",
63-
urls = "https://github.com/nelhage/rules_boost/archive/refs/heads/master.tar.gz",
6477
strip_prefix = "rules_boost-master",
78+
urls = "https://github.com/nelhage/rules_boost/archive/refs/heads/master.tar.gz",
6579
)
6680

6781
non_module_boost_repositories = use_extension("@com_github_nelhage_rules_boost//:boost/repositories.bzl", "non_module_dependencies")
@@ -71,20 +85,21 @@ use_repo(
7185
)
7286

7387
bazel_dep(name = "download_utils", version = "1.0.1")
88+
7489
download_archive = use_repo_rule("@download_utils//download/archive:defs.bzl", "download_archive")
90+
7591
download_archive(
7692
name = "json_schema_validator",
77-
urls = ["https://github.com/pboettch/json-schema-validator/archive/refs/tags/2.1.0.tar.gz"],
7893
build = "//third_party/json_schema_validator:json_schema_validator.BUILD",
7994
strip_prefix = "json-schema-validator-2.1.0",
95+
urls = ["https://github.com/pboettch/json-schema-validator/archive/refs/tags/2.1.0.tar.gz"],
8096
)
8197

8298
bazel_dep(name = "nlohmann_json", version = "3.11.3")
8399
bazel_dep(name = "bazel_skylib", version = "1.7.1")
84-
85100
bazel_dep(name = "score-baselibs", version = "0.0.0")
86101
git_override(
87102
module_name = "score-baselibs",
88-
remote = "https://github.com/eclipse-score/baselibs.git",
89103
commit = "46923f5c4f302bd9feae0261588687aaf32e3c5c",
104+
remote = "https://github.com/eclipse-score/baselibs.git",
90105
)

MODULE.bazel.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

score/mw/com/BUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
# SPDX-License-Identifier: Apache-2.0
1212
# *******************************************************************************
1313
load("@score-baselibs//bazel:unit_tests.bzl", "cc_gtest_unit_test", "cc_unit_test_suites_for_host_and_qnx")
14-
load("//score/mw:common_features.bzl", "COMPILER_WARNING_FEATURES")
1514
load("@score-baselibs//score/quality/clang_tidy:extra_checks.bzl", "clang_tidy_extra_checks")
15+
load("//score/mw:common_features.bzl", "COMPILER_WARNING_FEATURES")
1616

1717
cc_library(
1818
name = "com_error_domain",
@@ -82,9 +82,9 @@ cc_library(
8282
],
8383
deps = [
8484
"@score-baselibs//score/filesystem",
85+
"@score-baselibs//score/language/futurecpp",
8586
"@score-baselibs//score/memory:string_literal",
8687
"@score-baselibs//score/mw/log",
87-
"@score-baselibs//score/language/futurecpp",
8888
],
8989
)
9090

score/mw/com/example/ipc_bridge/BUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ cc_binary(
2525
deps = [
2626
":sample_sender_receiver",
2727
"//score/mw/com",
28-
"@score-baselibs//score/mw/log",
29-
"@score-baselibs//score/language/futurecpp",
3028
"@boost.program_options",
29+
"@score-baselibs//score/language/futurecpp",
30+
"@score-baselibs//score/mw/log",
3131
],
3232
)
3333

0 commit comments

Comments
 (0)