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
meltano lock
-> variant 'original' is not known to Meltano
#6359
Comments
Additionally I'm getting Or we could log it better and say something like "I notice youre migrating and you dont have a variant, go to the Migration guide and learn how to define a variant" and we write up the steps for locking post migration and adding a variant name:
|
Thanks for logging @pnadolny13! So the For the other one related to plugins added with the "original" variant pre-2.0, I like your suggestion to improve the error message with instructions and the new default variant names. |
@edgarrmondragon ok cool, I didnt know if they were going to end up being related but should I spin the messaging/docs one off as a separate issue? |
@pnadolny13 yeah, please do. If only just to keep the respective changesets smaller. |
@edgarrmondragon new issue created for the log message/migration guide entry #6360. |
@pnadolny13 Just to confirm, you're saying that plugins:
extractors:
- name: tap-github
pip_url: git+https://github.com/MeltanoLabs/tap-github@d99378778c0cebc446c12b552ee4fd386fdc2610
capabilities:
- catalog
- discover
- state
settings:
- name: auth_token
kind: password But not when this was (re)added: plugins:
extractors:
# ...
- name: tap-github-meltano
inherit_from: tap-github
config:
organizations:
- MeltanoLabs
- meltano
stream_maps:
issues:
__filter__: record['type'] = 'issue' I wonder why in that first case with only
I don't think we should recommend this: |
@DouweM The second one is failing because the plugin is inherited, and thus not requiring a variant. In this case, the locking should altogether be skipped according to the lockfile spec, i.e. not adding lockfiles for inherited plugins, only the parent, so that's the bug i.m.o.: To be more clear: my naive implementation of |
@edgarrmondragon thanks for hopping on this - assigning to you for the current iteration. Just to be clear, the scope of this is to:
That seem accurate? |
@tayloramurphy yup, that is right |
I'm getting the following error when I'm trying to run a
meltano lock --all
on the squared project (note, I did first manually updated to remove executable and namespace which were defined in my project). When I commented out theinherit_from
children it works, the plugin is locked, then uncommenting the children again makes it fail again so I'm pretty sure its related to the inheriting.The text was updated successfully, but these errors were encountered: