15827 Commits

Author SHA1 Message Date
Dominyk Tiller
23fd87d459
README: cut myself from maintainers list 2016-10-13 11:53:10 +01:00
Mike McQuaid
8d6921d7f3 Merge pull request #1278 from MikeMcQuaid/new-maintainer-checklist-updates
New-Maintainer-Checklist: update.
2016-10-13 09:10:48 +01:00
Mike McQuaid
8e3fa21967 Update based on feedback. 2016-10-13 09:09:40 +01:00
Mike McQuaid
1d27fdae5b Merge pull request #1281 from mjbrender/glossary
Further terminology in docs + link on README
2016-10-13 09:04:40 +01:00
Matt Brender
b84ec63ff9 Further terminology in docs + link on README
Addressing a few spots where I looked for terminology and did not find what I was looking for. Input based on a recent [podcast with Mike](https://changelog.com/podcast/223)
2016-10-12 21:42:57 -04:00
Mike McQuaid
114beb77cd New-Maintainer-Checklist: update.
Update to the latest status quo.
2016-10-12 21:50:00 +01:00
Mike McQuaid
62e44a1dac Merge pull request #1274 from RasPhilCo/patch-1
Fix warning for HOMEBREW_REPOSITORY at /usr/local
2016-10-12 20:38:37 +01:00
William Woodruff
5163aa5d21
formula_installer: Remove obsolete hard dependency on cctools.
ruby-macho now performs all relocations in Homebrew.

Additionally, delete the defunct CctoolsRequirement.
2016-10-12 15:00:40 -04:00
Mike McQuaid
8efb585684 Merge pull request #1273 from jawshooah/fix-relocate
keg_relocate: fix for multiline /usr/bin/file output
2016-10-12 19:08:10 +01:00
RasPhilCo
ec03dcfe95 Fix warning for HOMEBREW_REPOSITORY at /usr/local 2016-10-12 10:33:47 -07:00
Mike McQuaid
fd0dffdd77 Merge pull request #1271 from MikeMcQuaid/deprecate-apr-requirement
Deprecate apr requirement.
2016-10-12 18:22:27 +01:00
Josh Hagins
24c2d0b3c2 keg_relocate: fix for multiline /usr/bin/file output 2016-10-12 11:53:06 -04:00
Mike McQuaid
26e4899fde Deprecate apr requirement.
It's not used on enough configurations now that there's little point in
keeping it around. See e.g. `:autoconf` for prior art.
2016-10-12 15:37:33 +01:00
Andrew Janke
dc4ab8fd26 doco: note 10.9 is now best-effort support 2016-10-12 07:49:50 -04:00
Mike McQuaid
16793781b3 Merge pull request #1269 from MikeMcQuaid/keg-relocate-text-executable-files
keg_relocate: relocate text_executable? files.
2016-10-12 12:06:56 +01:00
Mike McQuaid
a812e95417 Merge pull request #1227 from DomT4/apr
apr_requirement: use Homebrew's Apr for Sierra
2016-10-12 11:38:57 +01:00
Mike McQuaid
2e306bcde0 keg_relocate: relocate text_executable? files.
This was omitted from #1258, incorrectly fixed in #1267, reverted in
 #1268 and re-applied in this commit.
2016-10-12 11:35:37 +01:00
Mike McQuaid
5e90c5a7a4 Merge pull request #1268 from Homebrew/revert-1267-perf/keg-text-executable
Revert "keg_relocate: left out text_executable? check in #1258"
2016-10-12 11:30:28 +01:00
Mike McQuaid
02c567cb12 Revert "keg_relocate: left out text_executable? check in #1258" 2016-10-12 11:29:33 +01:00
Mike McQuaid
784b71cb02 Tweak style. 2016-10-12 11:18:14 +01:00
Josh Hagins
72f9515e9b Merge pull request #1267 from jawshooah/perf/keg-text-executable
keg_relocate: left out text_executable? check in #1258
2016-10-12 04:54:12 -04:00
Josh Hagins
6cecc4c03e keg_relocate: left out text_executable? check in #1258 2016-10-12 04:02:47 -04:00
Mike McQuaid
01a92dd94e Merge pull request #1262 from MikeMcQuaid/warn-repo-cellar
brew.sh: warn on $HOMEBREW_REPOSITORY/Cellar
2016-10-12 08:45:54 +01:00
Josh Hagins
af78b64d5c Merge pull request #1258 from jawshooah/perf/keg-batch-text-files
keg_relocate: run /usr/bin/file in batches
2016-10-12 03:42:22 -04:00
Mike McQuaid
7a3ba92324 Merge pull request #1261 from MikeMcQuaid/tweak-repo-sandbox
postinstall: allow write access to cellars in repository.
2016-10-12 08:38:13 +01:00
Markus Reiter
1a01a4d42d Merge pull request #1264 from reitermarkus/single-language-audit
Allow auditing of a single language of a cask.
2016-10-12 08:18:35 +02:00
Josh Hagins
d8a6863283 keg_relocate: use xargs to batch file arguments 2016-10-11 21:19:08 -04:00
Markus Reiter
4a1dddf527 Merge pull request #1265 from reitermarkus/fix-cmd-exception
Fix CaskCommandFailedError.
2016-10-11 19:40:01 +02:00
Markus Reiter
bb3c689371 Fix CaskCommandFailedError. 2016-10-11 18:27:01 +02:00
Markus Reiter
9eaf221885 Allow auditing of a single language of a cask. 2016-10-11 15:10:12 +02:00
Mike McQuaid
04ccba5489 Merge pull request #1260 from alyssais/tab_dependency_default
tab: don't interpret unknown deps as no deps
2016-10-11 09:58:45 +01:00
Mike McQuaid
981cac2a2e brew.sh: warn on $HOMEBREW_REPOSITORY/Cellar
If you’re using a /usr/local prefix but e.g. /usr/local/homebrew/Cellar
then you’ll miss out on most binary packages for no good reason so warn
people of that.
2016-10-11 09:37:37 +01:00
Mike McQuaid
58d998e208 postinstall: allow write access to cellars in repository.
If HOMEBREW_CELLAR (or HOMEBREW_PREFIX) are children of
HOMEBREW_REPOSITORY it’s important to deny write to the repository and
enable write to the Cellar/prefix afterwards.
2016-10-11 09:36:20 +01:00
Alyssa Ross
cd615acd5f tab: don't interpret unknown deps as no deps 2016-10-11 09:00:39 +01:00
Markus Reiter
6be6ce33e0 Merge pull request #1245 from reitermarkus/fix-cask-path-for-query
Fix getting cask path for queries.
2016-10-10 23:33:51 +02:00
Yoshimasa Niwa
d51cd15e0c Create caskroom without sudo in writable parent.
In case the parent directory of Caskroom is writable for the user, we
don't need to use `sudo` to execute commands.

Make a generic method to run commands that has an option to switch sudo
so that we can run commands with and without sudo.
2016-10-10 11:17:07 -07:00
Mike McQuaid
bb96fd7c42 Merge pull request #1255 from akirk/patch-1
brew.sh: allow --prefix to be run as root without warning
2016-10-10 16:56:49 +01:00
Josh Hagins
9ff22c7e29 Merge pull request #1257 from alyssais/docs_wiki
Update URL in qualified_token comment
2016-10-10 10:30:36 -04:00
Alyssa Ross
6c5b8f0f5e Update URL in qualified_token comment
The homebrew/homebrew wiki no longer exists.
2016-10-10 14:46:00 +01:00
Alex Kirk
7502c85698 Don't display root warning for --prefix 2016-10-10 14:25:07 +02:00
Yoshimasa Niwa
d00f35b8c4 FIX: cask changes /usr/local ownership recursively
Relatively old code in Hbc::Caskroom recursively changes the ownership
of the directory where the Caskroom directory exists, that changes
entire files in /usr/local to user:staff if Homebrew setup with default
configuration.
This is really dangerous because it's easy to trigger (just simply type
`brew cask something` by following some installation documentation.)

