-
-
Notifications
You must be signed in to change notification settings - Fork 337
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
Metadata standardization #3890
Comments
|
Yeah I don't know why I'd forgotten that the plan was to just PR the .netkan and have the indexer inflate the CKAN. I had in mind that we would still PR netkan-generated .ckan files. Will edit OP. |
LGTM |
For the sake of completeness I'm also going to create files for virtual modules. This will also allow us a method to quickly and easily test to see if a mod is trying to take an occupied namespace (KSP-CKAN/xKAN-meta_testing#8). Just 1 less thing that can go wrong. |
LGTM. The indexer attempts to inflate all files with the NetKAN extension in the NetKAN directory. Anything else gets ignored. So frozen is more of a convention than a hard requirement (a sane one, though I'd be happy with .doge :P). Moving away from hand crafting metadata is a GoodThing™ 👍 |
Rewrote a bunch of the "Adding a mod" wiki entry. Would appreciate someone taking a look over it and editing as required. https://github.com/KSP-CKAN/CKAN/wiki/Adding-a-mod-to-the-CKAN |
Replacing "s with `s - can you explain your thinking there? Why not simply add the backticks to make it code formatted, leaving the quotes, which are a literal part of the file contents? |
In the wiki? Dunno, formatting might be a little messy since I used a plain text editor while working on it. |
It wasn't deliberate, then? All the in-line mentions of a codeword, like "depends" or "install" have been turned into in-line code |
Oh for fields? Yes I changed those to code so that it's clear that they're code. |
Then, give that the quotes are part of the code, would it be better to have, for instance, |
* Add placeholder files based on claimed identifiers. Part of #3890 * Add virtual mods as .frozen files * Add ActiveStruts
* Add netkans based on ckan-meta .ckans. Part of #3890 * Update KerBalloons * Update KerbalStats * Update StationScience * Strip Netkan generated lines (#3944) Removes all the "x_generated_by" : "netkan" and "download_size" lines * Strip Netkan generated lines (#3944) Removes all the "x_generated_by" : "netkan" and "download_size" lines (reverted from commit 94b788d) * Remove ActiveStruts (Marce mod) * Remove Netkan-generated lines (#3957) Now with excess comma removal! * Replace Frozen KerbalKrashSystem (#3978) * Bump spec * Change filename to identifier * Remove RN-SalyutStations-SoyuzFerries * Remove known broken/dead downloads * Remove AstronomersPack * Dead link * Restore HeatControl * Update precisenode * Update toolbar
This is all looking done. Anything holding us back from closing this? |
User GeekArt came onto irc asking for this to be updated. Based on #3890 I assume this is how we're supposed to do it now? I think I poked the right parameters :)
User GeekArt came onto irc asking for this to be updated. Based on #3890 I assume this is how we're supposed to do it now? I think I poked the right parameters :)
@politas @Dazpoet @techman83 @dbent @Olympic1
With us moving towards a real mirrorkan (KSP-CKAN/CKAN#1682) and having file hashes in the metadata (KSP-CKAN/CKAN#1703) it's time to stop letting PRs into CKAN-meta unless it can't be avoided.
To that end I've scraped the metadata for all the identifiers we currently have and where .netkans didn't previously exist I have opened #3892 and #3893 to create either a .netkan if the mod meets certain criteria or a .frozen for mods that don't.
Speaking for myself in the past things have been a little unclear and inconsistent in how extensions were applied and when .netkans were deleted. I'd love for that to change moving forward.
.frozen
should be applied to any former.netkan
that no longer passes the indexer's test and can't be made to work. This will also include "placeholder" files to represent identifiers that are claimed..netkan
files should no longer be deleted in any case other than when we are de-indexing a mod fully and completely (no leftover references to the identifier anywhere in the metadata).A little to-do list mostly to remind myself but I'd be ecstatic if someone else does it before me:
The text was updated successfully, but these errors were encountered: