Closed janbrohl closed 8 years ago
In theory anything SharpZipLib supports, we can support with little or no changes. I've not tested, but I think we already support tar.gz as the Metadata is downloaded as tar.gz for efficiency reasons. @dbent likely has more complete knowledge here.
Specs are nice and all but we have zero control over what mod authors publish. So let's say we decide to specify the exact archive format, what do we do if we encounter an archive that doesn't meet the spec? I see three options:
Option 3 certainly seems the most reasonable to me and since it doesn't use any format specification at all there's no point in formalizing such a specification.
As for tar-support, like @techman83 said, we already use it to download the repository archive. As a format for mods I don't see the point. The vast, vast, vast majority of KSP mods are distributed as ZIP archives, with the occasional RAR file here and there, and I've never seen a mod distributed in a TAR.
Just thought that having more precise error reports and having users more exactly know who to blame would help with support.
Just thought that having more precise error reports and having users more exactly know who to blame would help with support.
Fair and thank you for the consideration, but the goal should be that if a user can install a mod manually by using a archive manager of their choice, they should be able to install it with CKAN.
If they can't, we should fix CKAN, not have the mod author conform to a specification. There are already areas in the code which "normalize" some non-standard behavior in ZIP files.
And if they can't install it manually then it's obvious the mod author needs to fix their archive.
Hey there! I'm a fun-loving automated bot who's responsible for making sure old support tickets get closed out. As we haven't seen any activity on this ticket for a while, we're hoping the problem has been resolved and I'm closing out the ticket automatically. If I'm doing this in error, please add a comment to this ticket to let us know, and we'll re-open it!
The spec does not seem to state explicitly which archive formats are supported. In some places it is talked abut zip - please change.