Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to clone the master branch #2

Closed
3 tasks done
proletarius101 opened this issue Jul 19, 2024 · 4 comments
Closed
3 tasks done

Unable to clone the master branch #2

proletarius101 opened this issue Jul 19, 2024 · 4 comments

Comments

@proletarius101
Copy link

We are happy to answer your questions about the code or discuss technical ideas.

Please complete the following checklist (by adding [x]):

  • I have searched open and closed issues for duplicates
  • This isn't a feature request
  • This is not a report about my app not working as expected

The master branch (as of a64a2a1) has a submodule scripts/devtools referring to a private repository on GitHub.com, which prevents this repository from being cloned by the general public.

@proletarius101
Copy link
Author

Hi @calexandru2018, could you please take a look? 🙏

@calexandru2018
Copy link
Contributor

@proletarius101 I don't have any issues cloning via https or ssh, works fine for me 👍🏻

@proletarius101
Copy link
Author

@calexandru2018

Sorry, I didn't elaborate it well. It's because I clone it with git clone https://github.com/ProtonVPN/python-proton-vpn-api-core --recurse-submodules, or as in https://buildbot.flathub.org/#/builders/19/builds/17000:

git clone https://github.com/ProtonVPN/python-proton-vpn-api-core --recurse-submodules
Alias tip: g clone https://github.com/ProtonVPN/python-proton-vpn-api-core --recurse-submodules
Cloning into 'python-proton-vpn-api-core'...
remote: Enumerating objects: 2080, done.
remote: Counting objects: 100% (2080/2080), done.
remote: Compressing objects: 100% (746/746), done.
remote: Total 2080 (delta 1227), reused 1951 (delta 1098), pack-reused 0
Receiving objects: 100% (2080/2080), 524.25 KiB | 2.03 MiB/s, done.
Resolving deltas: 100% (1227/1227), done.
Submodule 'scripts/devtools' (https://github.com/ProtonVPN/integration/devtools.git) registered for path 'scripts/devtools'
Cloning into '/tmp/python-proton-vpn-api-core/scripts/devtools'...
remote: Not Found
fatal: repository 'https://github.com/ProtonVPN/integration/devtools.git/' not found
fatal: clone of 'https://github.com/ProtonVPN/integration/devtools.git' into submodule path '/tmp/python-proton-vpn-api-core/scripts/devtools' failed
Failed to clone 'scripts/devtools'. Retry scheduled
Cloning into '/tmp/python-proton-vpn-api-core/scripts/devtools'...
remote: Not Found
fatal: repository 'https://github.com/ProtonVPN/integration/devtools.git/' not found
fatal: clone of 'https://github.com/ProtonVPN/integration/devtools.git' into submodule path '/tmp/python-proton-vpn-api-core/scripts/devtools' failed
Failed to clone 'scripts/devtools' a second time, aborting

But yes, maybe I should just opt to not cloning the submodule. I'm going to closing this issue.

@calexandru2018
Copy link
Contributor

Ah ok understood. Yeah those are some internal tools that we use mainly for speeding up our dev process and our CI. 👍🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants