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

submodule recursive fails to clone using http #402

Open
aminya opened this issue Dec 6, 2020 · 2 comments
Open

submodule recursive fails to clone using http #402

aminya opened this issue Dec 6, 2020 · 2 comments

Comments

@aminya
Copy link

aminya commented Dec 6, 2020

Here is the error:

https://github.com/aminya/build2-toolchain/runs/1506543807?check_suite_focus=true#step:6:182

Error: fatal: dumb http transport does not support shallow capabilities
  Error: fatal: clone of 'https://git.savannah.gnu.org/r/config.git' into submodule path '/home/runner/work/build2-toolchain/build2-toolchain/build2/config' failed

Here is the config:
https://github.com/aminya/build2-toolchain/blob/a0d6e01cb63abca5250981084a7f03c0fa5f2856/.github/workflows/ci.yml#L56

    - name: Checkout master branch
      uses: actions/checkout@v2
      with:
        repository: 'build2/build2-toolchain'
        submodules: recursive
@aminya aminya changed the title submodule recursive fails submodule recursive fails to clone using http Dec 8, 2020
@ericsciple
Copy link
Contributor

it looks like it's not supported by the external provider. You may need to set fetch-depth: 0

aminya added a commit to aminya/build2-toolchain that referenced this issue Jan 21, 2021
@aminya
Copy link
Author

aminya commented Jan 21, 2021

Thanks! Setting fetch-deps to 0 fixes the issue

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