UmbraSpaceIndustries / Karbonite

Karbonite - Mineable. Burnable. Community-Driven.
Other
70 stars 38 forks source link

Karbonite directory structure (CKAN) #122

Closed pjf closed 10 years ago

pjf commented 10 years ago

This may be a hard or impossible request. Please let me know if it is. :)

Right now, the Karbonite archive has most—but not all—files for each sub-mod in their own directory. Having them all in separate directories makes writing a CKAN file much easier, but I'm aware that moving files may not be possible if other mods expect them to be in known locations, or if we worry about users unzipping over the top of existing GameData directories.

Two changes would make my CKAN life much easier:

I had previously thought that moving the USI.version, USITools.dll and USI_Converter.dll files into their own directory would also make a big impact on install complexity, but if the CKAN is installing USITools as a dependency, then we don't really mind where they live in the Karbonite zipfile.

Many thanks!

~ Paul


Relevant to KSP-CKAN/CKAN-meta#10 .

BobPalmer commented 10 years ago

Doable on both counts.

pjf commented 10 years ago

You are awesome. Thank you. :)

We also have a very sweet way of dropping a single file into your distribution, and provided you release on KerbalStuff (which I seem to recall Karbonite does) then we can use the KS API to get all the other metadata we need to install. That file never needs to be updated unless the install process changes, so there's no need to remember to update it for each version :)

You can expect me to get in touch (potentially with a number of pull requests) in the next couple of days when I've finished the KS integration. :)

Many, many thanks!

~ Paul

BobPalmer commented 10 years ago

Here's the rub. I do not release on KerbalStuff, I release on GitHub. So please adjust your pull requests accordingly ;)

pjf commented 10 years ago

Releasing on GitHub also works! And with our new structure (which I'm working on right now) we likely won't even need to send you any pull requests. :)

pjf commented 10 years ago

Just to check, should we expect these files to be in their new locations in the next release?

BobPalmer commented 10 years ago

Yes, you can see the structure already in the master branch

pjf commented 10 years ago

Oh! I was looking in the wrong directory on master. Thank you so much! <3