Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork83
URL Heuristics Feature#970
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
… url map to reflect PyPI heuristicsSigned-off-by: Eesh Sahay <eesh.sahay@ufl.edu>
c50992f to284c023Comparewhere do these additions come from? are there any docs for this? |
Uh oh!
There was an error while loading.Please reload this page.
| 'donation':ExternalReferenceType.SOCIAL, | ||
| 'donate':ExternalReferenceType.SOCIAL | ||
| } | ||
| URL_MAP= { |
jkowalleckSep 19, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
unused symbol?
what is it for?
eeshs commentedSep 19, 2025 • edited by jkowalleck
Loading Uh oh!
There was an error while loading.Please reload this page.
edited by jkowalleck
Uh oh!
There was an error while loading.Please reload this page.
This is in reference to issue#800 "extend project URLs -> external references", I made the additions according to the specified domains in this document that was provided under the issue here:https://docs.pypi.org/project_metadata/#icons. It was my understanding that the code needed to be updated to be able to match the specified URL labels and URLs found in the doc to their proper external reference types. Please let me know if I am misunderstanding what needs to be done. |
could you add tests for that new implementation? |
| 'repository':ExternalReferenceType.VCS, | ||
| 'github':ExternalReferenceType.VCS, | ||
| 'chat':ExternalReferenceType.CHAT, | ||
| 'sponsor':ExternalReferenceType.SOCIAL, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
"sponsor","donation", "donate" - this is an undesired category mapping to "social".
thats not whatsocial is for. seehttps://cyclonedx.org/docs/1.6/json/#externalReferences_items_type
| 'changelog':ExternalReferenceType.RELEASE_NOTES, | ||
| 'changes':ExternalReferenceType.RELEASE_NOTES, | ||
| 'releasenotes':ExternalReferenceType.RELEASE_NOTES, | ||
| 'news':ExternalReferenceType.RELEASE_NOTES, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
"news","whatsnew" can be anything, not only release notes - i think this is undesired
Extended existing label map coverage and added URL map to match PyPI heuristics.