I shared a private projects with collaborator, hoping that they would be able to use the same session as mine. However, first collaborator that tried experienced warning messages about not being able to access the external resources, and then he could not see any of the contents of the repo:
Traceback (most recent call last):
File "/app/git_services/init/cloner.py", line 215, in \_clone
repository.git_cli.git_fetch(self.remote_name)
File "/app/git_services/cli/\__init_\_.py", line 64, in git_fetch
return self.\_execute_command("git", "fetch", \*args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/git_services/cli/\__init_\_.py", line 36, in \_execute_command
raise GitCommandError(res.returncode, stdout, stderr)
git_services.cli.GitCommandError: (128, '', "fatal: could not read Username for 'https://git.list.lu': No such device or address\\n")
I thought that collaborators could access the session I created without needing to separately access all the resources. Do all collaborators need to link their username on renkulab with the git server used in the project? If so, how to do this?
@schymans each session is strictly limited to the user who started it. Your running session cannot be shared with another user. Another user who has access to the project can start a session but they cannot access the exact same instance of the running session you see.
Can you clarify a bit how you go to this point? You have a private project on renkulab.io, you granted access to it to a colleague and then when the colleague tried to access the project their session would not start? Can you share the link to the project please?
Do all collaborators need to link their username on renkulab with the git server used in the project? If so, how to do this?
I am not sure I understand what you are trying to ask here. Your renku username does not need to match your git username.
This is not the case. Renku does not control or delegate access to the external resources. If you add a github repository to your project and that repository is private, you have to go to github and grant accecss to the repository to your collaborators so that they can access the repository in Renku. Renku will not delegate your access or credentials to other people and it will not grant access to external resources for you.
Thanks for looking into this, @tolevski, and sorry for the late response! I had typed the question quickly while on the way out and then couldn’t get back to it for another 2 weeks. So, the issue is with this project: https://renkulab.io/p/stanislaus.schymanski-1/fortress
It is linked to our institutional gitlab, which I and my collaborators can access with our institutional credentials. I can also access it through renku, but it seems that my colleagues can’t, which is why I thought they could just use my session. Since this is not possible, I will work with them to create their own sessions, but I am still not sure how they will get access to git.list.lu while creating the session. I’ll try later today and report back.
hi @schymans - they need to link their LIST account with their renku account on the integrations page. Have they done that?
Yes, we just did, thanks!! It works now.
Excellent, glad to hear it! 