ecosyste-ms / packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.
https://packages.ecosyste.ms
GNU Affero General Public License v3.0
25 stars 4 forks source link

Support Buildkite plugin lookups #816

Open jamietanna opened 2 months ago

jamietanna commented 2 months ago

While digging into https://gitlab.com/tanna.dev/dependency-management-data/-/issues/599 I noticed that DMD, which uses Ecosyste.ms doesn't detect Buidlkite plugins.

[!NOTE] Buildkite plugins are not a known type so this may not make sense to add here.

With DMD, I would see from the following Buildkite YAML (via):

  - label: ":sweating: Checking for changes in connectors"
    plugins:
      chronotc/monorepo-diff#v2.4.0:

And a package of pURL pkg:buildkite/chronotc%2Fmonorepo-diff is detected.

This is Buildkite's way of noting that chronotc/monorepo-diff is located at https://github.com/chronotc/monorepo-diff-buildkite-plugin (notice the prepended -buildkite-plugin)

I would suggest special handling for the buildkite ecosystem to provide some package lookup, including a Repo lookup for the full URL.

andrew commented 2 months ago

Yeah we can add that as a new package type, would also make sense to propose it as a type to the PURL project.

Do you know if there's a machine readable list of all buildkite plugins anywhere? Otherwise we could scrape https://buildkite.com/plugins