Skip to content

installing from git(hub) with submodules #82

@tidy-bot

Description

@tidy-bot

Issue by jonkeane
Thursday Apr 28, 2016 at 23:38 GMT
Originally opened as r-lib/devtools#1163


Currently git(hub) repositories with submodules can't be installed. There is a warning when using install_github(), but after the switch to git2r it looks like args="--recursive" are no longer supported in install_git().

I've looked through git2r and I don't see any support for submodules there, but I might be missing it somewhere.

Would it be possible (and more importantly advisable) to add an option to check for a .gitmodules file when the repository is downloaded and then also download the submodules specified there before installing the package? I would be happy to take a stab at adding this and sending a pull request, but I want to make sure this isn't a terrible idea first.

This is an off shoot from Issue #751

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancementinstall

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions