Was there ever a consensus on how to best run two ...
# plugins-general
h
Was there ever a consensus on how to best run two version of the same plugin in a project? I knew this day would come, we now need to use two different branches of the same tap to satisfy the tempers of two different servers. Computers were a mistake.
e
The best way is probably using inheritance
h
I was thinking more on the base plugins, something like
Copy code
plugins:
  extractors:
  - name: tap-stuff
    pip_url: git+<https://github.com/radbrt/tap-stuff.git@main>
  - name: tap-stuff-tweak
    pip_url: git+<https://github.com/radbrt/tap-stuff.git@custom-tweak>
that would let me install two different branches of the same tap. For all I know, the code above might work, if I add namespace etc. I know it has been discussed at some point.
e
Yeah, the
namespace
is definitely a requirement and you’d also need to redefine
settings
and
capabilities
if you don’t use inheritance