Dataiku DSS API and Project Level Git Settings
Hi there,
Is it possible to set remote URLs for a project's Git/VCS settings with the API? (Similarly to the way you can adjust the Git settings of plugins with the API)
Looking to aide our team's creation and association of repos by integrating a project's git settings into a macro.
Thanks, ~John
Answers
-
CoreyS Dataiker Alumni, Dataiku DSS Core Designer, Dataiku DSS Core Concepts, Registered Posts: 1,150 ✭✭✭✭✭✭✭✭✭
Hi, @pilotjohn4
! Can you provide any further details on the thread to assist users in helping you find a solution (insert examples like DSS version etc.) Also, can you let us know if you’ve tried any fixes already?This should lead to a quicker response from the community. -
I have not tried any fixes. The documentation shows git remote control via API for plugins, but only pushing to the remote repo for projects.
Currently we're using DSS 8.0.3 but working on getting to 8.0.5.
-
I would like to develop a plugin to:
1. Use Python to create a Gitlab Repo with an API.
2. Get that ssh clone URL and set the remote URL of the Version Control for the project via the DSS API or Python API.
-
Hi John,
This is not currently possible using the API - we've logged it as a feature request.
In the meantime, you can do it from the command line (which can be sent from the python script in a DSS macro) - git remote add origin YOUR_URL.
Feel free to reach out to your Customer Success Manager for more detailed assistance with the implementation.
Best,
Pat
-
importthepandas Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 115 Neuron
@pmasiphelps
this would still be very nice to have via the python api