Skip to content

Handling of remote repos and mnemonics #43

@amhellmund

Description

@amhellmund

@claude
The handling of remote repos and mnemonics is still suboptimal. Here is the target state.

  • There must be at least one mnemonic per archml workspace, typically the name of the workspace.
  • It is not possible to define mnemonics of the form name/subname.
  • Each mnemonics must begin with a letter followed by alphanumeric letters, dashes or understores. Every letter must be lowercase. All other letters are not allowed.
  • A source file always belongs to a repository.
  • Imports without a @repo are resolved from the repo the archml source file belongs to.
  • Model the mnemonics as a mapping from repo+mnemonic to path
  • Modify the path resolution to include the repo of the archml source file for resolution.

Examples for import path

@repo/mnemonic/path/subpath/file
mnemonic/path/subpath/file

Adapt the tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions