
Download remote git repo as archive - think
Orbs / git-download
Downloads a remote git repository into a directory or into a file. Provides a wrapper around the command, executing a command like this from node:
NOTE: Github does not support , so this package does not work with Github repos. This package can be used to download git repositories from private git servers as well as Atlassian Stash and Bitbucket. It may be enhanced to add github support in the future using a different download method.
: Location of remote git repository (github not supported since they don't support git archive)
: Destination to explode contents of file
: Branch and folder path to include, such as
: Location to save tarfile, defaults to with a uuidv4 filename if not specified
: Removes tarfile if false, saves it if true
: Optional prefix to add to all root filesname in tarfile
Resources for future enhancement inspirations:
https://www.npmjs.org/package/github-downloadhttps://github.com/component/remotes.js/blob/master/lib/remotes/bitbucket.jshttp://stackoverflow.com/questions/9609835/git-export-from-github-remote-repositoryhttps://www.npmjs.org/package/git-download-archivehttps://www.npmjs.org/package/download-github-repo
-