prepare

command
v0.0.0-...-02c6b06 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

README

Prepare

Prepare step of the testmachinery that clones the specified repositories to the repo src path and creates specified directories.

Repositories and directories are specified by json config file with the form:

{
  "directories": [ "/path1/repo", "/tmp/path2/" ],
  "repositories": [
    {
      "name": "unique name to identify repo",
      "url": "http clone url",
      "revision": "git branch or commit to checkout"
    }
  ]
}

Private repos are cloned by using the curl default .netrc file in the home directory of the user.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL