Open kaystrobach opened 9 years ago
yaml files can be read easily within PHP with http://php.net/manual/de/function.yaml-parse-file.php
I think the major conceptual issue would be in case of name collision (What to do if two packages in first and second Gitlab have the same name?).
I see two options:
To parse YAML, I think https://github.com/symfony/Yaml would be a better option.
Same would happen, if you setup multiple instances of gitlab-composer with different gitlabs and use both into one composer.json :D
Sounds good to me. We will try to provide an implementation for this ASAP. Of course, a PR is always welcome ;)
would be really awesome to change the code to allow access multiple gitlab instances.
IMHO there are several steps to take:
The yaml file may look like: