-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
The configuration of the V-SUMM should follow the steps of the methodologist template and add some handy CLI functionality.
-
Starting the Vitruv-Shell
- proposed command:
vitruv
- proposed command:
-
Adding Metamodels to the Configuration
- proposed command:
add-metamodelor shortadd-mm<path to .ecore-file> -flags(?)- should be an arbitrary string (or lets say just [a-z,A-Z,0-9]{3-*} or so) to identify the metamodel instead of using something like the namespace uri (which nobody will know by heart)
-cto copy metamodel (standard)-mto move metamodel- maybe just go with copying
- at least two metamodels should be added
- proposed command:
remove-metamodelor shortrem-mm-d- removes metamodel from V-SUMM config
- from add-command
- '-d' if set, also deletes metamodel from disk
- proposed command:
-
Adding Reactions to the Configuration
- proposed commands
add-reaction/add-rc<path to .reaction-file> -flags(?)- see
add-metamodel - additional validation step to check if sourc and target metamodel are already known in the configuration
- see
- proposed commands
remove-reaction/rem-rc-d- see
remove-metamodel
- see
- proposed commands
check-reaction-coverage/chk-rc-covto list and check between which metamodels and in which directions do reactions exist- identify “dangling metamodels” which are not connected to the rest
- maybe in future this can go down to the “trigger-level” to identify “un-addressed original changes”
- proposed command
enable-transitive-changes/en-tcanddisable-transitive-changes/dis-tc- I do not know if this is even possible at the moment but just for completion
- proposed commands
-
(Adding view descriptions)
- I guess this point needs some more work beforehand. For me this creates a few new questions like:
- Can we already address Single/Multi-Model Views
- Are the same reactions used and what happens if the repair of one part of an original change overwrites the second part of the original change.
- I guess this point needs some more work beforehand. For me this creates a few new questions like:
-
Additional Commands
- proposed command
save-configuration/safe-cfg- as above to easily switch between V-SUMMs
- saves the configuration in some format that is easily readable/ understandable
- I do not know if there is some zipping, moving, unzipping of folders needed or if this is a use case that can maybe be “lifted” to the V-SUMM-level (build the V-SUMM and save its “.exe” or so)
- proposed command
load-configuration/load-cfg- loads a configuration and lets you continue or adjust its parts
- proposed command
exit-configuration/exit- just close the shell application (Do you want to save? Progress will be lost! or so)
- proposed command
build-vsumm/build/start- freezes configuration and starts maven. V-SUMM is built and the next consol application starts (other sub-issue)
- proposed command
show-configuration/show-cfg/show- prints the whole configuration into the console
- proposed command
check-configuration/chk-cfg/check- prints the whole configuration into the console AND also checks the reactions (see above) and in the future the views
- note that short commands like
showandcheckmay become ambiguous when there is also a CLI for interacting with the V-SUM(M) - proposed command
help- lists all the commands with explanation and parameters.
- proposed command
I think there are multiple 3rd party frameworks for these ideas. This list should be considered a first draft and subject to discussions. Please reach out to me if you have remarks/ ideas.
Dirk
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed