14001 Commits

Author SHA1 Message Date
Alyssa Ross
7544a9afc7 tab: include HOMEBREW_VERSION 2016-12-03 19:46:38 +00:00
Mike McQuaid
52691cd0de Merge pull request #1611 from MikeMcQuaid/bash-test-race
bash_test: handle race condition.
2016-12-03 16:36:37 +00:00
Mike McQuaid
3f6d31dee1 bash_test: handle race condition.
Other tests may delete Bash files (e.g. `shcmd.sh`) while tests are
ongoing so ensure this doesn't cause a test failure.
2016-12-03 15:59:05 +00:00
Mike McQuaid
35d2610ee1 Merge pull request #1610 from MikeMcQuaid/fs_leak_logger_mkpath
fs_leak_logger: use more permissive mkpath.
2016-12-03 15:53:15 +00:00
Uladzislau Shablinski
a24a919a40 install_test: add HEAD tests 2016-12-03 18:52:08 +03:00
Mike McQuaid
42128b389b Merge pull request #1608 from MikeMcQuaid/tap-new-latest-travis
tap-new: use latest Travis CI recommended config.
2016-12-03 15:13:57 +00:00
Mike McQuaid
3908e74268 Merge pull request #1609 from MikeMcQuaid/travis-ci-again
travis.yml: enable macOS builds again.
2016-12-03 15:13:44 +00:00
Mike McQuaid
c560c47202 fs_leak_logger: use more permissive mkpath.
This avoids a race condition occurring here.
2016-12-03 15:04:02 +00:00
Mike McQuaid
94580a6cff travis.yml: enable macOS builds again. 2016-12-03 14:45:50 +00:00
Mike McQuaid
0d8fc920d6 tap-new: use latest Travis CI recommended config.
Pretty sure no-one cares about this except me but this works
consistently across a variety of different taps and is faster than the
old version.
2016-12-03 13:47:52 +00:00
Mike McQuaid
bc9d3afd6e Merge pull request #1606 from rwhogg/uninstall-testing-env
uninstall_test: require testing_env
2016-12-03 10:03:05 +00:00
Bob W. Hogg
f7e5a85c2b uninstall_test: require testing_env 2016-12-02 19:41:38 -08:00
Uladzislau Shablinski
6ef96d0be4 Update tests for new install behaviour 2016-12-03 04:42:04 +03:00
Uladzislau Shablinski
73a1daa669 cmd/install: allow to install any spec
* installing HEAD keg_only should be possible only if:
  1.
    - Old version installed differs from new one and optlinked
    - `--force` flag is passed
    - HEAD is seriously outdated or outdated with `--fetch-HEAD`
  or 2.
    - Old version installed differs from new one and not optlinked
  or 3.
    - This formula is not installed

* installing keg_only should be possible only if:
  1.
    - Old version installed differs from new one and optlinked
    - `--force` flag is passed
  or 2.
    - Old version installed differs from new one and not optlinked
  or 3.
    - This formula is not installed

* installing HEAD should be possible only if:
  1.
    - Old HEAD is seriously outdated or outdated with `--fetch-HEAD`
  or 2.
    - HEAD is not installed

* installing stable or devel should be possible only if:
  - Old version installed differs from new one
2016-12-03 04:42:04 +03:00
Uladzislau Shablinski
52526c962b formula: add new methods
* `Formula#linked?` returns true if formula linked
* `Formula#optlinked?` returns true if formula linked to opt
  formula installed to the Cellar
* `Formula#prefix_linked?` returns true if linked keg points to the prefix
  passed as an argument
* `Formula#linked_version` to get linked version of the formula
2016-12-03 04:42:04 +03:00
Uladzislau Shablinski
7b24d1d2d1 download_strategy: keep commit short if possible 2016-12-03 04:42:04 +03:00
Mike McQuaid
5bbd64141e Merge pull request #1604 from bfontaine/pkill
update.sh: Use full path to pkill
2016-12-02 10:01:09 +00:00
Baptiste Fontaine
bff8e8440e update.sh: Use full path to pkill
Fixes #1600.
2016-12-01 20:59:42 +01:00
Mike McQuaid
8f82e89d0b README: update license name. 2016-12-01 16:11:30 +00:00
Mike McQuaid
0c82ccece2 LICENSE: use more standard BSD 2-Clause text. 2016-12-01 13:05:29 +00:00
Mike McQuaid
eb20f594a2 ISSUE_TEMPLATE: point people to the right repo. 2016-11-30 11:38:17 +00:00
Markus Reiter
0a6cecbaf8 Fix tests. 2016-11-29 11:43:45 +01:00
Alyssa Ross
2b68da8252 formula: runtime deps of build deps aren't runtime
Fixes #1554 (but only for new installations)
2016-11-29 01:39:02 +00:00
Markus Reiter
e0b93f1537 Also fail if symlinked artifacts already exist. 2016-11-28 14:01:06 +01:00
Markus Reiter
e63efb3fe4 Warn when overwriting an artifact. 2016-11-28 14:01:06 +01:00
Markus Reiter
9a29bd35e6 Fail if cask source already exists. 2016-11-28 13:38:49 +01:00
Mike McQuaid
0f529dae10 Merge pull request #1573 from sorin-ionescu/fix-xcode-version-comparison
Fix macOS version comparison
1.1.2
2016-11-28 08:46:20 +00:00
Mike McQuaid
a35d0fe8f0 Merge pull request #1582 from rwhogg/sha1-gone
docs/Checksum_Deprecation.md: Note that SHA-1 now blocks installation
2016-11-28 08:45:41 +00:00
Mike McQuaid
0b762dc3f1 Merge pull request #1588 from rwhogg/make-deps-public
dependency_collector: Make ant_dep and xz_dep public
2016-11-28 08:27:34 +00:00
Bob W. Hogg
227e69048a dependency_collector: Make ant_dep and xz_dep public
They were already public on macOS, but they were made
private by mistake on all other platforms.
DependencyCollector.tar_needs_xz_dependency? depends
on xz_dep being public, so there's no turning back now :(
2016-11-28 03:09:34 +00:00
Mike McQuaid
84b3c57086 Merge pull request #1581 from MikeMcQuaid/rubocop-exclude-vendor
rubocop: exclude more files.
2016-11-27 08:25:17 +00:00
Mike McQuaid
019b12063d Merge pull request #1574 from MikeMcQuaid/tap-new-travis-update
tap-new: cleanup and update Travis configuration.
2016-11-26 22:20:20 +00:00
Mike McQuaid
726045b2f4 rubocop: exclude more files.
We never want to check these for any e.g. taps that use them.
2016-11-26 21:29:02 +00:00
Sorin Ionescu
282c0a30b6 Fix macOS version comparison 2016-11-26 13:59:55 -05:00
Mike McQuaid
3e3df9568e Merge pull request #1580 from MikeMcQuaid/fix-uses-test
uses_test: don't rely on output order.
2016-11-26 18:16:40 +00:00
Bob W. Hogg
bf05818a8a docs/Checksum_Deprecation.md: Note that SHA-1 now blocks installation
This document was out of date as of https://github.com/Homebrew/brew/pull/1451
2016-11-26 17:27:02 +00:00
Mike McQuaid
e465670942 Merge pull request #1579 from MikeMcQuaid/doctor-allow-jenkins
diagnostic: silence a Jenkins doctor warning.
2016-11-26 17:26:55 +00:00
Mike McQuaid
e330047ff9 diagnostic: silence a Jenkins doctor warning.
Allow our Jenkins CI testing for Homebrew/brew to live outside of
`/usr/local` without complaint (as it's not using any binary packages
anyway).
2016-11-26 16:32:48 +00:00
Mike McQuaid
22b121c4c1 tap-new: cleanup and update Travis configuration.
- Use macOS Sierra 10.12 and Xcode 8.
- Add indentation.
2016-11-26 16:30:43 +00:00
Mike McQuaid
b851935484 uses_test: don't rely on output order.
I've seen this vary.
2016-11-26 16:21:27 +00:00
Mike McQuaid
78fdb470cb Merge pull request #1578 from MikeMcQuaid/analytics-install-hide-message
update-report: allow skipping analytics message.
2016-11-26 15:57:06 +00:00
Mike McQuaid
d41e2ea5e8 update-report: allow skipping analytics message.
This is used by the install script so it can simplify it's logic and
make the analytics messaging more prominent.
2016-11-26 15:14:21 +00:00
Mike McQuaid
5dd8f45cb8 Merge pull request #1577 from MikeMcQuaid/more-analytics-tweaks
update-report: further tweak analytics output.
2016-11-26 14:31:45 +00:00
Mike McQuaid
118f052057 Merge pull request #1576 from MikeMcQuaid/diagnostic-allow-outdated-travis
diagnostic: silence outdated Travis Xcode warning.
2016-11-26 14:03:25 +00:00
Mike McQuaid
3469190c30 update-report: further tweak analytics output.
There were some bugs with the use of `HOMEBREW_NO_ANALYTICS_THIS_RUN`
and some output glitches I missed with the previous PR (#1575).
2016-11-26 13:58:41 +00:00
Mike McQuaid
578fff7872 Merge pull request #1575 from MikeMcQuaid/tweak-analytics-message
update-report: further improve analytics messaging
2016-11-26 13:45:42 +00:00
Mike McQuaid
025e53c321 diagnostic: silence outdated Travis Xcode warning.
This doesn't add any value and stops us from testing `brew doctor` and
others from running `brew doctor` on Travis CI.
2016-11-26 13:09:59 +00:00
Mike McQuaid
7cd5ddfa65 update-report: further improve analytics messaging
- Don't output the analytics message and mark it as read if
`HOMEBREW_NO_ANALYTICS_THIS_RUN` is set. This mostly simplifies the
installer code where we can display the message ourselves there rather
than having `brew update` print it out sometimes and not others (i.e.
when there's no system Git installed).
- Use the shell's audible bell to nudge people to actually read this
message (and give them less excuse to complain when they don't).
- Add an extra newline and bold all the analytics messaging so it's
more visible in the output.
2016-11-26 12:56:02 +00:00
Mike McQuaid
1f3351f0ca Merge pull request #1572 from mgol/patch-1
Change my site address
2016-11-26 12:32:06 +00:00
Michał Gołębiowski
2b34e67af7 Change my site address
I no longer maintain my former site so it's better to link to my GitHub account.
2016-11-25 23:33:34 +01:00