-
Notifications
You must be signed in to change notification settings - Fork 45
Closed
Labels
Description
#72 is using the /p2/<package>~dev.json file for the getComposer method and adds a getComposerLite method for /p2/<package>.json. But this is not equivalent to the behavior of the 1.x version, due to a misunderstanding of the way those files look like.
The ~dev.json file contains only versions for branches while the .json file contains the tags (this is done to improve caching, as the tag file is invalidated only when a release is done while the branch file is invalidated on each push, and composer does not need to dev versions by default).
To reproduce the 1.x behavior, the SDK would need to load both files and then merge the version lists for each package name.
And lite is a bad description. getComposerReleases would be a better name.
robbieaverill