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

Register a CycloneDX property namespace #58

Open
ehmry opened this issue May 25, 2024 · 4 comments
Open

Register a CycloneDX property namespace #58

ehmry opened this issue May 25, 2024 · 4 comments

Comments

@ehmry
Copy link

ehmry commented May 25, 2024

The nix namespace isn't registered at cyclonedx-property-taxonomy.

Before we do that, we may want to define a taxonomy for our namespace.
I see that Genealogos is using nix:narinfo for packages that have been built and I would like to use nix:fod for "components" that can be built with a fixed-output-derivation.

Are there other people or projects interested in using a nix namespace within CycloneDX?

@ehmry
Copy link
Author

ehmry commented May 25, 2024

I haven't published my FOD tool yet but this is what the properties would look like:

{
  "type": "library",
  "bom-ref": "npeg",
  "name": "npeg",
  "purl": "pkg:github/zevv/[email protected]",
  "version": "1.2.1",
  "properties": [
    {
      "name": "nix:fod:method",
      "value": "fetchzip"
    },
    {
      "name": "nix:fod:path",
      "value": "/nix/store/xpn694ibgipj8xak3j4bky6b3k0vp7hh-source"
    },
    {
      "name": "nix:fod:ref",
      "value": "1.2.2"
    },
    {
      "name": "nix:fod:rev",
      "value": "ec0cc6e64ea4c62d2aa382b176a4838474238f8d"
    },
    {
      "name": "nix:fod:sha256",
      "value": "1fi9ls3xl20bmv1ikillxywl96i9al6zmmxrbffx448gbrxs86kg"
    },
    {
      "name": "nix:fod:url",
      "value": "https://github.com/zevv/npeg/archive/ec0cc6e64ea4c62d2aa382b176a4838474238f8d.tar.gz"
    }
  ]
}

@ErinvanderVeen
Copy link

Hej! Thanks for opening this issue! This is definitely something we should do.

About other users, I'll ask internally and look a bit into it on Monday!

@ehmry
Copy link
Author

ehmry commented May 25, 2024

I started a discourse thread: https://discourse.nixos.org/c/dev/rfc-steering-committee/

@ErinvanderVeen
Copy link

I started a discourse thread: https://discourse.nixos.org/c/dev/rfc-steering-committee/

Yes! I saw. Thank you, that's a much better place to have this discussion!

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

2 participants