15379 Commits

Author SHA1 Message Date
Mike McQuaid
3794d53575
Merge pull request #3835 from GauthamGoli/bot-comment
audit:  `--new-formula`, Don't fail CI instead comment on PR about audit violations
2018-05-22 10:26:13 +01:00
Mike McQuaid
8401cffe41 audit: remove "new formula" from messaging. 2018-05-22 09:55:41 +01:00
Andrew R. McBurney
010207b982 Changed cache usage behavior.
1. Running `brew linkage some_package` does not set the cache.
2. Running `brew linkage --cached some_package` when `DatabaseCache.empty?` returns `true` should build the cache.
3. Running `brew linkage --cached some_package` when `DatabaseCache.empty?` returns `false` should use the cache.
2018-05-21 17:36:30 -04:00
Markus Reiter
42db173851 Get rid of unnecessary cds. 2018-05-21 20:44:25 +02:00
Andrew R. McBurney
360a301503 Fix file path issue caused by dbm implicitly appending .db to end of file path provided. 2018-05-21 12:27:53 -04:00
Mike McQuaid
f904017d72
Merge pull request #4187 from commitay/virtualenv
python_virtualenv_constants: update virtualenv to 16.0.0
2018-05-21 17:17:17 +01:00
Mike McQuaid
1c91c83eac Merge branch 'master' into bot-comment 2018-05-21 17:16:19 +01:00
Mike McQuaid
e2968c7889 Various cleanup and fixes.
Rename some variables and use existing regexes and a single variable.
2018-05-21 15:36:26 +01:00
Mike McQuaid
5c3ec3e7ca
Merge pull request #4174 from reitermarkus/cask-tap-migration
Add compatibility layer for handling Cask Tap migration.
2018-05-21 14:45:14 +01:00
Markus Reiter
c53a52daee Move --version logic into cmd/--version.rb. 2018-05-21 05:35:44 +02:00
commitay
16fbcd09da
Merge pull request #4188 from commitay/cask-audit-uninstall
cask audit: installer and pkg require uninstall
2018-05-21 10:25:19 +10:00
Markus Reiter
deaa8bf003 Use module Compat style. 2018-05-21 01:43:49 +02:00
Markus Reiter
c623b0295c Use ... instead of ellipsis and only output if TTY. 2018-05-21 01:43:49 +02:00
Markus Reiter
b4de801a01 Support both Homebrew and caskroom for now. 2018-05-21 01:43:49 +02:00
Markus Reiter
c4c00e4ede Use safe_system instead of Utils.popen_read. 2018-05-21 01:43:49 +02:00
Markus Reiter
b109e6da5d Handle Tap migration in Tap#initialize. 2018-05-21 01:43:49 +02:00
Markus Reiter
ff8d14fe2a Add compatibility layer to convert caskroom/* to homebrew/cask(-*). 2018-05-21 01:43:49 +02:00
commitay
1ae2cf9709 cask audit: installer and pkg require uninstall 2018-05-19 12:38:52 +10:00
Shaun Jackman
76bfd0cecb Add superenv for Linux 2018-05-18 16:58:21 -07:00
Andrew R. McBurney
e93e8f3266 Lazily load db of type DBM instance variable for DatabaseCache so the corresponding database file isn't created in the .use block for a DatabaseCache. 2018-05-18 16:37:01 -04:00
Markus Reiter
5e773353fa
Merge pull request #4184 from reitermarkus/utils
Remove unused `include Utils`.
2018-05-18 19:47:07 +02:00
Markus Reiter
54270e9214
Merge pull request #4186 from reitermarkus/compat
Clean up `compat`.
2018-05-18 18:52:07 +02:00
Andrew R. McBurney
cd6f89ca76 Made DatabaseCache.new private, and changes instances in code that call it to use DatabaseCache.use instead. 2018-05-18 10:06:30 -04:00
Markus Reiter
5b7831f06f Use module Compat for everything. 2018-05-18 13:35:41 +02:00
commitay
db56b1add5 python_virtualenv_constants: update virtualenv to 16.0.0 2018-05-18 12:05:55 +10:00
commitay
f2feb326f9 cask upgrade: ensure cache exists 2018-05-18 08:18:39 +10:00
Andrew R. McBurney
ddd2ec05d8 Added static use method for DatabaseCache. 2018-05-17 16:56:59 -04:00
Andrew R. McBurney
4fb14d5c86 break if database_cache.empty? 2018-05-17 16:35:35 -04:00
Markus Reiter
a6d9d45ec3 Clean up compat. 2018-05-17 19:13:37 +02:00
Shaun Jackman
16e5799f86 shims/linux/super/cc: Make changes for Linux 2018-05-17 10:12:23 -07:00
Shaun Jackman
abac6dfaf8 Add shims/linux/super 2018-05-17 10:12:22 -07:00
Andrew R. McBurney
ba5692f7e5 Only update the cache for a formula if the cache is not empty?. 2018-05-17 13:09:25 -04:00
Markus Reiter
8cf655f23c Remove unused include Utils. 2018-05-17 18:29:03 +02:00
Markus Reiter
c28f56b7da
Merge pull request #4181 from retokromer/patch-1
better alignement
2018-05-16 20:56:21 +02:00
Markus Reiter
525eb64839
Merge pull request #4180 from reitermarkus/rubocop-cask
Update `rubocop-cask` URL.
2018-05-16 20:54:33 +02:00
Markus Reiter
73bffbaca6
Merge pull request #4178 from dougal/alphabetical-outdated-formulae-listing
Alphabetize the `brew outdated` formula listing.
2018-05-16 19:13:06 +02:00
Markus Reiter
1e6d542092 Update rubocop-cask URL. 2018-05-16 19:07:47 +02:00
Reto Kromer
301aa9cf59
better alignement 2018-05-16 19:07:11 +02:00
Douglas F Shearer
c808424499 Adjust alignment of select and sort. 2018-05-16 13:41:40 +01:00
Douglas F Shearer
18b362aa96 Alphabetize the brew outdated formula listing.
Sorts by `Formula#<=>`.

Includes updated test example.
2018-05-16 13:01:12 +01:00
Shaun Jackman
5ca7cd3071 oldest_cpu: Bottling architecture of ARM is armv6
armv6 is the oldest supported 32-bit ARM architecture
armv8-a is the oldest 64-bit ARM architecture.

See https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html
and https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html
2018-05-15 17:20:51 -07:00
Andrew R. McBurney
17f484b0ae Set the return_value from the initialize block in the DatabaseCache. 2018-05-15 13:15:30 -04:00
Andrew R. McBurney
b0dd3f4c99 Update the invalidated cache after doing a formula install. 2018-05-15 12:56:38 -04:00
commitay
7b31a3d024
Merge pull request #4172 from commitay/license-caveat
cask caveats dsl: add license
2018-05-15 20:09:17 +10:00
commitay
47fc8cb039 cask caveats dsl: add license 2018-05-15 19:56:07 +10:00
dependabot[bot]
a8bf1f7028
Bump rspec-retry from 0.5.7 to 0.6.0 in /Library/Homebrew/test
Bumps [rspec-retry](https://github.com/noredink/rspec-retry) from 0.5.7 to 0.6.0.
- [Release notes](https://github.com/noredink/rspec-retry/releases)
- [Changelog](https://github.com/NoRedInk/rspec-retry/blob/master/changelog.md)
- [Commits](https://github.com/noredink/rspec-retry/compare/v0.5.7...v0.6.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-05-15 07:51:40 +00:00
Mike McQuaid
2a44f8e71b
Merge pull request #4036 from maxim-belkin/diagnostiks
Cross-platform diagnostic
2018-05-14 16:23:35 +01:00
Maxim Belkin
7b99ac58ab
Remove ~ from UNSAFE_SHELL_CHAR 2018-05-14 04:45:59 -05:00
Maxim Belkin
e5435dfeb7
Cross-platform diagnostics. 2018-05-14 04:44:15 -05:00
Alyssa Ross
96b95a838a
Fix brew pull with git commit.gpgsign enabled
Because of environment filtering, git tries to sign the commit but
can't find gpg, which means that the patch won't be applied.
2018-05-12 21:25:55 +01:00