@nerdwallet/shepherd
Advanced tools
Comparing version 1.0.2 to 1.1.0
@@ -7,3 +7,9 @@ # Changelog | ||
## v1.1.0 | ||
* Use shallow git clones | ||
* Always log stderr of hooks | ||
## v1.0.2 | ||
* Fix for issue hitting GitHub rate limiting when operating on very large result sets by abiding by | ||
@@ -10,0 +16,0 @@ the retry-after response header on failure |
@@ -33,3 +33,3 @@ "use strict"; | ||
git.silent(true); | ||
yield git.clone(repoPath, localPath); | ||
yield git.clone(repoPath, localPath, ['--depth', '1']); | ||
} | ||
@@ -36,0 +36,0 @@ // We'll immediately create and switch to a new branch |
@@ -104,3 +104,3 @@ #!/usr/bin/env node | ||
// These commands don't take --repos arguments | ||
addCommand('list', 'List all cehcked out repositories for the given migartion', false, list_1.default); | ||
addCommand('list', 'List all checked out repositories for the given migration', false, list_1.default); | ||
commander_1.default.on('command:*', () => { | ||
@@ -107,0 +107,0 @@ logger.error(`Error: no such command "${commander_1.default.args[0]}"`); |
@@ -29,4 +29,4 @@ "use strict"; | ||
childProcess.stdout.on('data', (out) => logger.info(out.toString().trim())); | ||
childProcess.stderr.on('data', (out) => logger.info(out.toString().trim())); | ||
} | ||
childProcess.stderr.on('data', (out) => logger.info(out.toString().trim())); | ||
const childProcessResult = yield promise; | ||
@@ -33,0 +33,0 @@ logger.info(chalk_1.default.green(`Step "${step}" exited with 0`)); |
{ | ||
"name": "@nerdwallet/shepherd", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"description": "A utility for applying code changes across many repositories", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -109,3 +109,3 @@ # Shepherd | ||
* `checkout`: Determines which repositories are candidates for migration and clones or updates the repositories on your machine. Uses `should_migrate` to decide if a repository should be kept after it's checked out. | ||
* `checkout`: Determines which repositories are candidates for migration and clones or updates the repositories on your machine. Clones are "shallow", containing no git history. Uses `should_migrate` to decide if a repository should be kept after it's checked out. | ||
* `apply`: Performs the migration using the `apply` hook discussed above. | ||
@@ -112,0 +112,0 @@ * `commit`: Makes a commit with any changes that were made during the `apply` step, including adding newly-created files. The migration's `title` will be prepended with `[shepherd]` and used as the commit message. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
162291