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
Maxim Belkin
d25fc5ce50
Code refactoring
2018-02-19 09:54:36 +00:00
Maxim Belkin
73a3592981
Renaming linux-specifix file with tests
...
Files are globbed based on their name. Therefore, we have to rename
them so tests for Linux are not executed on a Mac.
2018-02-19 08:54:30 +00:00
Maxim Belkin
b084a2581f
Making zip and bzip2 dependecies conditional
...
Here, we are adding `unless which("zip")` and `unless which("bzip2")`
and, thus, make `zip` and `bzip2` dependencies conditional.
2018-02-19 07:21:34 +00:00
Maxim Belkin
3dabebbd16
Refactoring based on suggestions
...
Defaulting zip_dep_if_needed(tags) and bzip2_dep_if_needed(tags)
methods to those on Linux and overriding them on macOS.
2018-02-19 06:49:42 +00:00
Maxim Belkin
1b74f21492
Removing unnecessary arguments
2018-02-16 15:08:55 -06:00
Maxim Belkin
5cfcd2ae9f
Fixing test
2018-02-16 15:04:43 -06:00
Maxim Belkin
a53171d9fe
Adding tests for dependency_collector on Linux
2018-02-16 14:58:07 -06:00
Maxim Belkin
5a92976120
Fixing brew-style offenses
2018-02-16 10:49:43 -06:00
Maxim Belkin
444b292df9
zip and bzip2 dependencies when needed
...
On some systems identified as Linux, zip and bzip2 might
not be available. Therefore, on such platforms we add them
unconditionally as dependencies when required. On Mac, these
dependencies are always satisfied.
2018-02-16 10:41:14 -06:00
Mike McQuaid
ef1924e1f3
Merge pull request #3809 from maxim-belkin/brew-unix-1
...
brew.sh: changes from Linuxbrew (Linux fork)
2018-02-16 08:16:53 +00:00
Shaun Jackman
d70d91cf2a
test/utils/svn: Requires svn to succeed
2018-02-15 13:50:09 -08:00
Maxim Belkin
30d468978f
Unifying Linux/Mac logic that sets HOMEBREW_CURL
2018-02-15 13:26:17 -06:00
Maxim Belkin
e47c364c55
Don't set HOMEBREW_MACOS_VERSION on non-mac systems
2018-02-15 13:09:47 -06:00
Maxim Belkin
e5f4160d3e
brew.sh: changes from Linuxbrew (Linux fork)
...
These fixes do two things:
- set HOMEBREW_MACOS_VERSION to 0 on non-HOMEBREW_MACOS machines
- set HOMEBREW_CURL to Homebrew'd curl
2018-02-15 11:43:20 -06:00
Markus Reiter
988e805448
Merge pull request #3801 from reitermarkus/ignore-metadata-deprecations
...
Make sure `.metadata` shows up in Cask backtrace.
2018-02-15 09:07:44 +01:00
ilovezfs
88b1e92236
formula_installer: also run audit_installed for keg_only formulae
2018-02-14 04:53:57 -08:00
commitay
b864ae7b40
backing up
2018-02-14 07:57:04 +10:00
commitay
e078becf4f
cask move_back: copy / delete
2018-02-14 07:39:44 +10:00
Markus Reiter
2a41f1359e
Merge pull request #3803 from reitermarkus/cask-installer
...
Add Homebrew’s `bin` to PATH for Cask installers.
2018-02-13 19:18:50 +01:00
Markus Reiter
d309e50a32
Merge pull request #3802 from reitermarkus/cask-auto-update
...
Auto-update on `brew cask install/upgrade`.
2018-02-13 18:58:45 +01:00
Markus Reiter
102a2a491b
Add Homebrew’s bin
to PATH for Cask installers.
2018-02-13 18:49:01 +01:00
Markus Reiter
c09a0972e5
Merge pull request #3774 from sbol-coolblue/fix-formula-formulae
...
Grammar: "formula are" -> "formulae are"
2018-02-13 18:10:23 +01:00
Markus Reiter
cf4c2bb97a
Auto-update on brew cask install/upgrade
.
2018-02-13 18:02:54 +01:00
Markus Reiter
191b621815
Make sure .metadata
shows up in Cask backtrace.
2018-02-13 17:23:49 +01:00
Mike McQuaid
8a30be7442
Merge pull request #3800 from commitay/cask-doctor
...
cask doctor: check_cached_downloads
2018-02-13 11:21:14 +00:00
Mike McQuaid
62f1bb79bd
Merge pull request #3799 from ilovezfs/diagnostic-remove-cache-size-check
...
diagnostic: remove cache size check
2018-02-13 11:14:48 +00:00
commitay
8d458fa443
cask doctor: check_cached_downloads
2018-02-13 21:03:06 +10:00
Mike McQuaid
b609e406bc
Merge pull request #3795 from MikeMcQuaid/rspec-retry
...
Use rspec-retry in brew tests
2018-02-13 10:04:24 +00:00