Good evening from Berlin to everyone! <@U03NUBGD0D...
# api
p
Good evening from Berlin to everyone! @Connor was so friendly to grant me access to the API-repo (thanks again for the lightning fast reply). Unfortunately I'm not able to clone and smth really strange happens while trying. It's very similar what @Augusto Samame described in his thread. Environment: self-hosted
git version 2.38.1
Copy code
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.1 LTS
Release:        22.04
Codename:       jammy
Problems: • using `-j8`completly destroys the cloning process ... I'm not able to use the PAT (screenshot 1,2) and the PAT is even shown in cleartext • avoiding `-j8`cloning process is partailly successful - but no API content (Screenshot 3) • adjusting the `.git/config`file as suggested here doesn't change anything I'm completly lost here - could someone please point me the direction out of this?
bounce
b
This is a Git/GitHub issue, not an issue with Cal.com
Also just for context you won't have access to the console and website submodules, only api
a
Hi Peter. From your screenshot, api submodule appears to have downloaded (no errrors for api submodule. You will get errors for console and website but you can ignore those). You do need to create a personal access token in Github and provide it as a password here, which I guess you’ve already done (https://github.com/settings/tokens)
we were also unable to locally SEE the folder contents after downloading, as the folder is actually pointing to a remote private submodule
we also had more success by running these commands instead of
git clone --recurse-submodules -j8 <https://github.com/calcom/cal.com.git>
Copy code
git clone <https://github.com/calcom/cal.com.git>
Copy code
git submodules init
Copy code
git submodules update
p
@Augusto Samame thanks for the hints and advices. Although there's no error regarding the cloning of the API submodule, the API-directory is empty. Will try your suggested way immediately. Thanks again for sharing your experiences! @Bailey I hope my request for support was not misleading (I'm not a native speaker). Of course, this is not an issue of Cal.com. On the other hand, it's the way you suggest in your documentation. So reading there nothing about the problems which can arise following it, made me suspicious if I'm doing it right. I saw in then in the thread I referred to that I am apparently not the only one with this problem, so I asked for guidance here.
Just tried it as @Augusto Samame suggested - unfortunately without success - API directory still empty (1) But I can clone the API-Repo itself without any problems (2) I'm kind of tempted to put the "API-Download" into a branch of a fork an merge it to the main local Cal.com branch - but I guess that's not how it's ment to be?