submodule recursive fails to clone using http

Open
#402 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
git, github-actions
Domain
ci-cd, devops

Research direction

Start with the checkout step in .github/workflows/ci.yml around line 56 and the linked GitHub Actions run, focusing on recursive submodule cloning of https://git.savannah.gnu.org/r/config.git. Reproduce the failure with actions/checkout@v2 and determine whether the checkout can complete over HTTP; done means the recursive checkout succeeds or the limitation is clearly documented.

Written by the indexing model from the issue text.

Description

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
Dominant language
TypeScript
Stars
8.9k
Forks
2.8k
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from actions/checkout

All issues in actions/checkout

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.