Hi, Any idea on how can I download a specific vers...
# plugins-general
n
Hi, Any idea on how can I download a specific version of a extractor/loader so that things do not break on production because of any changes in them ?
s
You can pin plugins to a specific version in your `meltano.yml`: https://meltano.com/docs/plugin-management.html#pinning-a-plugin-to-a-specific-version
For example (from above)
Copy code
# Before:
pip_url: git+<https://gitlab.com/meltano/tap-gitlab.git>
pip_url: git+<https://github.com/adswerve/target-bigquery.git>

# After:
pip_url: git+<https://gitlab.com/meltano/tap-gitlab.git@v0.9.11>
pip_url: git+<https://github.com/adswerve/target-bigquery.git@v0.10.2>
v
😄 Perfect! You can also point directly to a commit hash, I'm a abit of a tin foil hat person and tags can technically be changed by the repo owner. I tend to fork the repos I need and then point to the tag I want
n
@stephen_bailey - Thanks 🙂 . So it basically means I need to have my meltano.yml maintained with proper versions of loaders and extractors and use meltano install <type> <name> in any of my containerized environment and it will automatically install that particular version. Right?
s
That's right! We run it in a "serverless" approach, so whenever a container spins up to run an ELT job, it runs
meltano install
which checks the config file for the specified verison.