Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new command to fetch and cache dependencies from projects #12

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

richgerdes
Copy link
Contributor

In my implementation of this, I want to be able to cache composer dependencies for not public projects.

This pr adds a new command to discover and populate the require block of the satis configuration with packages that the accessible gitlab projects depend on.

The new command iterates over projects, with or with out an auth token, and fetches the repositories. It then includes all of the repositories in the output file.

In my usecase, I run the gitlab-to-config command to fetch the repositories, output those to a file. Then pipe that into the new command (using --template) so that the additional repositories can be added to the packages listed in the resulting repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant