How can one add a private repo as a plugin? Is it ...
# plugins-general
s
How can one add a private repo as a plugin? Is it possible to use the
ssh
format as described here: https://docs.getdbt.com/docs/building-a-dbt-project/package-management#private-packages? When I do:
Copy code
- name: tap-pingboard
    namespace: tap_pingboard
    pip_url: "git@github.com:immuta/tap-pingboard.git" # git SSH URL
I get
Copy code
?1 meltano % poetry run meltano install extractor tap-pingboard

Installing 1 plugins...
Installing extractor 'tap-pingboard'...
Extractor 'tap-pingboard' could not be installed: failed to install plugin 'tap-pingboard'.
ERROR: Invalid requirement: 'git@github.com:immuta/tap-pingboard.git'
Hint: It looks like a path. File 'git@github.com:immuta/tap-pingboard.git' does not exist.
d
See “If your plugin source is stored in a private repository, you have two options:” under https://meltano.com/docs/plugin-management.html#using-a-custom-fork-of-a-plugin!
I’m realizing now that that shouldn’t be fork-specific and applies to any custom plugin
@amanda.folson Can you please make a note to also mention the “private repository” scenario under https://meltano.com/docs/plugin-management.html#custom-plugins (and other places that talk about custom plugins)?
s
Perfect!
sobs silently for not asking sooner / reviewing docs
e
I can confirm I've used the .netrc approach in GitHub actions to install from private repos and works fine