Skip to content

Conversation

@nradakovic
Copy link
Member

The current proposal doesn't work with provided instructions.

@nradakovic nradakovic self-assigned this Mar 11, 2025
@github-actions
Copy link

License Check Results

🚀 The license check preparation job ran successfully.

Status: ⚠️ Needs Review

Click to expand output
2025/03/11 17:12:44 Downloading https://releases.bazel.build/7.4.0/release/bazel-7.4.0-linux-x86_64...
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
WARNING: For repository 'googletest', the root module requires module version googletest@1.14.0, but got googletest@1.14.0.bcr.1 in the resolved dependency graph.
Loading: 
Loading: 0 packages loaded
WARNING: Target pattern parsing failed.
ERROR: Skipping '//docs:license.check.python': no such target '//docs:license.check.python': target 'license.check.python' not declared in package 'docs' defined by /home/runner/work/module_template/module_template/docs/BUILD
ERROR: no such target '//docs:license.check.python': target 'license.check.python' not declared in package 'docs' defined by /home/runner/work/module_template/module_template/docs/BUILD
INFO: Elapsed time: 6.712s
INFO: 0 processes.
ERROR: Build did NOT complete successfully
ERROR: Build failed. Not running target

@nradakovic
Copy link
Member Author

nradakovic commented Mar 11, 2025

This is not final proposal for change, it's more showcase in which direction to go. Open topics to cover:

  1. DASH license rules are not present, workflow will fail. DASH rules should be added to S-CORE Bazel Registry before they are presented in the template.
  2. Same goes for formating.
  3. Why cc_rules are not set in MODULE.bazel file and why toolchain registration is missing?
  4. Why we need to use third_party image for GitHub Actions gitlint?
  5. Why src directory needs to have dedicated language folders? For some modules this can be hard to follow.
  6. All Bazel module configurations should go in <module_name>/bazel.

@github-actions
Copy link

License Check Results

🚀 The license check preparation job ran successfully.

Status: ⚠️ Needs Review

Click to expand output
2025/03/11 17:48:30 Downloading https://releases.bazel.build/7.4.0/release/bazel-7.4.0-linux-x86_64...
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
Computing main repo mapping: 
Computing main repo mapping: 
WARNING: For repository 'googletest', the root module requires module version googletest@1.14.0, but got googletest@1.14.0.bcr.1 in the resolved dependency graph.
Computing main repo mapping: 
Loading: 
Loading: 0 packages loaded
WARNING: Target pattern parsing failed.
ERROR: Skipping '//docs:license.check.python': no such target '//docs:license.check.python': target 'license.check.python' not declared in package 'docs' defined by /home/runner/work/module_template/module_template/docs/BUILD
ERROR: no such target '//docs:license.check.python': target 'license.check.python' not declared in package 'docs' defined by /home/runner/work/module_template/module_template/docs/BUILD
INFO: Elapsed time: 5.081s
INFO: 0 processes.
ERROR: Build did NOT complete successfully
ERROR: Build failed. Not running target

@github-actions
Copy link

License Check Results

🚀 The license check preparation job ran successfully.

Status: ⚠️ Needs Review

Click to expand output
2025/03/11 17:50:41 Downloading https://releases.bazel.build/7.4.0/release/bazel-7.4.0-linux-x86_64...
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
Computing main repo mapping: 
Computing main repo mapping: 
WARNING: For repository 'googletest', the root module requires module version googletest@1.14.0, but got googletest@1.14.0.bcr.1 in the resolved dependency graph.
Computing main repo mapping: 
Loading: 
Loading: 0 packages loaded
WARNING: Target pattern parsing failed.
ERROR: Skipping '//docs:license.check.python': no such target '//docs:license.check.python': target 'license.check.python' not declared in package 'docs' defined by /home/runner/work/module_template/module_template/docs/BUILD
ERROR: no such target '//docs:license.check.python': target 'license.check.python' not declared in package 'docs' defined by /home/runner/work/module_template/module_template/docs/BUILD
INFO: Elapsed time: 5.287s
INFO: 0 processes.
ERROR: Build did NOT complete successfully
ERROR: Build failed. Not running target

README.md Outdated
Comment on lines 21 to 19
| `examples/` | Examples how to invoke targets of the module |
| `src/` | Source files for the module |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As this will be used as a template, does it make sense to have an "examples" directory which will end up in each module? Shouldn't we rather provide an empty main.cpp in src?

On the other hand having a prefilled src directory is also inconvenient, as it might lead to merge conflicts when we update our hello world in the template.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree. We do not need example folder and yes prefilled src directory can lead to certain issues. Keep it empty?

@AlexanderLanin
Copy link
Member

This is not final proposal for change, it's more showcase in which direction to go. Open topics to cover:

  1. DASH license rules are not present, workflow will fail. DASH rules should be added to S-CORE Bazel Registry before they are presented in the template.
  2. Same goes for formating.
  3. Why cc_rules are not set in MODULE.bazel file and why toolchain registration is missing?
  4. Why we need to use third_party image for GitHub Actions gitlint?
  5. Why src directory needs to have dedicated language folders? For some modules this can be hard to follow.
  6. All Bazel module configurations should go in <module_name>/bazel.

We have not touched these topics yet. We should start those discussions soonish. Well, as soon as anyone has time to work on something here. Let's address them one by one?!

@nradakovic
Copy link
Member Author

This is not final proposal for change, it's more showcase in which direction to go. Open topics to cover:

  1. DASH license rules are not present, workflow will fail. DASH rules should be added to S-CORE Bazel Registry before they are presented in the template.
  2. Same goes for formating.
  3. Why cc_rules are not set in MODULE.bazel file and why toolchain registration is missing?
  4. Why we need to use third_party image for GitHub Actions gitlint?
  5. Why src directory needs to have dedicated language folders? For some modules this can be hard to follow.
  6. All Bazel module configurations should go in <module_name>/bazel.

We have not touched these topics yet. We should start those discussions soonish. Well, as soon as anyone has time to work on something here. Let's address them one by one?!

Should I maybe open Issues where we can discuss each topic?

@github-actions
Copy link

License Check Results

🚀 The license check preparation job ran successfully.

Status: ⚠️ Needs Review

Click to expand output
2025/03/12 19:51:02 Downloading https://releases.bazel.build/7.4.0/release/bazel-7.4.0-linux-x86_64...
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
WARNING: For repository 'googletest', the root module requires module version googletest@1.14.0, but got googletest@1.14.0.bcr.1 in the resolved dependency graph.
Computing main repo mapping: 
Loading: 
Loading: 0 packages loaded
WARNING: Target pattern parsing failed.
ERROR: Skipping '//docs:license.check.python': no such target '//docs:license.check.python': target 'license.check.python' not declared in package 'docs' defined by /home/runner/work/module_template/module_template/docs/BUILD
ERROR: no such target '//docs:license.check.python': target 'license.check.python' not declared in package 'docs' defined by /home/runner/work/module_template/module_template/docs/BUILD
INFO: Elapsed time: 8.370s
INFO: 0 processes.
ERROR: Build did NOT complete successfully
ERROR: Build failed. Not running target

@github-actions
Copy link

License Check Results

🚀 The license check preparation job ran successfully.

Status: ⚠️ Needs Review

Click to expand output
2025/03/12 19:52:20 Downloading https://releases.bazel.build/7.4.0/release/bazel-7.4.0-linux-x86_64...
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
WARNING: For repository 'googletest', the root module requires module version googletest@1.14.0, but got googletest@1.14.0.bcr.1 in the resolved dependency graph.
Loading: 
Loading: 0 packages loaded
WARNING: Target pattern parsing failed.
ERROR: Skipping '//docs:license.check.python': no such target '//docs:license.check.python': target 'license.check.python' not declared in package 'docs' defined by /home/runner/work/module_template/module_template/docs/BUILD
ERROR: no such target '//docs:license.check.python': target 'license.check.python' not declared in package 'docs' defined by /home/runner/work/module_template/module_template/docs/BUILD
INFO: Elapsed time: 5.774s
INFO: 0 processes.
ERROR: Build did NOT complete successfully
ERROR: Build failed. Not running target

@nradakovic nradakovic force-pushed the nira_mt branch 2 times, most recently from 9ab2eae to f478cdc Compare March 12, 2025 19:55
@github-actions
Copy link

License Check Results

🚀 The license check preparation job ran successfully.

Status: ⚠️ Needs Review

