Commit Graph

6 Commits

Author SHA1 Message Date
Leon Wright 0ec1c507bc Change spacedock mirror to archive.org - closes KSP-CKAN/CKAN#1977 (#1240) 2017-01-10 09:14:57 +08:00
KSP-CKAN Crawler Bot f7534be8fc "NetKAN generated mods - FinalFrontier-0.7.6-949" 2016-05-28 09:23:09 +00:00
Paul Fenwick 804497040e Move i.52k.de/kspmods -> ckan1.spacedock.info
`$ perl -i -pe's{i\.52k\.de/kspmods}{ckan1.spacedock.info}g' */*.ckan`

![Everybody stand back! I know regular expressions!](https://imgs.xkcd.com/comics/regular_expressions.png)
2016-02-26 14:20:17 -05:00
Paul Fenwick 327b28f5bd Convert all FOSS mods from KS to download from i.52k.de
Thanks to @V1TA5, we have a mirror of the freely redistributable mods
from KS. This change re-writes extant CKAN metadata files that have
free licenses to use the i.52k.de server.

Created by running 1f3e252e9ae3dbad6e123d72dd1a255e32484a6e of
kspstuff-migrate.pl in https://github.com/pjf/KS-KSPStuff-Migration
2016-02-22 11:53:15 -05:00
Paul Fenwick d03d545fee Rewrite versions to be more specific!
As discussed in KSP-CKAN/CKAN#1156, sometimes we see older versions of
mods that have "generic" KSP versions (eg: 1.0), even though newer
versions of those same mods have specific versions (eg 1.0.1). These has
been a side-effect of how KS returns KSP version numbers to us.

This patch adds ".0" to version numbers if and only if we see a later
version of the same mod that has a specific version number in the same
sequence (eg: 1.0 and 1.0.3 causes a rewrite, but 0.24 and 1.0.3 does
not).

Source code coming soon. I haven't checked it into CKAN-meta because
it's not really a place where lots of code should be hanging out.

Also attn @dbent, who identified this issue in the first place.
2015-06-23 13:40:15 +10:00
NetKAN bot 6340e22e5e NetKAN generated mods - FinalFrontier/FinalFrontier-0.7.6-949 2015-05-02 14:22:05 +02:00