Skip to content

Store and Retrieve Info about built nestml models #1290

@med-ayssar

Description

@med-ayssar

After building a nestml model, we lose every piece of information, the nest & python versions, the compiler flags and also probably the list of nestml models bundled in the cpp-library.

I would suggest storing such info in XDG_DATA_HOME (i.e ~/.config/nestml) with the following pattern: XDG_DATA_HOME/nestml/{nestmlVersion}/{pythonVersion}/{TargetVersion}/nestml.lock. This file should contain the metadata of each built cpp-library with nestml.

Thus, we can extend nestml-cli to list all built nestml-cpp-librays, applying filter, and providing facility to load all models in a given path without explicitly calling nest.Install multiple times.

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