Skip to content

Show History of one object #11

@Phillipus

Description

@Phillipus

This comes from a comment from @janesser here - archimatetool/archi#332 (comment)

The request is to allow the History View to show the git history of one object (the commits where the object was modified). There is some POC code for coArchi 1 here - janesser/archi-modelrepository-plugin@e262972 - but the problem is that coArchi 2 does not store separate files for each object, coArchi 2 stores a single *.archimate file.

It might prove to be impractical to do this as the whole model would have to be loaded for every commit, then the object has to be found in the model by its identifier and then compared with the previous commit in order to show only the commits where this object changed.

As coArchi 2 saves a single model.archimate model file it could take a long time to load the file for every commit in its git history and search for the object by its identifier using a custom RevFilter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions