ilovezfs
08f7e8c588
Merge pull request #3864 from MikeMcQuaid/migrator-upgrade
...
migrator: recommend upgrade.
2018-03-02 21:18:22 -08:00
commitay
2404279d63
Fix SystemCommand escaping
2018-03-03 14:45:12 +10:00
Mike McQuaid
2f776ed523
migrator: recommend brew upgrade
.
...
You’re in a weird middle state if you run `brew update` but haven’t
upgraded a migrated formula.
2018-03-02 21:23:07 +00:00
ilovezfs
0ebb5b2857
Merge pull request #3862 from MikeMcQuaid/migrator-overwrite
...
migrator: overwrite by default.
2018-03-02 09:53:02 -08:00
Mike McQuaid
b4c268e3c5
migrator: overwrite by default.
...
This avoids getting into an invalid state which will and does break
for users.
2018-03-02 17:21:17 +00:00
Steven Peters
0d5ae6cf0b
language/python: version 3.6 in site_packages
2018-03-02 09:05:41 -08:00
Dominyk Tiller
8668b7108a
utils: stop suggesting fixing hard deprecations tweak
2018-03-02 07:10:31 +00:00
Dominyk Tiller
e960ccdf18
utils: stop suggesting fixing hard deprecations
2018-03-02 06:42:24 +00:00
Alyssa Ross
84dda31e82
Add tests for ENV#clear_sensitive_environment!
2018-03-01 17:48:08 +00:00
Alyssa Ross
af682d2d63
Merge branch 'master' into undeclared_runtime_dependencies
2018-03-01 17:39:49 +00:00
Alyssa Ross
51b27039be
Revert "Only check undeclared dependencies on macOS"
...
This reverts commit fa5245f7adf38833b03e92e42aa5217ac5157773.
2018-03-01 17:30:42 +00:00
Alyssa Ross
fa5245f7ad
Only check undeclared dependencies on macOS
...
We don't currently have a LinkageChecker on Linux, so can't do this.
2018-03-01 17:30:37 +00:00
Alyssa Ross
43c658a8fa
Merge pull request #3852 from sjackman/linkage_checker
...
Move linkage_checker from os/mac to generic
2018-03-01 17:24:34 +00:00
Gautham Goli
09f343d496
rubocop: Add cop to check depends_on
order and tests
2018-03-01 12:32:25 +05:30
Shaun Jackman
97932c1abf
Move linkage_checker from os/mac to generic
2018-02-28 11:18:27 -08:00
Steven Peters
db615a419a
dev-cmd/ruby: fix path to dev-cmd/irb and add test
2018-02-28 09:31:29 -08:00
AndrewMcBurney
d7765dd223
Separated os/mac/cache_store.rb
into cache_store.rb
and os/mac/linkage_cache_store.rb
.
2018-02-28 10:39:15 -05:00
Alex Wang
7b94842610
Split ternary for PATH building into if/else cases
2018-02-28 09:26:15 -05:00
Mike McQuaid
4176399537
Merge pull request #3851 from MikeMcQuaid/pry
...
irb: add pry support.
2018-02-28 14:25:16 +00:00
Mike McQuaid
2205f62ec6
irb: add pry support.
...
Make `brew irb` optionally support `pry`. While doing so, also make it a `dev-cmd`.
2018-02-28 11:36:23 +00:00
ilovezfs
04cec369c7
language/python: handle python@* in each_python
2018-02-28 03:20:14 -08:00
AndrewMcBurney
14256faa47
Added flag to flush_cache
in LinkageChecker
. Format ruby hash as JSON string before storing in dbm
.
2018-02-27 13:05:19 -05:00
Mike McQuaid
e3be551244
Merge pull request #3847 from MikeMcQuaid/travis-caching
...
travis.yml: fix bundler caching.
2018-02-27 15:36:34 +00:00
Mike McQuaid
d4a3fc088f
travis.yml: fix bundler caching.
2018-02-27 14:30:30 +00:00
Mike McQuaid
1d656c805c
Merge pull request #3844 from MikeMcQuaid/warnings
...
brew.sh: HOMEBREW_DEVELOPERs can enable Ruby warnings.
2018-02-27 13:06:09 +00:00
Mike McQuaid
6302da37f6
Add prof and ruby commands.
...
These are imported from Homebrew/homebrew-dev-tools and are both used by
maintainers so may be useful for contributors too.
2018-02-27 12:07:30 +00:00
Mike McQuaid
9446eb661d
brew.sh: HOMEBREW_DEVELOPERs can enable Ruby warnings.
...
It provides some useful helpers for when we're doing stupid things but
it's not something we want around by default.
2018-02-27 11:53:31 +00:00
Mike McQuaid
430bb7c3a0
update: tweak git too old check.
...
Avoid trying to install and warning if system Git is too old but Git
is already installed.
2018-02-27 10:41:16 +00:00
Alex Wang
bfa474857a
Add macOS libs ahead of brewed llvm libs in lib search path
...
This ensures that libraries that are built with brewed LLVM but not
included in the Command Line Tools/Xcode (e.g. libomp) can be found
during a build, while still using system libraries for the essential
stuff (e.g. libc++)
2018-02-26 18:35:34 -05:00
Mike McQuaid
72f4d05418
Handle a too old system Git on OS X 10.8 and below
...
Needed for GitHub since:
https://github.com/blog/2507-weak-cryptographic-standards-removed
2018-02-26 16:08:10 +00:00
Alyssa Ross
adb8c252b0
info: sort HEAD keys by install date
...
This makes a lot more sense than sorting alphabetically by commit hash,
the previous behaviour.
2018-02-26 09:21:38 +00:00
AndrewMcBurney
4bc6459ed7
Removed redundant documentation, use database_cache as a block, and use symbolic keys over string keys in function calls.
2018-02-25 12:14:11 -05:00
Mike McQuaid
16df750837
Merge pull request #3827 from maxim-belkin/brew-unix-3
...
Cross-platform java detection
2018-02-23 08:48:12 +00:00
Mike McQuaid
f2ce6489b2
Use more docs.brew.sh short links
...
These are nicer on the eyes.
2018-02-22 19:46:58 +00:00
Maxim Belkin
a1bf2c072c
Use \d instead of 0-9 in regex
2018-02-22 19:25:56 +00:00
Maxim Belkin
5536f49305
Cross-platform java detection
2018-02-22 18:32:21 +00:00
Mike McQuaid
1811c77ec6
Merge pull request #3813 from maxim-belkin/brew-unix-2
...
bzip2 and zip dependencies_if_needed
2018-02-21 14:31:24 +00:00
Maxim Belkin
f8874004c2
Make 'xz' and 'cvs' dependencies conditional
2018-02-21 14:11:35 +00:00
Maxim Belkin
c83dd0d04b
brew style: replace tabs with spaces
2018-02-21 13:44:51 +00:00
Mike McQuaid
09c5be86b6
Merge pull request #3820 from sjackman/macos-version
...
Define OS::Mac on Linux
2018-02-21 09:48:36 +00:00
Mike McQuaid
77e2478555
Merge pull request #3822 from MikeMcQuaid/dependency_collector_symbol
...
dependency_collector: don't create symbol deps.
2018-02-21 09:01:17 +00:00
Mike McQuaid
dd2288a5b2
dependency_collector: don't create symbol deps.
...
Need to convert this to a string first or things explode.
2018-02-21 08:49:13 +00:00
Reinhard Pointner
f6cff479ad
GPG container contain file content and signature and thus don't have or need *.asc files
...
e.g.
url "https://server.com/package.gpg "
gpg :embedded, key_url: 'https://keys.org/package.pub '
2018-02-21 11:56:05 +07:00
commitay
bab4bb68ee
Merge pull request #3715 from commitay/moved
...
cask move_back: copy / delete
2018-02-21 07:47:43 +10:00
Maxim Belkin
14d7a7a08c
Code refactoring 4.0
2018-02-20 21:33:38 +00:00
Shaun Jackman
73ba9b3d88
Define OS::Mac on Linux
...
Define MacOS.version, MacOS.full_version, and MacOS::Xcode.version to
Version::NULL on Linux so that brew readall succeeds and Homebrew/brew
can tap Homebrew/core on Linux.
2018-02-20 11:22:40 -08:00
Mike McQuaid
84be0f82d4
brew.sh: use system curl on Linux where possible.
...
Result of discussion in #3809 .
2018-02-20 09:12:47 +00:00
Mike McQuaid
a9c64c319f
gist-logs: require API credentials.
...
Anonymous gists are going away shortly:
https://github.com/blog/2503-deprecation-notice-removing-anonymous-gist-creation
2018-02-19 16:14:32 +00:00
Maxim Belkin
c6dac68d8b
Code refactoring v3.0
2018-02-19 10:21:01 +00:00
Maxim Belkin
306c19061e
Code refactoring v2.0
2018-02-19 09:58:30 +00:00