Click to expand output
2025/03/12 19:55:34 Downloading https://releases.bazel.build/7.4.0/release/bazel-7.4.0-linux-x86_64...
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
WARNING: For repository 'googletest', the root module requires module version googletest@1.14.0, but got googletest@1.14.0.bcr.1 in the resolved dependency graph.
Loading: 
Loading: 0 packages loaded
WARNING: Target pattern parsing failed.
ERROR: Skipping '//docs:license.check.python': no such target '//docs:license.check.python': target 'license.check.python' not declared in package 'docs' defined by /home/runner/work/module_template/module_template/docs/BUILD
ERROR: no such target '//docs:license.check.python': target 'license.check.python' not declared in package 'docs' defined by /home/runner/work/module_template/module_template/docs/BUILD
INFO: Elapsed time: 6.614s
INFO: 0 processes.
ERROR: Build did NOT complete successfully
ERROR: Build failed. Not running target

@github-actions
Copy link

License Check Results

🚀 The license check preparation job ran successfully.

Status: ⚠️ Needs Review

Click to expand output
2025/03/12 19:55:53 Downloading https://releases.bazel.build/7.4.0/release/bazel-7.4.0-linux-x86_64...
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
WARNING: For repository 'googletest', the root module requires module version googletest@1.14.0, but got googletest@1.14.0.bcr.1 in the resolved dependency graph.
Loading: 
Loading: 0 packages loaded
WARNING: Target pattern parsing failed.
ERROR: Skipping '//docs:license.check.python': no such target '//docs:license.check.python': target 'license.check.python' not declared in package 'docs' defined by /home/runner/work/module_template/module_template/docs/BUILD
ERROR: no such target '//docs:license.check.python': target 'license.check.python' not declared in package 'docs' defined by /home/runner/work/module_template/module_template/docs/BUILD
INFO: Elapsed time: 6.907s
INFO: 0 processes.
ERROR: Build did NOT complete successfully
ERROR: Build failed. Not running target

@github-actions
Copy link

License Check Results

🚀 The license check preparation job ran successfully.

Status: ⚠️ Needs Review

Click to expand output
2025/03/12 19:59:49 Downloading https://releases.bazel.build/7.4.0/release/bazel-7.4.0-linux-x86_64...
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
WARNING: For repository 'googletest', the root module requires module version googletest@1.14.0, but got googletest@1.14.0.bcr.1 in the resolved dependency graph.
Loading: 
Loading: 0 packages loaded
WARNING: Target pattern parsing failed.
ERROR: Skipping '//docs:license.check.python': no such target '//docs:license.check.python': target 'license.check.python' not declared in package 'docs' defined by /home/runner/work/module_template/module_template/docs/BUILD
ERROR: no such target '//docs:license.check.python': target 'license.check.python' not declared in package 'docs' defined by /home/runner/work/module_template/module_template/docs/BUILD
INFO: Elapsed time: 6.503s
INFO: 0 processes.
ERROR: Build did NOT complete successfully
ERROR: Build failed. Not running target

The current proposal doesn't work with provided instructions.
@github-actions
Copy link

License Check Results

🚀 The license check preparation job ran successfully.

Status: ⚠️ Needs Review

Click to expand output
2025/03/12 20:01:06 Downloading https://releases.bazel.build/7.4.0/release/bazel-7.4.0-linux-x86_64...
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
Computing main repo mapping: 
Computing main repo mapping: 
WARNING: For repository 'googletest', the root module requires module version googletest@1.14.0, but got googletest@1.14.0.bcr.1 in the resolved dependency graph.
Computing main repo mapping: 
Loading: 
Loading: 0 packages loaded
WARNING: Target pattern parsing failed.
ERROR: Skipping '//docs:license.check.python': no such target '//docs:license.check.python': target 'license.check.python' not declared in package 'docs' defined by /home/runner/work/module_template/module_template/docs/BUILD
ERROR: no such target '//docs:license.check.python': target 'license.check.python' not declared in package 'docs' defined by /home/runner/work/module_template/module_template/docs/BUILD
INFO: Elapsed time: 4.907s
INFO: 0 processes.
ERROR: Build did NOT complete successfully
ERROR: Build failed. Not running target

@AlexanderLanin AlexanderLanin marked this pull request as ready for review March 17, 2025 08:38
@AlexanderLanin AlexanderLanin merged commit 185cf85 into eclipse-score:main Mar 17, 2025
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants