Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Task] Functionality to import and export namespace packages #666

Open
atextor opened this issue Oct 24, 2024 · 0 comments
Open

[Task] Functionality to import and export namespace packages #666

atextor opened this issue Oct 24, 2024 · 0 comments
Labels
acknowledged Has been viewed by one of the maintainers and is ready for further work, discussion or other steps. task

Comments

@atextor
Copy link
Contributor

atextor commented Oct 24, 2024

Is your task related to a problem? Please describe.
ADR-0009 specifies the layout of so-called namespaces packages, zip files that contain an Aspect Model namespace directory structure and Aspect Model .ttl files.
A samm-cli command is required to create and read these files. This includes at least the following actions:

  • Create a namespace package from an input (URN or file) and its transitive dependencies, or from a given set of namespaces and/or aspect model files.
  • Import ("extract") a namespace package into a models root directory in the local file system in way that makes sense, with configurable boundary conditions (e.g., "overwrite all", "import only newer versions", "show differences",...)
  • A shortcut that transparently combines the two points above in order to sync the state of one model source to another. "Transparently" here means that a user does not see or needs to interact with the intermediary .zip file. The main use case here is "import the latest state from GitHub repository X to local workspace directory Y".

Describe the solution you'd like
For all functionality there needs to be a Java API (so that this feature can be used from the Aspect Model Editor backend) and a corresponding samm-cli command.

@atextor atextor added the task label Oct 24, 2024
@chris-volk chris-volk added the acknowledged Has been viewed by one of the maintainers and is ready for further work, discussion or other steps. label Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
acknowledged Has been viewed by one of the maintainers and is ready for further work, discussion or other steps. task
Projects
None yet
Development

No branches or pull requests

2 participants