fizwit / easy_update

Update EasyBuild package configuration files for R and Python bundles
19 stars 9 forks source link

Canonicalize CRAN links #15

Closed katrinleinweber closed 5 years ago

katrinleinweber commented 5 years ago

CRAN asks to use the package= URL variant when linking to packages ;-) This PR results from a semi-automatic search-and-replace script and implements their suggestion.

fizwit commented 5 years ago

The url I use returns a json object with the project meta data. Your PR would only return the html. I would not want to parse the html webpage.

raise ValueError("No JSON object could be decoded")

katrinleinweber commented 5 years ago

Ah, OK! It seems that the CRAN team hadn't considered this use-case when formulating the URL suggestion.