Time Travel

Started by johmut, February 12, 2025, 08:20:16 AM

Previous topic - Next topic

johmut

Dears,

We are modeling the target architecture in our git repository. Upon reaching a plateau, we merge our 'continuum' branch into 'master' and tag it with the Plateau name. From there the target in 'continuum' evolves over time.

How can we go back to a past Plateau in coArchi? We can switch branches but that only allows switching to the previous Plateau in 'master' and the current target in 'Continuum'. How can we go back to Plateau-2 or -5?

We would need something in coArchi to switch to 'master' and select a 'Tag' on 'master' to go back in time....

Any ideas are highly appreciated.

KR,
johmut

Phil Beauvoir

If you know which commit has been tagged (by its ID) you have the option "Restore to this commit" available from the History window. This will create a new commit in the history and revert to the chosen commit.
If you value and use Archi, please consider making a donation.
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.

johmut

Ah, yes, but ...

We wouldn't want/need to restore the branch to a previous (tagged) state. That would undo all the changes since. We just want/need to be able to pull the model as it was, on the branch, at the time of the tagged commit/merge, just to be able to see what the state/plateau of the architecture was, in case names, definitions, relations, views have changed over time. We may need to keep our release branches to be able to do that I suppose (and not delete the source branch when merging into our target branch). I was hoping to avoid that but if we do it like this we can switch to the (long-forgotten) release-branch to see what was merged into target as a tagged point-in-time. Other ideas? Please shoot...

Phil Beauvoir

So, to be exact, you want to just see the model at that commit? Then the other option is "Extract model from this commit" in the History View.
If you value and use Archi, please consider making a donation.
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.

johmut

Brilliant! That will do it. Thx!