GemsTracker / api

0 stars 0 forks source link

Install fails because of private repo dependencies #33

Open SindreSau opened 3 months ago

SindreSau commented 3 months ago

Hi! I tried to install the api, but i run into this behaviour. Is this the intended behaviour or is there an issue with private repositories?

[gems@gems api]$ composer install Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run composer update or composer update <package name>.

jvangestel commented 3 months ago

I believe the lock file is quite outdated in this repository. It has been tested with updated dependencies though, so a composer update would work well. The "jvangestel/data-set-mapper" and "jvangestel/gems-reference-data" packages are currently indeed private repositories. A quick fix would be to comment those out. Only specific api enpoints for those modules (in src/Ichom and src/DataSetMapper will not work, but aren't loaded by default. If needed I can update with above changes later.

Also note that https://github.com/gemstracker/gems-new-project might be a better starting point if new to gemstracker, as 2.0 is very close to release, and has updated api code integrated into the project itself (found in https://github.com/gemstracker/gems-api and https://github.com/gemstracker/gems-fhir-api