aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd
AgeCommit message (Collapse)Author
2016-07-04Revert "Test officially supported cmd taps. (#390)"Martin Afanasjew
This reverts commit 252c701c59227c385ef6178fe99523cca8c843bb. Taps installed prior to running the test suite are not visible to the test suite as most Homebrew paths are redefined as to not mess up the local installation.
2016-07-04Test officially supported cmd taps. (#390)Mike McQuaid
All of these taps use Homebrew internal APIs (or will shortly) and we autoinstall them all from `brew $CMD`. We should adjust our CI to ensure that we never accidentally break these taps when making changes to core code so that these taps can rely more on this core code rather than having to e.g. vendor equivalent code that never changes on our end.
2016-07-04linkage: update --test documentationMartin Afanasjew
Adjust the wording to be in sync with the changes made in #424.
2016-07-03linkage: document --reverseXu Cheng
2016-07-03linkage: fix edge cases for undeclared_depsXu Cheng
* take requirements into account. * handle full qualified formula name. * filter out build time or unused optional deps/requirements. Closes #424. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-07-03linkage: check undeclared dependencies for `--test`Xu Cheng
Also allowing access results for LinkageChecker
2016-07-02Add --reverse to brew linkageTim D. Smith
For each dylib the keg references, print the dylib followed by the binaries which link to it. Closes #431.
2016-06-30test-bot: add `--skip-relocation` flagXu Cheng
Closes #410. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-06-29Remove unused variable Step#@timeTim D. Smith
Shadowed by Step#time method.
2016-06-29Document StepTim D. Smith
2016-06-29Begin documenting environment variablesTim D. Smith
Closes #405.
2016-06-27test-bot: always use `Tap.fetch`Xu Cheng
2016-06-25test-bot: handle no-tap upload case.Mike McQuaid
2016-06-25test-bot: fix testing job bottle upload.Mike McQuaid
2016-06-23test-bot: fix diff_formulaeXu Cheng
* Fix regression caused by 05649cee60e5349afc328070a0c0e4f6835f97f0 * Use `Tap#formula_file?` to filter formula.
2016-06-23test-bot: do not diff tree recursively (#394)Dominique
2016-06-21boneyard-formula-pr: relax hub requirementMartin Afanasjew
Don't force installation of the `hub` formula if it can be found in the search path. (Avoids unnecessary installation when switching between multiple Homebrew installations for different tasks.) Closes #384. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-06-21boneyard-formula-pr: fix local branch creationMartin Afanasjew
In local-only mode, the created branches end up tracking `origin/master` which isn't desirable.
2016-06-21boneyard-formula-pr: add local-only modeMartin Afanasjew
Allow boneyarding a formula locally, i.e. make all the necessary changes in the local repositories but don't push them to a remote and don't open a pull request automatically.
2016-06-20test-bot: Toggle HOMEBREW_RUBY_MACHO.William Woodruff
Closes #378. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-06-20test-bot: check for conflicts in dependencies (#379)Steven Peters
2016-06-19linkage: simplify display logicMartin Afanasjew
Move check for emptiness into the display method, avoiding repetitive checks on the call site. Closes #381. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-06-19linkage: fix code style issuesMartin Afanasjew
2016-06-19linkage: avoid checking symlinks/directoriesMartin Afanasjew
Prevent raising an error when `HOMEBREW_RUBY_MACHO=1` is set. Skipping symlinks and directories while iterating over a directory structure to find Mach-O binaries makes sense and similar logic is applied elsewhere.
2016-06-17bump-formula-pr: remove formula revisionilovezfs
If we're bumping the formula's stable version, then we also must reset the formula revision to zero. Note that if and only if a revision is being removed, this commit will enforce the convention that there should be a blank line before a simple head spec if and only if there is a formula revision. Any preexisting violation of the convention (in particular, a blank line before a simple head spec in the absence of a formula revision) won't be proactively corrected since we'd not be removing a formula revision in that case. Closes #369. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
2016-06-16bump-formula-pr: reflect new version in dry-runilovezfs
- simulate version change for dry-run - make sure we're using :devel version if called with --devel Closes #318. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
2016-06-13test-bot: strip additional invalid XML chars under Ruby 1.8.7 (#341)Andrew Janke
2016-06-08boneyard-formula-pr: add new command.ilovezfs
Add a new developer command (i.e., requires `HOMEBREW_DEVELOPER` set in your environment) to "boneyard" a formula, by creating one pull request removing the formula from its current tap and updating (or creating) tap_migrations.json, and another pull request importing the formula into homebrew/boneyard with any bottle block removed. Closes #53. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
2016-06-01test-bot: set --local HOMEBREW_CACHE correctly.Mike McQuaid
It defaults to being in $HOME but we override this meaning that we would destroy the cache every time.
2016-05-30test-bot: tweak readall behaviour. (#300)Mike McQuaid
Check the syntax for Homebrew/brew and don't bother for taps.
2016-05-30test-bot: move to dev-cmd. (#298)Mike McQuaid
This is not a command designed for end-users.
2016-05-20mirror: add command to mirror to Bintray. (#263)Mike McQuaid
Used for uploading imagemagick 6.9.4-3.
2016-04-19linkage: fix Ruby syntax warningXu Cheng
Library/Homebrew/dev-cmd/linkage.rb:113: warning: shadowing outer local variable - label
2016-04-19linkage: load formula from rackXu Cheng
This is to avoid TapFormulaAmbiguityError. We should load formula based on what we installed, rather than just name.
2016-04-18test-bot: check all dependents for broken dylibsAndrew Janke
Pulls 'brew linkage' in to main brew repo as a dev-cmd, and has test-bot use it to detect dylib breakage, which usually means a revision bump is needed. Checks all dependents, not just those with a 'test do' block defined, since we can do this without formula support. Closes #107. Signed-off-by: Andrew Janke <andrew@apjanke.net>
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
2016-03-28bump-formula-pr: fix typo in spec existence checkChristian Moritz
Closes Homebrew/homebrew#50472. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-03-28bump-formula-pr: add new command.Mike McQuaid
Add a new developer command (i.e. requires `HOMEBREW_DEVELOPER` set in your environment) to bump the version of a formula and create a new pull request with the new version. Closes Homebrew/homebrew#49848.
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-13aspell-dictionaries: move to dev-cmdXu Cheng
2015-09-12add dev-cmd folderXu Cheng