Using multiple versions of a plugin at the same time (branching??)

Options
MRvLuijpen
MRvLuijpen Partner, L2 Admin, L2 Designer, Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS ML Practitioner, Dataiku DSS Core Concepts, Neuron 2020, Neuron, Dataiku DSS Adv Designer, Registered, Dataiku DSS Developer, Neuron 2021, Neuron 2022, Frontrunner 2022 Finalist, Frontrunner 2022 Winner, Frontrunner 2022 Participant, Neuron 2023 Posts: 107 Neuron

Hello Community.

I have a question regarding the usage of plugins. We are developing some plugins, and were wondering if it is possible to use multiple versions of the same plugin at the same time.

As an example, we would like to compare the outcome of newer version of the plugin, with a previous version to see the difference. Is this possible, and if it is, how to achieve this. We were experimenting with branching, but we haven't figured out how to get this to work.

Thanks for your help.

Marc Robert

Tagged:

Best Answer

  • Alexandru
    Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,209 Dataiker
    Answer ✓
    Options

    Hi,

    With branches only can have only a single active branch.

    https://doc.dataiku.com/dss/latest/plugins/reference/git-editor.html#working-with-branches

    What could work for you but does require a few manual steps is essentially create clones of the plugins with a specific branch. The steps below assume you are using remote git branches.

    1) In the remote dev branch of the plugin.json, change the id and label to something unique. This can be done outside of DSS and changes should be pushed to the branch.

    Screenshot 2021-06-18 at 08.54.13.png

    2) Import a new plugin from the Git repo and specify the branch and click clone.

    Screenshot 2021-06-18 at 08.44.08.png

    3) Now you will have a plugin created from a specific branch you A/B test.

    Depending on the exact plugin components, may a few additional minor changes like renaming the directory within python-connectors to something unique. But those errors would usually be surface in the UI once the plugin is cloned.

    Hope this helps.

Answers

  • RoG
    RoG Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Registered Posts: 1
    Options

    Hello,

    I came across the same issue.

    However, renaming all directories (such as recipe) does not comply with version control standards.

    Do you have an other solution where we can use different versions of a same plugin on different projects ?

    Best regards,

    Romain

  • Turribeach
    Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 1,698 Neuron
    Options

    "Do you have an other solution where we can use different versions of a same plugin on different projects?"

    Use a different environment (ie a different DSS installation). You can run multiple DSS instances in the same server as long as you use different ports.

Setup Info
    Tags
      Help me…