The India User Group is live! Be a part of our first Indian user event: JOIN THE EVENT

Dataiku DSS API and Project Level Git Settings

pilotjohn4
Level 2
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

0 Kudos
4 Replies
CoreyS
Community Manager
Community Manager

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.

Looking for more resources to help you use DSS effectively and upskill your knowledge? Check out these great resources: Dataiku Academy | Documentation | Knowledge Base

A reply answered your question? Mark as ‘Accepted Solution’ to help others like you!
0 Kudos
pilotjohn4
Level 2
Author

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.

0 Kudos
pilotjohn4
Level 2
Author

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.

0 Kudos
pmasiphelps
Dataiker
Dataiker

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

0 Kudos
Labels (1)
A banner prompting to get Dataiku DSS
Public