aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2016-07-04style: use RuboCop 0.41.1 (#433)Martin Afanasjew
Tweak `Style/NumericLiteralPrefix` cop settings as we're using octal literals a lot (both in formulae and the package manager) for file permissions and aren't ready just yet to transition them to the more beginner-friendly `0o` prefix (instead of the more obscure `0` prefix).
2016-07-03gist-logs: close temp file before passing to curl (#418)Andrew Janke
Ensures that the data gets written to disk so curl can see it, avoiding intermittent JSON parsing errors in gist creation.
2016-07-03update-report: prune on cask migration. (#428)Mike McQuaid
Do this to ensure that any symlinks in the Homebrew prefix and/or in Applications are removed to stop issues with stale symlinks causing Casks from being installed correctly.
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-07-02test_formula: improve test_migration_neededVlad Shablinsky
Closes #432. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-07-02formula: simplify migration_needed?Vlad Shablinsky
2016-07-01requirement: update cask wordingDominyk Tiller
We now have "magic" to automatically handle `brew cask` and `brew bundle` calls without needing to tap those taps manually beforehand. Let's reflect that in this wording for consistency. Closes #427. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-06-30blacklist: update URLs and MacRuby message (#406)Tony Ta
* updates link for installing pip * the macruby project has been abandoned and the website is gone
2016-06-30osxfuse_requirement: fix website linkDominyk Tiller
2016-06-30test-bot: add `--skip-relocation` flagXu Cheng
Closes #410. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-06-30bottle: add `--skip-relocation` flag to skip keg relocateXu Cheng
This flag is indented to be used in `homebrew/portable` to build vendor ruby/git/curl.
2016-06-29Tests for Step classTim D. Smith
Closes #419.
2016-06-29Move with_environment to testing_envTim D. Smith
2016-06-29Remove unused variable Step#@timeTim D. Smith
Shadowed by Step#time method.
2016-06-29Document StepTim D. Smith
2016-06-29utils/lock.sh: remove redundant 'local'Martin Afanasjew
2016-06-29analytics: make Linux UUID generation more robustMartin Afanasjew
Not every Linux system has a pre-installed `uuidgen` command (Debian has a package `uuid-runtime` but doesn't install it by default). In contrast, `/proc/sys/kernel/random/uuid` is always available on a modern Linux system and produces type/version 4 UUIDs, just like `uuidgen`. Closes #416. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-06-29analytics: handle UUID generation errorsMartin Afanasjew
Avoid writing an empty UUID to the Git configuration file and disable analytics temporarily to avoid sending bogus data with an invalid UUID.
2016-06-29Begin documenting environment variablesTim D. Smith
Closes #405.
2016-06-29Test resolve_test_tapTim D. Smith
2016-06-29Add magic token to hide commands from man pageTim D. Smith
Closes #402.
2016-06-29Document command line options for brew testsTim D. Smith
2016-06-29cmd/install: use migration_needed?Vlad Shablinsky
Closes #411. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-06-29test_formula: add migration_needed testVlad Shablinsky
2016-06-29formula: simplify outdated_versions logicVlad Shablinsky
2016-06-29test_formula: add outdated_versions testsVlad Shablinsky
2016-06-29test: Add tests for Keg#mach_o_files link behavior.William Woodruff
Move dylib_path and bundle_path from test_mach to testing_env to accommodate the new tests. Closes #400. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-06-29keg_relocate: Exclude hardlinks from mach_o_files.William Woodruff
2016-06-29brew.sh: rename 'chdir' to 'safe_cd'Martin Afanasjew
This is inspired by `safe_system` with basically the same implication (fail on error), making the name a lot less confusing and avoiding a clash with the `chdir` function previously defined in `bin/brew`. Closes #414. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-06-27Revert "keg_relocate: Exclude hardlinks from mach_o_files."Tim D. Smith
This reverts commit 3e5e14a59580325faf397b48d62a52f0013a17f2.
2016-06-27Revert "test: Add test for Keg#mach_o_files hardlink behavior."Tim D. Smith
This reverts commit 62d7079684cdb568600e22531c62888622a71ff1.
2016-06-27test: Add test for Keg#mach_o_files hardlink behavior.William Woodruff
Move dylib_path and bundle_path from test_mach to testing_env to accommodate the new test. Closes #400. Signed-off-by: Tim D. Smith <git@tim-smith.us>
2016-06-27keg_relocate: Exclude hardlinks from mach_o_files.William Woodruff
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-24create: add --tap option (#389)Zhiming Wang
This commit adds a --tap option to the create command such that a user could create a formula in a specified tap instead of the core.
2016-06-24bottle: avoid raising exception in ensure blockMartin Afanasjew
The `ensure` block can be reached before the tab is modified (and thus before `original_tab` gets populated). Avoid raising an exception when attempting to restore a tab that hasn't been modified yet, e.g. because relocating some of the Mach-O binaries failed.
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-22audit.rb: require https for ftpmirror.gnu.org (#393)Viktor Szakats
* audit.rb: require https for ftpmirror.gnu.org The situation is similar to other mirror redirectors: the server may subsequently redirect to an insecure url. But it's a step. * manpage: update HOMEBREW_NO_INSECURE_REDIRECT section
2016-06-22update-report: remove unconditional cask/formula uninstall.Mike McQuaid
2016-06-22tests: refactor formula file creation (#370)Andrea Kao
2016-06-22update-report: migrate formulae to casks. (#375)Anastasia Sulyagina
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.