aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2016-07-06download_strategy: use short hash for git last_commitVlad Shablinsky
Closes #460. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-07-06test_download_strategies: add git testsVlad Shablinsky
2016-07-06VCSDownloadStrategy: add last_commit methodVlad Shablinsky
Implement: * VCSDownloadStrategy#last_commit Use last modified file timestamp * SubversionDownloadStrategy#last_commit Use `svn info --show-item revision` * GitDownloadStrategy#last_commit Use `git rev-parse HEAD` * MercurialDownloadStrategy#last_commit Use `hg parent --template {node}` * BazaarDownloadStrategy#last_commit Use `bazaar revno` * FossilDownloadStrategy#last_commit Use `fossil info tip`
2016-07-06doctor: fix undefined method `include?' for nil:NilClassXu Cheng
Closes https://github.com/Homebrew/homebrew-core/issues/2758
2016-07-06doctor: check for beta XQuartz releasesMisty De Meo
Beta versions of XQuartz have address sanitization enabled, which breaks some software at runtime, including wine. Closes Homebrew/homebrew-core#2481. Closes #459. Signed-off-by: Misty De Meo <mistydemeo@github.com>
2016-07-06pkg-config: update for macOS 10.12 beta 2Dominyk Tiller
2016-07-06xcode: update expected clang for macOS 10.12Dominyk Tiller
2016-07-05test/lib/config: group paths by persistenceMartin Afanasjew
Rearrange path constants such that persistent paths (that point into the Homebrew code base) are in one spot and all other paths (that are being redirected to a temporary location for the duration of the test run) are grouped together. Closes #440. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-07-05config: document previously undocumented constantsMartin Afanasjew
2016-07-05config: remove obsolete HOMEBREW_CONTRIB constantMartin Afanasjew
2016-07-05test-bot: fix ruby_has_encoding call regressionAndrew Janke
2016-07-05gist-logs: truncate log files to be gist-friendly (#279)Andrew Janke
Truncates each log file to about 1 MB. This avoids upload and download errors with the gists, and respects GitHub's suggested size limits.
2016-07-05tests: fix leak in '[un]linkapps' integration test (#439)Martin Afanasjew
Prior to the fix, every run of the test suite would leave behind a pair of empty directories in `$TMPDIR`. (A temporary home directory was created but only its child `Applications` was wiped when done.)
2016-07-04diagnostic: more porting to generic OS. (#449)Mike McQuaid
2016-07-04Remove unnecessary official command tapping.Mike McQuaid
2016-07-04test-bot: don't test official commands on ruby 1.8.Mike McQuaid
2016-07-04test_integration_cmds: loosen cask test.Mike McQuaid
2016-07-04test-bot: fix args, tap before official-cmd-taps.Mike McQuaid
2016-07-04Revert "Revert "Test officially supported cmd taps. (#390)""Mike McQuaid
This reverts commit dba1958bd79c1c9d18f215dfc2b806ea62edd1c8.
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-04cleaner: port to generic OS. (#447)Mike McQuaid
2016-07-04utils: output what files `edit` is opening. (#444)Mike McQuaid
Since we've moved all formulae to taps it's not necessarily obvious what the path for the files are otherwise.
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-04install: undocument --force-bottle. (#443)Mike McQuaid
This is a developer-only option I created for testing purposes. It should not be used by end-users.
2016-07-04tests: default to testing offline. (#430)Mike McQuaid
Set HOMEBREW_NO_GITHUB_API to allow running all tests (but search's integration test specifically for now) offline. This can be overridden with `--online`.
2016-07-04linkage: update --test documentationMartin Afanasjew
Adjust the wording to be in sync with the changes made in #424.
2016-07-04download_strategy: fix detect_from_symbol method (#446)Camden Narzt
strategy is an undefined variable
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