Skip to content

Commit 838a677

Browse files
Use 'process_description module' as Process (#1192)
* Add 'release' version * Resolved links to Process Description * Adapt workflow to new target * Increase versions Co-authored-by: markus.schu <[email protected]>
1 parent 0ba5de3 commit 838a677

File tree

238 files changed

+336
-23475
lines changed

Some content is hidden

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

238 files changed

+336
-23475
lines changed

.github/workflows/docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
run: sudo apt update && sudo apt install -y graphviz
5656
- name: Build documentation
5757
run: |
58-
bazel build //docs:github_pages && cp bazel-bin/docs/github_pages.tar .
58+
bazel build //docs:github_pages__release && cp bazel-bin/docs/github_pages__release.tar .
5959
# ------------------------------------------------------------------------------
6060
# Generate a unique artifact name to ensure proper tracking in all scenarios
6161
# ------------------------------------------------------------------------------
@@ -69,7 +69,7 @@ jobs:
6969
uses: actions/[email protected]
7070
with:
7171
name: github-pages-${{ github.event.pull_request.head.sha || github.sha }}
72-
path: github_pages.tar
72+
path: github_pages__release.tar
7373
retention-days: 1
7474
if-no-files-found: error
7575

@@ -106,7 +106,7 @@ jobs:
106106
name: github-pages-${{ github.event.pull_request.head.sha || github.sha }}
107107

108108
- name: Untar documentation artifact
109-
run: mkdir -p extracted_docs && tar -xf github_pages.tar -C extracted_docs
109+
run: mkdir -p extracted_docs && tar -xf github_pages__release.tar -C extracted_docs
110110

111111
- name: Deploy 🚀
112112
id: pages-deployment

MODULE.bazel

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,15 @@ bazel_dep(name = "aspect_rules_lint", version = "1.4.2")
6565
# Java version
6666
#
6767
###############################################################################
68-
bazel_dep(name = "rules_java", version = "8.6.3")
68+
bazel_dep(name = "rules_java", version = "8.11.0")
6969

7070
###############################################################################
7171
#
7272
# Misc. dependency
7373
#
7474
###############################################################################
7575

76-
bazel_dep(name = "score_python_basics", version = "0.3.1")
76+
bazel_dep(name = "score_python_basics", version = "0.3.2")
7777

7878
###############################################################################
7979
#
@@ -90,4 +90,5 @@ bazel_dep(name = "score_cr_checker", version = "0.2.2")
9090
bazel_dep(name = "score_starpls_lsp", version = "0.1.0")
9191
# Checker rule for CopyRight checks/fixs
9292

93-
bazel_dep(name = "score_docs_as_code", version = "0.2.6")
93+
bazel_dep(name = "score_docs_as_code", version = "0.3.2")
94+
bazel_dep(name = "score_process", version = "0.2.0")

docs/BUILD

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,25 @@ docs(
2525
conf_dir = "docs",
2626
docs_targets = [
2727
{
28-
"suffix": "", # local without external needs
28+
"suffix": "latest", # latest main branch documentation build
29+
"external_needs_info": [
30+
{
31+
"base_url": "https://eclipse-score.github.io/process_description/main",
32+
"json_url": "https://eclipse-score.github.io/process_description/main/needs.json",
33+
"id_prefix": "process_",
34+
},
35+
],
36+
},
37+
{
38+
"suffix": "release", # latest main branch documentation build
39+
"target": ["@score_process//process:docs_needs_latest"],
40+
"external_needs_info": [
41+
{
42+
"base_url": "https://eclipse-score.github.io/process_description/main",
43+
"json_path": "/score_process~/process/docs_needs_latest/_build/needs/needs.json",
44+
"id_prefix": "process_",
45+
},
46+
],
2947
},
3048
],
3149
source_dir = "docs",

docs/contribute/contribution_request/feature_request.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ This Guideline is based on or references following documents:
2525

2626
* :ref:`Contribution Guideline <contribute_contribution_guideline>`
2727
* :ref:`Change Management Plan <change_mgmt_plan>`
28-
* :ref:`Feature Template <chm_feature_templates>`
28+
* :need:`Feature Template <PROCESS_gd_temp__change__feature_request>`
2929

3030
Creation of Feature Request
3131
================================
@@ -79,7 +79,7 @@ First of all, change the status of *Feature Request* to "in Progress" state.
7979
*Feature Requests*, that stay in the status "Draft" longer as 4 weeks, will be deleted.
8080
Afterwards create a PR with your proposal in the `/docs/features <https://github.com/eclipse-score/score/tree/main/docs/features>`_ score repository.
8181
There you will find currently existing features as subfolders. Please choose the one that fits your *feature request* the most or
82-
create a new subfolder, if none of existing feature match your *feature request*. Please take care, that the PR follows the :ref:`Feature Template <chm_feature_templates>`.
82+
create a new subfolder, if none of existing feature match your *feature request*. Please take care, that the PR follows the :need:`Feature Template <PROCESS_gd_temp__change__feature_request>`.
8383
You should try to put as much information as possible, as a good exhaustive description is a prerequisite for *feature request* to be accepted.
8484

8585
It is important to understand, that *feature request* consists of an GitHub Issue, that is used to track organizational information and

docs/contribute/contribution_request/index.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ How to Contribute?
2525
How we Work
2626
===========
2727

28-
At S-CORE, we believe that every contribution makes our platform stronger. Whether you're a seasoned developer or just starting out in open source, your ideas and work are warmly welcomed. We follow a structured yet flexible process rooted in our change management principles and overall lifecycle concept. For more details on our processes, feel free to explore our :ref:`general_concepts_lifecycle` and the :ref:`change_management`. And if you want to dive right into contributing, check out :ref:`what_is_a_pr` and :ref:`what_is_a_github_issue`.
28+
At S-CORE, we believe that every contribution makes our platform stronger. Whether you're a seasoned developer or just starting out in open source, your ideas and work are warmly welcomed. We follow a structured yet flexible process rooted in our change management principles and overall lifecycle concept. For more details on our processes, feel free to explore our `Life Cycle Concept <https://eclipse-score.github.io/process_description/main/general_concepts/score_lifecycle_concept.html>`_ and the :need:`doc__platform_change_management_plan`. And if you want to dive right into contributing, check out :ref:`what_is_a_pr` and :ref:`what_is_a_github_issue`.
2929

3030
Feature Requests: Our Shared Roadmap
3131
------------------------------------
@@ -95,9 +95,9 @@ A Pull Request (**PR**) is the **ONLY** way to contribute **CODE** to the *S-COR
9595

9696
The figure below shows a simplified workflow for a PR.
9797

98-
* The contributor (:need:`Contributor <rl__contributor>`) starts by creating a PR: `Creating a Pull Request (Github Docs) <https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request>`_.
98+
* The contributor (:need:`Contributor <PROCESS_rl__contributor>`) starts by creating a PR: `Creating a Pull Request (Github Docs) <https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request>`_.
9999
* Required reviewers will be automatically assigned based on the contributed content (via CODEOWNERS).
100-
* If the content fullfils the review and acceptance criteria, a committer (:need:`Committer <rl__committer>`) will approve the *PR* and thus it can be merged.
100+
* If the content fullfils the review and acceptance criteria, a committer (:need:`Committer <PROCESS_rl__committer>`) will approve the *PR* and thus it can be merged.
101101

102102
.. figure:: _assets/score_contribution_request_simple.drawio.svg
103103
:width: 600
@@ -108,7 +108,7 @@ The figure below shows a simplified workflow for a PR.
108108

109109
Content in general may contain features, requirements, architectural designs, modules, components, detailed designs, implementations and source code, tests, process descriptions, any documentations, guidelines, tutorials, tools, or infrastructure topics and more of the *S-CORE* project. In case of doubt or for any other input we strongly encourage to open a *GitHub Issue* (:need:`doc__issue_guideline`) first.
110110

111-
The *PR* should provide all required information of the new or changed content. Therefore the *S-CORE* project provides content specific templates, which the contributor (:need:`Contributor <rl__contributor>`) must use for his *PR* (ToDo link here to the templates overview). Templates may be *PR* templates, *GitHub Issue* templates and also additional document or work product templates.
111+
The *PR* should provide all required information of the new or changed content. Therefore the *S-CORE* project provides content specific templates, which the contributor (:need:`Contributor <PROCESS_rl__contributor>`) must use for his *PR* (ToDo link here to the templates overview). Templates may be *PR* templates, *GitHub Issue* templates and also additional document or work product templates.
112112

113113
The content of any *PR* is the commit content and the description as well as the comments given in GitHub and is kept in a versioned repository, their revision history is the historical record of the PR.
114114

@@ -132,23 +132,23 @@ The figure below gives an overview about all the possible steps for a *PR* until
132132
Create a PR
133133
-----------
134134

135-
The contributor (:need:`Contributor <rl__contributor>`) creates a PR.
135+
The contributor (:need:`Contributor <PROCESS_rl__contributor>`) creates a PR.
136136

137-
Reviewers will be automatically assigned (:need:`Committer <rl__committer>`) based on the contributed content (ruleset as defined by the committers). In addition several checks for the contributed content (ToDo: Link to the description of the checks) will be started.
137+
Reviewers will be automatically assigned (:need:`Committer <PROCESS_rl__committer>`) based on the contributed content (ruleset as defined by the committers). In addition several checks for the contributed content (ToDo: Link to the description of the checks) will be started.
138138

139139
Review and merge a PR
140140
---------------------
141141

142-
A *PR* is reviewed with all content that adds/modifies it. As long as a *PR* requires further work by the contributor (:need:`Contributor <rl__contributor>`), the *PR* is not approved and thus not merged and further changes are requested. Once the contributor (:need:`Contributor <rl__contributor>`) considers all review comments as resolved, :need:`Contributor <rl__contributor>` can re-request a review. The committer (:need:`Committer <rl__committer>`) reviews the *PR* content according the *S-CORE* review and acceptance criteria (ToDo link here to the criteria).
143-
Further the contributor (:need:`Contributor <rl__contributor>`) must resolve found issues from the automated checks, if they do not pass.
142+
A *PR* is reviewed with all content that adds/modifies it. As long as a *PR* requires further work by the contributor (:need:`Contributor <PROCESS_rl__contributor>`), the *PR* is not approved and thus not merged and further changes are requested. Once the contributor (:need:`Contributor <PROCESS_rl__contributor>`) considers all review comments as resolved, :need:`Contributor <PROCESS_rl__contributor>` can re-request a review. The committer (:need:`Committer <PROCESS_rl__committer>`) reviews the *PR* content according the *S-CORE* review and acceptance criteria (ToDo link here to the criteria).
143+
Further the contributor (:need:`Contributor <PROCESS_rl__contributor>`) must resolve found issues from the automated checks, if they do not pass.
144144

145-
As long as the *PR* does not meet the defined criteria and the checks does not pass, it will not be approved. If it does not follow the required templates, based on the provided content or the templates are not filled out properly, the committer as reviewer (:need:`Committer <rl__committer>`) will place the *PR* to the "Draft" state.
145+
As long as the *PR* does not meet the defined criteria and the checks does not pass, it will not be approved. If it does not follow the required templates, based on the provided content or the templates are not filled out properly, the committer as reviewer (:need:`Committer <PROCESS_rl__committer>`) will place the *PR* to the "Draft" state.
146146

147-
It is then the responsibility of the contributor (:need:`Contributor <rl__contributor>`) to add the missing information and to re-start the contribution by placing the *PR* back for review.
147+
It is then the responsibility of the contributor (:need:`Contributor <PROCESS_rl__contributor>`) to add the missing information and to re-start the contribution by placing the *PR* back for review.
148148

149149
To change from "Draft" to "Open" see `Changing the stage of a pull request (Github Docs) <https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request>`_.
150150

151-
At any point the contributor (:need:`Contributor <rl__contributor>`) may decide not to continue with the PR, then the contributor (:need:`Contributor <rl__contributor>`) just closes the PR.
151+
At any point the contributor (:need:`Contributor <PROCESS_rl__contributor>`) may decide not to continue with the PR, then the contributor (:need:`Contributor <PROCESS_rl__contributor>`) just closes the PR.
152152

153153
.. _what_is_a_github_issue:
154154

docs/contribute/development/development_environment.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
:id: doc__develop_environment
1717
:status: valid
1818
:safety: ASIL_B
19-
:realizes: wp__sw_development_plan
19+
:realizes: PROCESS_wp__sw_development_plan
2020

2121
.. _setting_up_dev_env:
2222

0 commit comments

Comments
 (0)