12489 Commits

Author SHA1 Message Date
Dominyk Tiller
db1054be7b
formula: manipulate Java's home usage by default 2017-08-31 21:03:42 +01:00
Mike McQuaid
b2cd52d0b7 Merge pull request #3105 from sjackman/pour_local_bottle
pour_bottle?: Pour local bottles without sha256
2017-08-31 19:26:56 +01:00
Mike McQuaid
bf5a58d6a4 Merge pull request #3110 from DomT4/too_many_goats
github: limit PR search to Homebrew
2017-08-31 19:17:58 +01:00
Mike McQuaid
35de091bae Merge pull request #3111 from alyssais/migrate_empty_homebrew_directory
Don't fail to migrate repo because of empty dir
2017-08-31 19:14:37 +01:00
Alyssa Ross
a6fa2f367b
Don't fail to migrate repo because of empty dir
I just ran into an issue where a colleague's Homebrew couldn't update.
It seems to have been because it failed once just after the new repo
directory was created. Since there was nothing in this directory, there
really isn't any reason for us to fail here, so to avoid this problem in
the future, try to `rmdir` the directory before failing because it already
exists.
2017-08-31 12:17:01 +01:00
ilovezfs
8b145e27bc Merge pull request #3102 from DomT4/pillow
missing_formula: update for Pillow's brew demise.
2017-08-30 23:56:13 -07:00
Dominyk Tiller
0ea4da4ef6
github: limit PR search to Homebrew
Not sure whether this is the way you want to handle this problem but
it's really darn irritating so here's a PR that handles it one way.

Fixes: https://github.com/Homebrew/brew/pull/3086#issuecomment-324519156
2017-08-31 03:59:33 +01:00
Shaun Jackman
4cfd333c5a pour_bottle?: Pour local bottles without sha256
Pouring a local bottle for a formula without a bottle sha256
in the formula for that OS would unexpectedly install from
source instead.
2017-08-30 10:17:36 -07:00
Shaun Jackman
008eaac60d pour_bottle?: Ensure local bottles are compatible
Don't ignore f.pour_bottle? and compatible_cellar? when pouring
a local bottle. --force-bottle may be used to pour a local
bottle that is incompatible, as it is for remote bottles.
2017-08-30 10:16:49 -07:00
Misty De Meo
156bca7dfb Merge pull request #2950 from mansimarkaur/svn
Added tests for utils/svn
2017-08-29 15:08:05 -07:00
Dominyk Tiller
f8d5b20512
missing_formula: use pip2 instead of pip 2017-08-29 12:14:05 +01:00
Dominyk Tiller
c6274b01df
missing_formula: update for Pillow's removal
Ref: https://github.com/Homebrew/homebrew-core/pull/17341
Ref: https://github.com/Homebrew/homebrew-core/pull/17357
2017-08-29 12:10:42 +01:00
mansimarkaur
1dd7e9d95b Modified clear_anonymous_os_prefix_ci_cache 2017-08-29 16:36:46 +05:30
mansimarkaur
db28126b4a Used clear_anonymous_os_prefix_ci_cache to remove @anonymous_os_prefix_ci 2017-08-29 16:24:19 +05:30
mansimarkaur
413d35b82f Added clear_anonymous_os_prefix_ci_cache 2017-08-29 16:24:19 +05:30
mansimarkaur
59f3c661a3 Used ENV.delete to remove set ENV vars 2017-08-29 16:24:19 +05:30
mansimarkaur
a4d8d7ba57 Added tests for report_build_error 2017-08-29 16:24:19 +05:30
mansimarkaur
2660f5ae3e Added tests for report and report_event 2017-08-29 16:24:19 +05:30
mansimarkaur
a4d4da64aa Added tests for os_prefix_ci 2017-08-29 16:24:19 +05:30
mansimarkaur
3d8873ca5b url skipped if svn not available when auditing urls 2017-08-29 16:16:17 +05:30
mansimarkaur
d533973395 Used clear_svn_version_cache to remove @svn 2017-08-29 16:16:17 +05:30
mansimarkaur
d9c0b8ce9f Added clear_svn_version_cache 2017-08-29 16:16:17 +05:30
mansimarkaur
53be6bb4bd Added check for svn availability 2017-08-29 16:16:17 +05:30
mansimarkaur
cf96d8d970 Improved tests for svn_available? 2017-08-29 16:16:17 +05:30
mansimarkaur
13fb14a95f Added tests fir utils/svn 2017-08-29 16:16:17 +05:30
mansimarkaur
01714b17ee Used let for sec_in_a_day and removed redundant after(:each) block 2017-08-27 01:18:41 +05:30
mansimarkaur
5f7a93bceb Corrected test name 2017-08-27 01:18:41 +05:30
mansimarkaur
ec30de69c3 Added tests for existence of files 2017-08-27 01:18:41 +05:30
mansimarkaur
9a83856a49 Added attr_reader disk_cleanup_size 2017-08-27 01:18:41 +05:30
mansimarkaur
e7c2efa42f Corrected disk_cleanup_size test 2017-08-27 01:18:41 +05:30
mansimarkaur
6b5e4bb938 Use let over instance_var 2017-08-27 01:18:40 +05:30
mansimarkaur
86f7d208d0 Added tests for prune? 2017-08-27 01:18:40 +05:30
mansimarkaur
134539aa55 Added tests for cleaning up old files in HOMEBREW_CACHE 2017-08-27 01:18:40 +05:30
mansimarkaur
265d43444b improved prune all test 2017-08-27 01:18:40 +05:30
mansimarkaur
5e17d63010 Added tests for ARGV prune 'all' 2017-08-27 01:18:40 +05:30
mansimarkaur
c1799bb497 Added tests for disk_cleanup and unremovable kegs 2017-08-27 01:18:40 +05:30
ilovezfs
78a742c1ff Revert "Add check for HEAD ref in diagnostics" 2017-08-26 10:15:35 -07:00
ilovezfs
784a85f885 Revert "diagnostic: don't check CI core branch."
This reverts commit cb5b14307ca4640e1ba68cfd28e7fef34a3b771b.
2017-08-26 10:14:23 -07:00
ilovezfs
b1e0998f58 Revert "diagnostic: also don't check Jenkins core branch."
This reverts commit db41f9d1182ff8c4c3b42b458e38d5c58b496ffb.
2017-08-26 10:13:43 -07:00
Mike McQuaid
db41f9d118 diagnostic: also don't check Jenkins core branch. 2017-08-26 14:50:55 +01:00
Mike McQuaid
cb5b14307c diagnostic: don't check CI core branch. 2017-08-26 14:44:26 +01:00
Mike McQuaid
4d90ae2f4d Merge pull request #3087 from GauthamGoli/patches_missing_rule_fix
audit: Add previously unported GH patch audit rule in Patches cop
2017-08-26 14:23:39 +01:00
Mike McQuaid
db8af67aa3 Merge pull request #3089 from BenMusch/check-for-branch
Add check for HEAD ref in diagnostics
2017-08-26 14:12:05 +01:00
Gautham Goli
d00c515dd8 audit: Add previously unported GH patch audit rule in Patches cop 2017-08-26 18:06:00 +05:30
Ben Muschol
7b31dd6062 Prefer if over unless, simplify messaging 2017-08-26 08:25:08 -04:00
Ben Muschol
b351c3f3ff Fix method name 2017-08-25 21:04:23 -04:00
Ben Muschol
abe47b79c8 Add check for HEAD ref in diagnostics 2017-08-25 20:25:58 -04:00
Shaun Jackman
7b96fd008e safe_fork: Improve the error message 2017-08-25 12:43:07 -07:00
Mike McQuaid
8b7defb3eb Merge pull request #3086 from MikeMcQuaid/audit-taps-shush
audit: don't output when searching taps.
2017-08-24 11:17:31 +01:00
JCount
6023e408da Merge pull request #2995 from GauthamGoli/audit_line_rubocop_part_2
audit: Port line_problems to rubocop and add tests part 2
2017-08-23 16:16:07 -04:00