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

[User-defined info] Differentiate two packages with 'registry' field #36

Open
nockty opened this issue Nov 2, 2018 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@nockty
Copy link
Contributor

nockty commented Nov 2, 2018

If there are two packages with the same name (from different registries, for instance NPM and PyPi), there is currently no way to differentiate them in the user-defined info file. We should add a way to add the 'registry' field, so that we can have both packages in the .foss.json.

For instance if we add:

{
  "additional-info": [
    {
      "package": "Foo",
      "registry": "PyPi",
      "extra information": "This is a Python package",
      "owner": "John Doe"
    }
  ]
}

It won't affect a package named 'Foo' in the NPM registry (which is the current behavior).

@nockty nockty added the enhancement New feature or request label Nov 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant