aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd/update-test.rb
AgeCommit message (Collapse)Author
2017-03-28update-test: Use git fetch --tags --depth=1Shaun Jackman
Use git fetch --tags --depth=1 to fetch fewer commits.
2017-03-28update-test: improve error handling.Mike McQuaid
Fail if the start or end commit are missing and retry finding the previous tag by fetching all tags if they are missing. This should fix CI on the current Homebrew/brew `master` branch. Closes #2404.
2017-03-05Add more flags and descriptions to man pages.EricFromCanada
2017-02-25Update brew's man page formatting and grammarEricFromCanada
Also update command specifications to match descriptions.
2016-10-29update-test: fix --to-tag failure on new tag.Mike McQuaid
Without this updating to a tag will always have the same start commit and end commit as there's been no updates to `master` since the tag was created.
2016-10-04Merge pull request #1145 from reitermarkus/module-functionMarkus Reiter
Use `module_function` for `Homebrew` module.
2016-10-02update-test: fix tag updating, skip core tap.Mike McQuaid
Fix updating the `stable` branch used for tagged updates and ensure that the core tap isn’t retapped (the slowest part by far of this test).
2016-10-02Use `module_function` for commands.Markus Reiter
2016-10-01update-test: add --to-tag option.Mike McQuaid
This option is used to test updating between tags.
2016-09-22update-test: more accurate variable namesAlyssa Ross
2016-09-22docs: more accurate update-test parameter nameAlyssa Ross
`sha1` isn't a very accurate description of what this value can be because it can be any git commit reference. For example, `brew test-bot` uses `brew update-test --commit=HEAD`.
2016-09-16update-test: handle missing master branch.Mike McQuaid
Ensure it's always created. Also, re-order `update-test` in `test-bot` (and `readall`) so they are run before the test suites.
2016-09-08Don't hide some (now) developer commands.Mike McQuaid
2016-09-08Add `--help` to all developer commands.Mike McQuaid
Also, flag those that we never want to be in a manpage.
2016-08-14update-test: tweak master not updated check.Mike McQuaid
Loosen this a bit; we don't necessarily expect the end commit is the one we're looking for, just that it has changed from the start commit (i.e. some sort of update has occurred). Addresses some false negatives on `master` branch merges that weren't present on the PR commits.
2016-08-11update-test: check we end up at end commit.Mike McQuaid
This would have caught the bug fixed in 985c67.
2016-04-18brew test, install, update-test: add --keep-tmp optionAndrew Janke
Also enables sandbox for --interactive and --debug use of install and test, using automatic retention. Closes #66. Signed-off-by: Andrew Janke <andrew@apjanke.net>
2016-04-02update-test: fix git fork bombXu Cheng
2015-12-19update-test: allow setting start commitXu Cheng
To use origin/master as start commit brew update-test To use <sha1> as start commit brew update-test --commit=<sha1> To use commit at <date> as start commit brew update-test --before=<date> Also print start/end commit for debug purpose
2015-09-18update-test: use git clone --local instead of copyXu Cheng
The .git directory in BrewTestBot is huge(1GB) which results to poor performance of `brew update-test`. Therefore, let's use `git clone --local` here which will create hard symlink to boost performance. Closes Homebrew/homebrew#44005. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-14fix update-testXu Cheng
Previously, `brew update-test` is run against master branch of local repo. However, we test PR using a detached branch in `brew test-bot`. The result is `brew update-test` will always be up-to-date in `test-bot`. To fix it, we create two local copies of git repo, and set master branch to start and end sha1 correspondingly. After that, `brew update` will be run to simulate the change between start and end sha1. Closes Homebrew/homebrew#43902. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-14update_test: run update verbosely.Mike McQuaid
2015-09-13update-test: better outputXu Cheng
2015-09-12add dev-cmd folderXu Cheng