This patch removes entire `chown` with -R option and make the logic
simply creating Caskroom directory with default Homebrew directories
ownership and permission.
2016-10-09 13:27:31 -07:00
Mike McQuaid
0546d90e3d Merge pull request #1251 from MikeMcQuaid/diagnostic-no-write-tmp
diagnostic: handle HOMEBREW_TEMP mktmpdir failure.
1.0.7
2016-10-09 15:26:31 +01:00
Markus Reiter
8ded5b690f No need to check if Encoding is defined. 2016-10-09 15:34:12 +02:00
Markus Reiter
67a7d1a64a Fix getting cask path for queries. 2016-10-09 15:34:12 +02:00
Mike McQuaid
21ff82be7f diagnostic: handle HOMEBREW_TEMP mktmpdir failure.
Fixes #1223.
2016-10-09 14:33:04 +01:00
Mike McQuaid
0c193c308e Merge pull request #1241 from reitermarkus/deprecation-warning
Comment out `license` stanza deprecation warning.
2016-10-09 14:24:55 +01:00
Mike McQuaid
6b04e96ea9 Merge pull request #1249 from Homebrew/revert-1204-migrate-a-formula-to-multiple-versions-docs
Revert "Migrate a Formula to Multiple Versions: add docs."
2016-10-09 13:56:36 +01:00
Mike McQuaid
2bb527ede2 Revert "Migrate a Formula to Multiple Versions: add docs." 2016-10-09 13:56:18 +01:00
Mike McQuaid
d8c500cb4c Merge pull request #1204 from MikeMcQuaid/migrate-a-formula-to-multiple-versions-docs
Migrate a Formula to Multiple Versions: add docs.
2016-10-09 12:57:30 +01:00
ilovezfs
f71e4a7e0e Merge pull request #1246 from ilovezfs/glide_home-cleanup
cleanup: remove GLIDE_HOME cache directories
2016-10-08 17:40:08 -07:00