The Discovery component shouldn't know anything about the Repository component. Instead, as soon as https://github.com/puli/issues/issues/171 is implemented, the ResourceBinding and ResourceBindingInitializer classes should be moved to the Repository component. In addition, a ResourceBindingSerializer should be added to the Repository component that loads and saves ResourceBinding instances from/to puli.json.
As a consequence of this ticket, the Discovery can be used completely without Repository. As soon as the Repository component is installed, ResourceBinding entries in puli.json are automatically supported.
The Discovery component shouldn't know anything about the Repository component. Instead, as soon as https://github.com/puli/issues/issues/171 is implemented, the
ResourceBinding
andResourceBindingInitializer
classes should be moved to the Repository component. In addition, aResourceBindingSerializer
should be added to the Repository component that loads and savesResourceBinding
instances from/to puli.json.As a consequence of this ticket, the Discovery can be used completely without Repository. As soon as the Repository component is installed,
ResourceBinding
entries in puli.json are automatically supported.