Baptiste Fontaine
127461d879
audit: don't check new formulae revision/versions.
2016-10-30 13:51:23 -04:00
Mike McQuaid
ef58225749
audit: check the version does not decrease.
...
This will prevent brew upgrade from working correctly.
2016-10-30 13:51:21 -04:00
Mike McQuaid
8d5df2ea87
Merge pull request #1402 from MikeMcQuaid/audit-system-test
...
audit: check test system calls are fully scoped.
2016-10-30 13:30:03 -04:00
Mike McQuaid
20c8c5958e
Merge pull request #1367 from MikeMcQuaid/audit-check-master-branch
...
audit: check for master branch tar/zipballs.
2016-10-30 13:29:47 -04:00
ilovezfs
90e5de9115
Merge pull request #1395 from ilovezfs/superenv-mark-timingsafe_bcmp-weak-on-10.11
...
superenv: treat timingsafe_bcmp as weak on 10.11
2016-10-30 10:21:18 -07:00
Mike McQuaid
ec527ff982
Merge pull request #1406 from Homebrew/revert-1366-audit-check-version-decrease
...
Revert "audit: check the version does not decrease."
2016-10-30 07:32:32 -04:00
Mike McQuaid
a093c62b16
Revert "audit: check the version does not decrease."
2016-10-30 07:32:20 -04:00
Markus Reiter
5e44184b35
Merge pull request #1400 from reitermarkus/move-bundle-path
...
Move `test/vendor/bundle` to `vendor/bundle`.
2016-10-30 01:41:10 +02:00
Mike McQuaid
0bd0fec6a6
audit: check test system calls are fully scoped.
...
This doesn't matter for everything but it does for the binaries that
are installed. Have a limited name/alias check when not installed and
a better one that iterates bin/sbin if installed.
2016-10-29 17:53:05 -04:00
Mike McQuaid
337810bf3e
audit: check for master branch tar/zipballs.
...
These have unstable checksums and aren't the tagged, stable releases
we require.
2016-10-29 17:52:13 -04:00
Mike McQuaid
9ab38dd751
Merge pull request #1366 from MikeMcQuaid/audit-check-version-decrease
...
audit: check the version does not decrease.
2016-10-29 17:50:41 -04:00
Markus Reiter
a9746934fd
Update .gitignore
to match vendor/bundle
everywhere.
2016-10-29 18:28:08 +02:00
Markus Reiter
f863d61374
Move vendor/bundle
up one level to HOMEBREW_LIBRARY_PATH
.
2016-10-29 18:28:07 +02:00
ilovezfs
8e874fa333
Merge pull request #1398 from MikeMcQuaid/update-test-new-tag-fix
...
update-test: fix --to-tag failure on new tag.
2016-10-29 09:05:31 -07:00
Josh Hagins
2605521ca9
Merge pull request #1361 from jawshooah/cask/refactor-auditor
...
hbc/auditor: refactor and fix bug
2016-10-29 11:40:39 -04:00
Mike McQuaid
59933f5cd9
update-test: fix --to-tag failure on new tag.
...
Without this updating to a tag will always have the same start commit
and end commit as there's been no updates to `master` since the tag was
created.
2016-10-29 09:09:00 -04:00
ilovezfs
e26750e112
superenv: treat timingsafe_bcmp as weak on 10.11
...
Xcode 8.1 added timingsafe_bcmp to string.h and libsystem_c.tbd,
and 10.12.1 added it to libsystem_c.dylib, but it is not present in
libsystem_c.dylib on 10.11.6 (15G1108).
It may appear in libsystem_c.dylib in a later 10.11 release or it may
be marked weak on 10.11 in a later Xcode release.
Fixes Homebrew/homebrew-core#6344 .
2016-10-29 03:26:52 -07:00
Mike McQuaid
8a7317aa8f
Merge pull request #1392 from zmwangx/step-down
...
docs: remove zmwangx from the list of maintainers
1.0.9
2016-10-28 21:39:53 -04:00
Mike McQuaid
713737e854
Merge pull request #1384 from dersvenhesse/patch-1
...
XCode 8.1 is stable
2016-10-28 21:17:03 -04:00
Zhiming Wang
a3efe57fd6
docs: remove zmwangx from the list of maintainers
2016-10-28 18:58:14 -04:00
dersvenhesse
70cc7790f6
Updated latest versions since XCode 8.1 release
2016-10-28 23:34:12 +02:00
dersvenhesse
4701eff45f
XCode 8.1 is stable
2016-10-27 23:35:52 +02:00
Mike McQuaid
4284b82de4
Merge pull request #1380 from woodruffw/silence-git
...
Redirect stderr output from git (shim) invocations to /dev/null.
2016-10-26 17:16:47 -04:00
William Woodruff
72b81844ed
Redirect stderr output from git (shim) invocations to /dev/null.
...
These invocations occur before we can actually automatically install git via
bottle, and as such their output isn't relevant.
2016-10-26 16:33:35 -04:00
Mike McQuaid
84d1661b9a
Merge pull request #1365 from MikeMcQuaid/audit-stable-url-beta
...
audit: check for alpha/beta/rc usage in URLs.
2016-10-25 08:17:40 -04:00
Josh Hagins
030c3a5016
Merge pull request #1375 from zmwangx/fix-bottle-nonexistent-pyc-bug
...
bottle: fix nonexistent pyc bug
2016-10-25 04:33:26 -04:00
ilovezfs
a4f654fd3f
Merge pull request #1376 from jawshooah/fix-relocate-regression
...
formula_installer: fix regression in #1253
2016-10-25 01:30:01 -07:00
Josh Hagins
ca540d8811
Merge pull request #1377 from buo/fix-download-restart
...
Fix cask's restarting incomplete downloads
2016-10-25 04:24:52 -04:00
buo
6a406763f3
Open incomplete download in append mode
...
Open the incomplete download in append mode instead of write mode.
Opening in write mode truncates the existing file, so curl keeps
restarting downloads instead of resuming the incomplete downloads.
2016-10-25 16:46:59 +09:00
Josh Hagins
652c5bc865
formula_installer: fix regression in #1253
...
Apparently `cellar :any_skip_relocation` doesn't actually mean we
can skip relocation, at least for text files.
2016-10-25 03:41:37 -04:00
Zhiming Wang
dd527bfcdc
bottle: fix nonexistent pyc bug
...
We were deleting pyc files *after* replace_locations_with_placeholders
and recording changed_files, meaning that some of the recorded files
were to be deleted. The correct order is the opposite.
A sample failed session: https://bot.brew.sh/job/Homebrew%20Core/10080/version=el_capitan/testReport/junit/brew-test-bot/el_capitan/bottle_buku/ .
2016-10-25 01:44:40 -04:00
Josh Hagins
79e8cdd3ed
Merge pull request #1253 from jawshooah/perf/relocate-text-files
...
keg_relocate: cache files rewritten during brew bottle
2016-10-24 16:44:36 -04:00
Josh Hagins
fab2cffe5d
keg_relocate: wrap relocation locations in struct
2016-10-24 16:21:08 -04:00
Josh Hagins
adc4b1f0c7
keg_relocate: brew style fixes
2016-10-24 16:21:08 -04:00
Josh Hagins
9c519bbdbc
keg_relocate: refactor relocate_text_files
...
Replace relocate_text_files with three methods that clarify intent:
replace_locations_with_placeholders, replace_placeholders_with_locations
and replace_text_in_files, the first two calling the third.
2016-10-24 16:21:08 -04:00
Josh Hagins
5b64fa6fb1
metafiles: convert Metafiles class to module
2016-10-24 16:21:08 -04:00
Josh Hagins
9628a613cf
metafiles: use Set.new instead of Array#to_set
2016-10-24 16:21:08 -04:00
Josh Hagins
ce33f593b4
metafiles: convert EXTENSIONS and BASENAMES from Array to Set
2016-10-24 16:21:08 -04:00
Josh Hagins
c46155aba4
keg_relocate: cache files rewritten during brew bottle
...
`brew bottle` replaces instances of the Homebrew prefix, cellar, and
repository with placeholders in all text files. Cache these files in
INSTALL_RECEIPT.json so that we don't have to check every single text
file for placeholders on install.
2016-10-24 16:21:08 -04:00
Markus Reiter
e6bce5ec27
Merge pull request #1342 from reitermarkus/fixtures
...
Move cask's fixtures to `test/fixtures`.
2016-10-24 22:09:45 +02:00
Josh Hagins
4f73fa7012
Merge pull request #1363 from reitermarkus/rubocop-percent-literals
...
Don’t use bare percent literals.
2016-10-24 12:29:22 -04:00
Markus Reiter
b28b21fd7f
Don’t use bare percent literals.
2016-10-24 17:27:20 +02:00
Josh Hagins
3f3fa4d0f7
Merge pull request #1334 from jawshooah/cask/fix-tap-regex
...
hbc/qualified_token: simplify token parsing
2016-10-24 10:38:02 -04:00
Mike McQuaid
b39f87e710
audit: check for alpha/beta/rc usage in URLs.
...
Stable URLs should not use unstable versions.
2016-10-24 14:54:28 +01:00
Markus Reiter
31ec04704a
Move cask fixtures to test/fixtures/cask
.
2016-10-24 15:52:41 +02:00
Josh Hagins
b2870c2480
hbc/qualified_token: use regex captures instead of String#split
2016-10-24 09:50:33 -04:00
Mike McQuaid
762b76e437
audit: check the version does not decrease.
...
This will prevent `brew upgrade` from working correctly.
2016-10-24 10:21:07 +01:00
Josh Hagins
4ed51d8240
hbc/auditor: refactor and fix bug
...
Use instance methods to DRY things up, and fix a bug discovered in
caskroom/homebrew-cask#26067 where Casks with language blocks would
always fail audit.
2016-10-24 04:27:21 -04:00
Josh Hagins
b481ed73a0
Merge pull request #1252 from niw/fix_cask_command_changes_entire_directory_ownership
...
FIX: cask changes /usr/local ownership recursively
2016-10-24 01:21:08 -04:00
Josh Hagins
606a762344
Merge pull request #1248 from Git-Jiro/add_reinstall_cmd_to_cask
...
add cask reinstall command
2016-10-24 01:11:48 -04:00