-
-
Notifications
You must be signed in to change notification settings - Fork 477
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
Import packages from git/svn/.. #2
Comments
Should this be done on a cron? (I'm assuming yes) |
@xaav I don't think Packagist need to discover the repos itself currently (it would be tied to site which provide a search functionnality allowing to know whether there is a composer.json file, and I don't think this exists). But the idea would be to provide the url of the repo and let Packagist retrieve the data from the composer.json file instead of asking the maintainer to give them. |
It's done with a cron, and I'm working on this so don't waste time :) |
Just pushed the github importer. It doesn't support non-github repos yet, or any other VCS, and it needs to be cleaned up like hell before it can be extended. |
Since the basic framework for this is there, you should close this issue, and open a separate issue for each additional VCS you want to support. |
You're right it's in a decent shape now I think. |
The current form to add packages and specify everything was good for testing, and it still will be useful to add packages that don't have a composer.json file, but we need automatic import from git repos and such.
Whoever does that can use https://github.com/Seldaek/monolog/ as an example. It contains a valid composer.json file.
The text was updated successfully, but these errors were encountered: