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

Implement metadata extraction from composer.json files in proxy #3

Closed
fjmilens3 opened this issue Feb 23, 2018 · 0 comments
Closed
Assignees

Comments

@fjmilens3
Copy link
Contributor

fjmilens3 commented Feb 23, 2018

Composer projects contain metadata in their composer.json files (https://getcomposer.org/doc/04-schema.md). In other formats we would extract this information when proxying or hosting an artifact, and the information would be included in the format attributes and search attributes.

We are currently not extracting any of this information and should write a general-purpose extractor for this information and store the extracted information. For the proxy implementation this operation should be relatively straightforward since we will only be extracting content from the downloaded source archive rather than a .phar file (which is somewhat different from a .zip or .tar). We'll worry about handling .phar files later if we have to.

Note that this JSON is different than the provider JSON that constitutes an index for purposes of Composer.

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

No branches or pull requests

1 participant