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

Provide OS and package information if the distribution is packaged #634

Closed
book opened this issue May 11, 2017 · 4 comments
Closed

Provide OS and package information if the distribution is packaged #634

book opened this issue May 11, 2017 · 4 comments

Comments

@book
Copy link
Contributor

book commented May 11, 2017

This is similar to #154 and metacpan/metacpan-web#919.

Many CPAN distributions are available as packages for Linux distributions. This information would be useful to show on a distribution page on metacpan, and also through the API.

I have worked out the mapping for Debian, and this script produces a JSON file with the data.

I'd like to discuss the options for:

  • including the Debian package info in metacpan and API results (either by generating it on the metacpan infrastructure, or pulling it from my files)
  • a better, more useful format for the source data, if needed
  • come up with a general way for importing that metadata for other package systems (RedHat and Fedora RPM, ActiveState PPM, Arch pacman, Gentoo ebuild, etc)
@oalders
Copy link
Member

oalders commented May 11, 2017

I believe that this should live in the distribution endpoint. We could follow a pattern similar to this one #462

For the other issues, you could step over into the MetaCPAN room and we could discuss it face to face. :)

@mickeyn
Copy link
Contributor

mickeyn commented May 12, 2017

the script will be introduced in #637
we'll just need to add the mapping manually before running and set up a cron.

@mickeyn
Copy link
Contributor

mickeyn commented May 13, 2017

with the merging of #637 we can wrap this up today

book added a commit to book/CPANio that referenced this issue May 17, 2017
The history is:
- metacpan/metacpan-api#634
- metacpan/metacpan-api#637

The addition to MetaCPAN as a new set of metadata will enable
the further addition of more external package listings.
@mickeyn
Copy link
Contributor

mickeyn commented Jun 20, 2017

@book can we close this one?

@oalders oalders closed this as completed Nov 16, 2017
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

3 participants