meta-package-manager icon indicating copy to clipboard operation
meta-package-manager copied to clipboard

`purl` support (a.k.a. package URL)

Open pombredanne opened this issue 2 years ago • 1 comments

FYI, not a bug: These links of mine may be amusing or interesting to you:

  • a universal syntax for package names and version https://github.com/package-url/purl-spec/ https://fosdem.org/2022/schedule/event/package_url_and_version_range_spec/
  • another hackish script for https://xkcd.com/1654/ https://gist.github.com/pombredanne/d3585617882f91d9316be5ce5eddf190

pombredanne avatar May 23 '22 17:05 pombredanne

Now that's interesting. Thanks @pombredanne for the hints!

I have no objection adding some sort of purl support in mpm. It looks neat, active and documented. Bonus point: there's a Python library available.

What would be the ideal purl support in mpm? Do you have some ideas?

I guess we can start with supporting a minimal use-case. Maybe as a first step we can try to replace your "hackish script" with vanilla mpm. What this would looks like? What do you think of being able to do:

$ mpm --xkcd install pkg:npm/left-pad pkg:pypi/[email protected] pkg:deb/zlib1g-dev pkg:gem/bundler

kdeldycke avatar Jul 06 '22 04:07 kdeldycke

I just implemented support for purl for install subcommand. It will be available in the upcoming release of mpm 5.8.0.

@pombredanne, you'll be able to replace your eclectic package manager (epm) with mpm 5.8.0! 😉

More subcommand will support it in the future.

kdeldycke avatar Oct 01 '22 15:10 kdeldycke

You positively rock! :bow:

pombredanne avatar Oct 01 '22 15:10 pombredanne

@pombredanne mpm v5.8.0 has been released: https://twitter.com/kdeldycke/status/1577646239474139138

kdeldycke avatar Oct 05 '22 13:10 kdeldycke

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

github-actions[bot] avatar Jan 09 '23 08:01 github-actions[bot]