puli / issues

The Puli issue tracker.
90 stars 5 forks source link

Decouple Discovery from Repository #172

Closed webmozart closed 8 years ago

webmozart commented 8 years ago

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.