Skip to content

Better git submodule support in dagger API #10863

Closed

Description

@jedevc

Pretty much this:

dagger/core/git.go

Lines 789 to 794 in 40dba8d

// TODO: this feels completely out-of-sync from how we do the rest
// of the clone - caching will not be as great here
_, err = checkoutGit.Run(ctx, "submodule", "update", "--init", "--recursive", "--depth=1")
if err != nil {
return fmt.Errorf("failed to update submodules for %s: %w", remote, err)
}

Problems:

We should fix all the above with a better API... proposals welcome 😢

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions