KSP-CKAN / NetKAN

Metadata files used by the NetKAN/CKAN indexer for KSP
Creative Commons Zero v1.0 Universal
72 stars 338 forks source link

KerbalAlarmClock install location #62

Closed Ippo343 closed 9 years ago

Ippo343 commented 9 years ago

It has been pointed out on the forum that KAC is installed in the wrong folder: it should be in GameData/TriggerAU/KerbalAlarmClock, while presently it is in GameData/KerbalAlarmClock.

However the KerbalStuff release is just a copy of the zip posted to github, and thus has the same format:

KerbalAlarmClock.x.x.x.x/GameData/KerbalAlarmClock

Unfortunately to solve this we are going to need either the find keyword (KSP-CKAN/CKAN#376), or a way to install to a subdirectory of GameData (KSP-CKAN/CKAN#315).

pjf commented 9 years ago

Find keyword is absolutely what we want here. That's also going to give us joy for source releases KSP-CKAN/CKAN#259.

Find is already implemented internally by the default stanza code. We just need to make that a public method, test it, and bump the spec appropriately.

btbonval commented 9 years ago

Ah, yeah I did that one and found myself limited in reproducing the hierarchy. Glad to know there's a fix.

pjf commented 9 years ago

With the new v1.2 pre-release, installing to a directory under GameData should now be operational.

hakan42 commented 9 years ago

Installing into a subdirectory of GameData works with my amended netkan, but the issue with the toplevel directory "KSPAlarmClock_x.y.z.q" still remains.

Ippo343 commented 9 years ago

Aaaaand now it's solved, thanks to the awesome work of @pjf :D