Hello!
I am writing a python wrapper for CM and I’d like to have repo controls exposed for switching between local and cloud repos, as well as verification and administration. When I try to use CM to determine its behavior when using the repo commands, I get the following:
D:\wkspaces\gitsync-test>cm repo list repserver:sr_tech@cloud
The remote server returned an error: (404) Not Found.
Unknown user: 'No user specified'. Please check your current credentials. Remember that user names are case-sensitive!
We have been mostly using Cloud while we set up the infrastructure to be able to sync cloud to an on-premise server, but we have some devs who work using a local server and then sync from that to the cloud. All that to say, we are largely signed in via SSO through our UnityIDs.
Is there any way for CM to interact with cloud repos? My WorkspaceServer config in client.conf isn’t set and I’m not sure what to set it to since I’m sure it is looking for a domain and port number based on what I see in the docs.
If there is no way for CM to interact with cloud repos, do you have any suggestions? I’d like to have a repository object that can take actions on the server if the user has permissions. Is it better to have a “dumb” repository field that is parsed from cm status
and do repository actions outside of my wrapper?