aboutcode-org / aboutcode-org/scancode-toolkit

Determine correct PURL for top-level package in Swift parser

Ouverte
#3,793 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
2.6k
Forks
791
Merge moyen
1 j 12 h
PR mergées (30 j)
5

Description

The PURL for a Swift package depends on where the package is hosted, and given that `Package.swift` does not contain the repository URL for the top-level package, it is not possible to infer the correct PURL for the top-level package solely from the `Package.swift` manifest.
We can use https://swiftpackageindex.com/ to get the correct PURL, but this may not work for all packages since Swift Package Index is not authoritative in nature, i.e. a Swift package may exist, and the author may choose not to add their package to Swift Package Index. https://swiftpackageindex.com/add-a-package

This is a follow from this discussion https://github.com/nexB/scancode-toolkit/pull/3788#discussion_r1618829825

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.