Skip to content

add design decision for break cyclic dependency between docs-as-code and process repository #2499

Merged
AlexanderLanin merged 14 commits intoeclipse-score:mainfrom
etas-contrib:dr_007_docs_as_code_repo_independence
Feb 5, 2026
Merged

add design decision for break cyclic dependency between docs-as-code and process repository #2499
AlexanderLanin merged 14 commits intoeclipse-score:mainfrom
etas-contrib:dr_007_docs_as_code_repo_independence

Conversation

@RolandJentschETAS
Copy link
Contributor

@RolandJentschETAS RolandJentschETAS commented Jan 26, 2026

Add design decision for break cyclic repository between docs-as-code and process repository

Rendered: https://eclipse-score.github.io/score/pr-2499/design_decisions/DR-007-infra.html

@github-actions
Copy link

⚠️ Docs-as-Code version mismatch detected
Please check the CI build logs for details and align the documentation version with the Bazel dependency.

@RolandJentschETAS RolandJentschETAS force-pushed the dr_007_docs_as_code_repo_independence branch from 38f4bbc to e6d9fa3 Compare January 26, 2026 11:02
@github-actions
Copy link

The created documentation from the pull request is available at: docu-html

@AlexanderLanin
Copy link
Member

  • As discussed please add option 5: move examples to docs-as-code. Maybe it doesn't make sense, maybe it does. It should be evaluated.
  • Please add option 0 to the evaluation table: no change
  • Please add explanations to each line in the evaluation table, explaining each of those keywords.

Copy link
Contributor

@aschemmel-tech aschemmel-tech left a comment

Choose a reason for hiding this comment

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

Like discussed in the process community, I am also fine with selection of option 2.

Option 6 compromises maintainability.

**Decision:** Option 2 or Option 5 both provide the same benefits but Option 5 requires less effort, so we pick it.
**Decision:** Option 5 is obviously the best choice.
Copy link
Contributor

Choose a reason for hiding this comment

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

See here, was also presented and discussed
https://github.com/orgs/eclipse-score/discussions/407#discussioncomment-15605348
Option 2 was preferred as it would give independence in the form, that process_description could be used also with other tools, or doc-as-code could even use other models, is that reflected here?

Copy link
Contributor

Choose a reason for hiding this comment

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

Independence is actually slightly better with Option 5 hence the 💛 vs 💚 difference. Option 2 provides independence but requires process_description to specify the meta model "in full detail". For contrast, with Option 5 only vague textual requirements are needed.

Both, Option 2 and 5 would allow for alternative tools (like TLRC).

@a-zw a-zw force-pushed the dr_007_docs_as_code_repo_independence branch from 2944d89 to 9e16555 Compare February 3, 2026 10:26
@RolandJentschETAS RolandJentschETAS changed the title add design decision for break cyclic repository between docs-as-code and process add design decision for break cyclic repository dependency between docs-as-code and process Feb 3, 2026
@RolandJentschETAS RolandJentschETAS changed the title add design decision for break cyclic repository dependency between docs-as-code and process add design decision for break cyclic dependency between docs-as-code and process repository Feb 3, 2026
@a-zw a-zw force-pushed the dr_007_docs_as_code_repo_independence branch from 4a96413 to d947f9a Compare February 4, 2026 15:12
@a-zw
Copy link
Contributor

a-zw commented Feb 4, 2026

Now option 3 wins: Move examples to module_template repository

Copy link
Contributor

@aschemmel-tech aschemmel-tech left a comment

Choose a reason for hiding this comment

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

Agree to Option 3 as in discussion. One documentation issue stated inline.


Extract all example Sphinx-Needs objects (currently imported into docs-as-code) into ``module_template``.
The process repository is independent and docs-as-code repositories would depend on this third repository for examples, breaking the cyclic dependency.
But this adds complexity with an additional repository to maintain and still contains cyclic dependencies between all three repositories.
Copy link
Contributor

Choose a reason for hiding this comment

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

My impression from the discussion was not that this solution "still contains cyclic dependencies between all three repositories"

Copy link
Contributor

Choose a reason for hiding this comment

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

Good catch. That is outdated text which I forgot to update.

@MaximilianSoerenPollak
Copy link
Contributor

Now option 3 wins: Move examples to module_template repository

Move the templates to module_template right?
The examples are inside of Docs-As-Code, or am I looking at the wrong picture?

@masc2023
Copy link
Contributor

masc2023 commented Feb 5, 2026

Now option 3 wins: Move examples to module_template repository

Move the templates to module_template right? The examples are inside of Docs-As-Code, or am I looking at the wrong picture?

Yes, that was discussed, examples in doc-as-code, templates for the modules into module_templates, may high-level templates stay in process_description, but they are very stable

Copy link
Contributor

@masc2023 masc2023 left a comment

Choose a reason for hiding this comment

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

See comment

Also, fix a few minor misunderstandings.
@a-zw a-zw requested a review from masc2023 February 5, 2026 15:06
@AlexanderLanin AlexanderLanin merged commit 7d252e7 into eclipse-score:main Feb 5, 2026
6 checks passed
masc2023 pushed a commit that referenced this pull request Feb 8, 2026
…as-code and process repository (#2499)

Co-authored-by: Andreas Zwinkau <[email protected]>
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.

6 participants