clearlydefined / crawler

A service that crawls projects and packages for information relevant to ClearlyDefined
MIT License
48 stars 33 forks source link

Non-Github URLs in PyPI packages result in 0 score #372

Open carmenbianca opened 4 years ago

carmenbianca commented 4 years ago

reuse has this in setup.py:

setup(
    name="reuse",
    url="https://reuse.software/",
    project_urls={
        "Documentation": "https://reuse.readthedocs.io/",
        "Source": "https://github.com/fsfe/reuse-tool",
    },
[...]
)

It is afforded a 0 score in the "Source" section by the crawler. I have cursorily checked some other PyPI packages, and it appears to me that all packages that do not point to GitHub in the url section also get a 0 score. This seems like a bug to me.

nellshamrell commented 3 years ago

Relevant (I think) ClearlyDefined page https://clearlydefined.io/definitions/pypi/pypi/-/reuse/0.8.0

I confirmed this locally. Calling this reproducible.