-
-
Notifications
You must be signed in to change notification settings - Fork 340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add EmbeddedKOSKirkuits #9758
Add EmbeddedKOSKirkuits #9758
Conversation
Oops. Sorry for putting the file at the top level, did not intent to do that. Thanks for fixing. As for the indentation warning: Is that documented somewhere that you want 4 spaces as indent? I usually use two spaces for YAML to avoid too much blank space at the start of the line (especially for deeply nested structures). I'll try to keep it in mind for the next time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the submission!
There aren't specific formatting requirements, we just run everything through yamllint to keep it relatively tidy. It was complaining because there were 4 spaces before use_source_archive
.
@HebaruSan Thanks for merging!
Edit: just found KSP-CKAN/CKAN#3525 - should have checked before asking... |
That's basically right, the detection of manually installed mods only looks at DLLs; a bunch of loose .cfg files can't reliably be traced back to what mod they are. We started a project along those lines in KSP-CKAN/CKAN#3525. I have concerns about performance (potentially parsing a lot of .cfg files could slow things down significantly) and validity of the data being relied upon (a lot of mods mis-use |
Spontaneous (and probably dumb) idea: How about checking the directory listing of |
I think there were reasons we didn't go with that solution, but it's been a while now since I've concentrated on it, so I don't have a comprehensive explanation ready to go. At a glance, it seems like a big leap to go from "this directory exists (and might have a file in it)" to "this mod is fully and correctly installed such that mods that depend on it will work properly." |
If you just want a quick workaround for your dev environment, note that the DLL file doesn't have to be valid. If you make a 0-byte file at |
https://github.com/rkunze/EmbeddedKOSKirkuits
https://forum.kerbalspaceprogram.com/topic/218872-112x-embedded-kos-kirkuits/