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

Automatically determine repository url from advisory text #227

Open
copernico opened this issue Jul 23, 2021 · 0 comments
Open

Automatically determine repository url from advisory text #227

copernico opened this issue Jul 23, 2021 · 0 comments

Comments

@copernico
Copy link
Contributor

If we could extract the name of the affected project from the advisory, we could then try to propose the user a repository url, without them specifying one.

This can be based on a mapping table between "project names" and repositories, of which an initial example is given in https://github.com/SAP/project-kb/blob/prospector-assuremoss/prospector/data/project_metadata.json

For this to work we need two things:

  • function to extract (guess) project names from advisory text (simple implementation could extract all words from the advisory that begin with a capital letter)
  • function to pick the most likely entry in the project_metadata.json table
@copernico copernico changed the title Infer repository url from advisory Automatically infer repository url from advisory text Jul 23, 2021
@copernico copernico changed the title Automatically infer repository url from advisory text Automatically determine repository url from advisory text Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant