Move non-plugin definition keys under a docs
or meltanohub
key
#609
Replies: 3 comments 7 replies
-
@pnadolny13 The |
Beta Was this translation helpful? Give feedback.
-
@pnadolny13 I quite like that idea. It'd also make it cleaner for folks who may generate the config from the SDK. I'm going to create an issue from this discussion and recommend using the |
Beta Was this translation helpful? Give feedback.
-
I think there are two categories here and I would prefer to keep them separate. First category is those things that render into the generated docs page, and I think we are safe to remove those. Second category is those that are very useful data and should live even in the lock file. We could consider moving them under a heading, but I don't agree we should remove them lock files. Regarding the second category, I don't see these as Hub-specific, nor do I really think we should have anything that is hub specific in those files - unless it's under a I think we're agreed on this point: any markdown fields that get rendered into the docs doesn't need to ship with the definition. (Although we probably do then want to inject a link to our generated docs.) Since those elements like are just a workaround for us to automate docs generation without injecting one or more separate markdown files. Those are the only elements I'd feel strongly about removing. For For Regarding Note: It's important to consider that Meltano UI and also other end-user applications could also have very valid use cases for all of this data (excepting those that become redundant once we render them into the plugin's readme). Meltano UI might have a 'search' capability that locates the correct plugin or related plugins using It seems like we're somewhat equating the Hub as the only place we'll need docs and metadata info, which I don't think is the long term path here. |
Beta Was this translation helpful? Give feedback.
-
As part of the 2.0 release upgrades to the hub which included a full refactor of the definition file format we added some new keys that are for rendering documentation. I'm proposing that we move those under something like a
docs
ormeltanohub
key so that its clean and clear what parts are plugin definition attributes and should be returned via the API to be stored in lock files vs what should simply be extra metadata for the hub.For example tap-adwords usage metadata key for the hub docs content is in the definition file.
Then in the API payload generator we exclude them.
The keys are:
The new schema would be something like:
cc @tayloramurphy @aaronsteers @DouweM @alexmarple @z3z1ma
Beta Was this translation helpful? Give feedback.
All reactions