-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0315c65
commit 57a1f0e
Showing
4 changed files
with
294 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
<!-- | ||
~ Copyright DB Netz AG and contributors | ||
~ SPDX-License-Identifier: Apache-2.0 | ||
--> | ||
|
||
End goal: | ||
|
||
- Commit-based "news feed" in collab manager | ||
- Also viewable as standalone HTML report | ||
- Run in pipeline for newest changes of each commit | ||
- Run for any arbitrary two commits (e.g. tag BL_10 vs. tag BL_11) | ||
|
||
- Something like: python -m whatevermod --previous COMMITISH --current COMMITISH | ||
|
||
- Produces JSON or YAML report, which can be displayed interactively | ||
|
||
- Some tree structure, commit as tree root | ||
|
||
drill down into changed objects: | ||
|
||
Commit ABCDEF0 by Guy 1 on <date/time> | ||
|
||
Changed diagrams: | ||
> [SAB] System: 20 changes (click to expand...) | ||
> ... | ||
v [CDC] Mission | ||
Introduced: | ||
- Capability 1 | ||
Removed: | ||
- Capability 7 | ||
> ... | ||
|
||
Changes on OA: | ||
> OperationalActivity: 3 created, 5 deleted, 1 modified (click to expand...) | ||
> ... | ||
v OperationalCapability: | ||
| Created: | ||
| > New thing A (click to show details) | ||
| v New thing B | ||
| uuid: 13579BDF-... | ||
| name: New thing B | ||
| description: <p>...</p> | ||
| ... | ||
| | ||
| Deleted: | ||
| - Old Name 1 (12345678-...) | ||
| - Old Name 2 (9ABCDEF0-...) | ||
| ... | ||
| | ||
| Modified: | ||
| - Capsoup (2468ACE0-...) | ||
| Name changed from X to Capsoup | ||
|
||
Changes on SA: | ||
... | ||
|
||
Changes on LA: | ||
... | ||
|
||
------------------------------------ | ||
|
||
Changed objects: | ||
- Function ABC | ||
> new input: ... | ||
> input deleted: ... | ||
> name changed: ... | ||
|
||
> child change: | ||
- ... | ||
> ... | ||
|
||
Changed diagrams: | ||
- Diagram XYZ | ||
> Box "Function ABC" added | ||
(only semantic changes, layout is ignored / summarized as "layout changes") | ||
-> link to diagram cache, or left / right display, visual diff tool, w/e | ||
|
||
... and other changes (which we don't know how to show yet) :) // (XML tree diff?) | ||
|
||
Commit 1234567 by Guy 2 on <date/time>: Changed 200 objects and 20 diagrams (click to expand...) | ||
|
||
Objects of interest: | ||
|
||
For OA: OperationalActivity, FunctionalExchange, OperationalCapability | ||
Diagrams (OA): COC, OAIB, OPD, OAB, O.MSM, O.STM(?), O.CDB (low-prio) | ||
|
||
For SA: SystemComponent (+ Parts) -> distinguish between actor/non-actor; + allocated SystemFunctions | ||
Capabilities + Involvements | ||
Diagrams (SA): CC, SDFB, MCB, SAB | ||
|
||
Start with OperationalActivity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# Copyright DB Netz AG and contributors | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
metadata: | ||
model: | ||
path: git+https://git.tech.rz.db.de/god/automated-train | ||
old_revision: | ||
hash: commit_A | ||
author: Person A | ||
date: 2023-09-01 09:30:00 | ||
description: |- | ||
Do work | ||
In this commit, work was done. | ||
Co-authored-by: Arufua <[email protected]> | ||
Signed-off-by: Executive C <[email protected]> | ||
new_revision: | ||
hash: commit_B | ||
author: Person B | ||
date: 2023-09-28 14:00:00 | ||
description: A couple minor changes | ||
|
||
diagrams: | ||
oa: | ||
created: | ||
- Diagram 1 | ||
- Diagram 2 | ||
deleted: | ||
- Diagram 3 | ||
- Diagram 4 | ||
changed: | ||
- id: _ABCDEFGHI | ||
name: Diagram 5 | ||
layout_changes: true | ||
introduced: | ||
- id: 12345678-... | ||
name: Operational Activity 1 | ||
- id: 12345678-... | ||
name: Operational Activity 2 | ||
removed: | ||
- id: 12345678-... | ||
name: Operational Activity 3 | ||
|
||
objects: | ||
oa: | ||
OperationalActivity: | ||
created: | ||
- uuid: 13579BDF-... | ||
name: New thing B | ||
description: <p>...</p> # maybe use '!html' ? | ||
deleted: | ||
- uuid: 12345678-... | ||
name: Old Name 1 | ||
description: <p>...</p> | ||
modified: | ||
- uuid: 2468ACE0-... | ||
display_name: Capsoup # always the current name, for showing in the frontend | ||
changes: | ||
name: | ||
previous: null | ||
current: Capsoup | ||
OperationalCapability: | ||
...: ... | ||
|
||
sa: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/sh -e | ||
# Copyright DB Netz AG and contributors | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
exec python -m model_diffsummary autotrain 2ffa0e6e828378550cabec5ff32cf5b4a834d1fc HEAD |