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
Make namespace
optional in plugin definitions, auto-generate if missing
#3296
Comments
@tayloramurphy I don't think the behavior described in the GitLab comments accounts for the scenario where someone adds a custom plugin to their project today, and someone else (perhaps the same person) adds an identically named plugin to the Hub tomorrow. The existing plugin should not suddenly start inheriting the properties on the Hub in this case, as they may be incompatible, even if the variant is the same (or if the project definition has no Since a lockfile is only created if a definition on the Hub is found, the lack of a matching lockfile could indicate that a plugin definition in We could say that Hub-inherited plugins need a Finally, the principle of least surprise also suggests that a user should be able to tell at a glance whether the definition in I don't think can (or should) get around some way of indicating custom vs Hub-inherited plugins, but it doesn't need to be |
This has been marked as stale because it is unassigned, and has not had recent activity. It will be closed after 21 days if no further activity occurs. If this should never go stale, please add the |
Still relevant |
Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/3374
Originally created by @aaronsteers on 2022-04-04 21:28:56
As of now, it feels like we could confidently calculate
namespace
asplugin_name.replace("-", "_").lower()
or similar.For reference: https://gitlab.com/meltano/meltano/blob/master/src%2Fmeltano%2Fcore%2Fbundle%2Fdiscovery.yml
Do we still need this as a required field in every plugin definition? When missing it seems to result in difficult to diagnose failure messages such as https://gitlab.com/meltano/meltano/-/issues/3357#note_900121643.
cc @tayloramurphy and @DouweM, since I think each of you may have more history on this functionality and when/if we'd still want namespace as a distinct field.
cc @pandemicsyn - Logged here as discussed in our 1:1.
cc @pnadolny13 since you've been working on discovery.yml plugin definition aspects in meltano and the hub.
The text was updated successfully, but these errors were encountered: