Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Support new Curse URLs with non-numeric IDs #2464
The format of Curse API URLs changed recently, but some old URLs are still supported; see the discussion in KSP-CKAN/NetKAN#6608 for details.
Any old URL that had been accessed before March 2018 still works thanks to caching internal to the API, but any newly added mod must use the new format.
Netkan fails on mods added to curse after March 2018. See KSP-CKAN/NetKAN#6608 for an example; PhotonSailor can't be indexed without updating our Curse API logic.
(UPDATE: We switched that mod to SpaceDock instead, so the urgency is lower, but the problem would still affect future new mods hosted only on Curse.)
In addition, the Netkan log message that prints the API URL being accessed is promoted from debug to info, so it can be seen when
A test is added to exercise the new format.