Package Management #146
AttilaMihaly
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The Morphir IR included the concept of packages and provided the ability to cross-reference types and values between
them since it was first open-sourced. For now the only external package the tools allow you to reference though is
the SDK which is built-in. Changing that to be able to depend on user-defined packages has been on our backlog for some
time, and the introduction of decorations makes it even more timely to look into package management.
Package management is a large and complex topic, so we will take a gradual approach to defining our solution. In-line
with Morphir's philosophy, we will try hard to avoid inventing new things unless necessary and will reuse as much of
the great package management solutions out there as possible. Before we get into that though let's start by clarifying
what the package manager will do.
User Stories
Morphir IR related
it can be used in other Morphir IRs.
or copy them in my project.
consumers.
Decoration related
can be used by authors to decorate Morphir IRs based on it.
implement tools (such as backends) that process those decorations.
provide extra information for the tools that require them.
as a dependency so that it can be used by tools that require them.
that I can reliably process them.
breaking tools that process them.
schema changes don't break the instances.
that changes in the schema that causes decoration instances to change in structure doesn't cause runtime errors while processing the decoration in the backend.
Beta Was this translation helpful? Give feedback.
All reactions