Mike McQuaid
48d99d1338
docs.brew.sh: use SCSS.
...
Import style changes from:
https://github.com/Homebrew/homebrew.github.io/pull/166
2017-05-14 15:07:00 +01:00
Mike McQuaid
9f1af01b2f
Merge pull request #2630 from iMichka/patch-1
...
Update to venv.pip_install_and_link in doc
2017-05-14 14:56:12 +01:00
Mike McQuaid
8e4e9d877c
Merge pull request #2610 from GauthamGoli/audit_components_autocorrect
...
Add autocorrect method for ComponentsOrder rubocop and tests
2017-05-14 14:54:14 +01:00
Michka Popoff
43e38dfc01
Update to venv.pip_install_and_link in doc
...
`venv.link_scripts(bin) { venv.pip_install buildpath }` is now `venv.pip_install_and_link buildpath`
2017-05-13 23:26:09 +02:00
Gautham Goli
80572939b4
Update string_content method to support multiline strings, add test for same
2017-05-13 18:48:40 +05:30
Mike McQuaid
d5006ef012
audit: fix dependency option detection.
...
Instead of trying to do this all with a single regex give up and do a
two stage process. Eventually I'll end up implementing a full ruby
parser here 🧌 .
2017-05-13 13:00:00 +01:00
Mike McQuaid
8205e61e64
More environment filtering tweaks
...
- only document HOMEBREW_* variables in the manpage (although still
read from all the original environment variables).
- resort manpage environment variables in alphabetical order
- check the original path for trailing slashes
2017-05-13 11:42:01 +01:00
Gautham Goli
d04f295de3
Add autocorrect method for ComponentsOrder rubocop and tests
2017-05-13 03:09:55 +05:30
Reinhard Pointner
5c59b3352f
Support GPG (signed data) container in Homebrew Cask (test case)
2017-05-11 16:27:45 +08:00
Reinhard Pointner
b0987ffb33
Support GPG (signed data) container in Homebrew Cask
2017-05-11 16:26:16 +08:00
Mike McQuaid
459fef3b09
Merge pull request #2615 from mansimarkaur/stat.mode_change_assertion
...
diagnostic_spec.rb: assertion in check_access_lock_dir test
2017-05-10 18:51:31 -05:00
Mike McQuaid
fa1e23823c
Merge pull request #2618 from MikeMcQuaid/issue-troubleshooting-tweaks
...
Tweak troubleshooting docs and issue template
2017-05-10 11:36:55 -05:00
Reinhard Pointner
3668a7abb1
Support GPG (signed data) container in Homebrew Cask
2017-05-10 23:18:42 +08:00
mansimarkaur
45754a1888
diagnostic_spec.rb: check_access_lock_dir test
...
Added assertion to check `HOMEBREW_LOCK_DIR.stat.mode` changes after `HOMEBREW_LOCK_DIR.chmod 0555`
2017-05-10 03:02:55 +05:30
Mike McQuaid
7055abc436
Allow --interactive to access HOME
...
This may result in a slightly varied build but it’s generally just far
less annoying to be able to access all your e.g. shell configuration.
2017-05-09 20:00:11 +01:00
Mike McQuaid
978c121276
Tweak troubleshooting docs and issue template
...
- Note that Homebrew Cask issues should be filed elsewhere.
- Make `brew`/homebrew-core issue differential in simpler language
- Tell people to fix all `brew doctor` issues
- Refer to the issue checklist and make it even more clear and prominent
that we may close it out immediately if they don't use it.
- Note that proposed new issues should be widely relevant.
- Don't tell people they need to `brew cask install java`; we handle
this in most places with a Java requirement and probably want issues
filed where we don't.
- Remove reference to Homebrew Dupes and replace with reference to
Homebrew Cask to try and get people filing stuff there instead.
Fixes #2608
2017-05-09 15:21:28 +01:00
Mike McQuaid
76f48d338e
keg: skip opt versioned aliases for devel/head.
...
These versioned aliases don’t correspond to the correct version if not
Installed from stable.
Fixes #2596 .
2017-05-09 15:10:57 +01:00
Mike McQuaid
b14f1572b7
audit: more checks for versioned aliases.
...
Check that a required versioned alias has a valid name (rather than
assuming it’s fine based on it’s existence alone) and check for
the presence of invalid version aliases.
This should handle the case where someone bumps a formula but forgets
to rename the alias that’s mentioned in #2596 .
2017-05-09 15:10:29 +01:00
Mike McQuaid
0fb1fb51be
rubocop: don't always care about module length.
...
We don't care about this in external taps as this is more about code
architecture than code style.
2017-05-09 12:58:49 +01:00
Markus Reiter
5828eefd01
Remove to_s
from some Pathname
s.
2017-05-08 13:37:28 +02:00
Mike McQuaid
f1d4c4be78
Merge pull request #2607 from MikeMcQuaid/travis-ci-tweaks-2
...
Travis CI tweaks.
2017-05-08 09:51:06 +01:00
Mike McQuaid
9853a78397
Travis CI tweaks.
...
Attempt to improve Travis CI. This time without any vendoring gems
nonsense.
2017-05-08 08:38:25 +01:00
Mike McQuaid
e4ecf6d6bc
Merge pull request #2591 from retokromer/patch-1
...
fix date-based versioning
2017-05-07 21:13:52 +01:00
Mike McQuaid
0d5956948e
Merge pull request #2606 from MikeMcQuaid/revert-vendor-gems
...
Revert gem vendoring experiment.
2017-05-07 17:31:09 +01:00
Mike McQuaid
57db2e539e
Revert "Merge pull request #2597 from MikeMcQuaid/vendor-gems"
...
This reverts commit 3e4547f52e7ebec633f8bfefc8a396d944edf908, reversing
changes made to 6edf9382bcc1240ad6f97c8b752cfe56cef9965d.
2017-05-07 17:28:39 +01:00
Mike McQuaid
e1bbab6ca6
Revert "Merge pull request #2603 from MikeMcQuaid/tweak-gem-vendoring"
...
This reverts commit 2372872974d1049c2beafe7dedb7f8f882502058, reversing
changes made to 3e4547f52e7ebec633f8bfefc8a396d944edf908.
2017-05-07 17:28:37 +01:00
Mike McQuaid
a76392dd5f
Revert "Merge pull request #2602 from MikeMcQuaid/travis-ci-tweaks"
...
This reverts commit 8d948e4b0b55912c592d34cb5ea83c649b1f9d5e, reversing
changes made to 2372872974d1049c2beafe7dedb7f8f882502058.
2017-05-07 17:28:34 +01:00
Mike McQuaid
8d948e4b0b
Merge pull request #2602 from MikeMcQuaid/travis-ci-tweaks
...
Travis CI tweaks
2017-05-07 16:15:18 +01:00
Mike McQuaid
5cdb0d0a6d
Travis CI tweaks
...
Tweak our Travis CI configuration and the one we suggest for taps to
be faster and use caching.
2017-05-07 16:00:04 +01:00
Mike McQuaid
2372872974
Merge pull request #2603 from MikeMcQuaid/tweak-gem-vendoring
...
Tweak Gem vendoring.
2017-05-07 15:38:25 +01:00
Mike McQuaid
33f83be10e
Tweak Gem vendoring.
...
If people have `HOMEBREW_RUBY_PATH` set then things explode in a rather
confusing fashion. Instead, run `bundle` for them with the arguments
that they'd want.
Also, move `macho` requires into the module itself; it's a pain having
to do everything for Bundler before requiring `pathname` which is a core
Ruby class.
2017-05-07 15:33:54 +01:00
Mike McQuaid
3e4547f52e
Merge pull request #2597 from MikeMcQuaid/vendor-gems
...
Vendor all Homebrew's gems.
2017-05-07 14:12:44 +01:00
Mike McQuaid
ee253e465b
Vendor all Homebrew's gems.
...
Homebrew's actually ended up using a fair few gems. While we want to
avoid Bundler at runtime (and this PR still does that, in fact uses
Bundler even less at runtime than it did before) writing our own version
to use at build-time seems redundant.
2017-05-07 13:52:57 +01:00
Peter Newman
88cef8118e
Fix another internal link
2017-05-07 00:45:02 +01:00
Peter Newman
8c214ed16d
Fix the link code
2017-05-07 00:35:36 +01:00
Peter Newman
8f751aaf51
Fix internal links
2017-05-07 00:30:49 +01:00
Tim D. Smith
22d3a67b73
Relocate virtualenv orig-prefix.txt
...
Virtualenvs remember the path to the stdlib in a file named
orig_prefix.txt. This file wasn't being relocated because Homebrew skips
files that look like they're intended for human consumption by matching
against the list of metafile extensions. This led to the bug described
in https://github.com/Homebrew/homebrew-core/issues/12869 . This fixes
relocation by creating an exception for orig-prefix.txt.
2017-05-06 15:56:55 -07:00
Mike McQuaid
6edf9382bc
Merge pull request #2593 from reitermarkus/interrupt
...
Remove unused `e` from `rescue Interrupt`.
2017-05-06 14:24:29 +01:00
Markus Reiter
6b5171de30
Remove unused e
from rescue Interrupt
.
2017-05-05 20:50:11 +02:00
Markus Reiter
93d4fdf938
Merge pull request #2587 from decrement/patch-1
...
Remove unused command_args
2017-05-05 08:32:45 +02:00
Mike McQuaid
c7c0ad6e61
Add acme challenge.
2017-05-04 12:18:56 +01:00
pseudoku
77728abbfc
Remove unused command_args
...
Extra command_args in gain_permissions_remove caused silent failure and path never gets deleted.
2017-05-04 00:17:56 -07:00
ilovezfs
29429df9da
Merge pull request #2584 from MikeMcQuaid/style-audit-online
...
style: fix audit --online
2017-05-03 05:26:07 -07:00
Mike McQuaid
6a15cea0b4
style: fix audit --online
...
This passed a symbol to `:except_cops` which caused a 💥 .
2017-05-03 12:58:08 +01:00
Mike McQuaid
56413f6f6d
Merge pull request #2582 from MikeMcQuaid/style-fix-rubocop-require
...
style: don't require rubocop until installed.
2017-05-03 12:40:45 +01:00
Mike McQuaid
790a113371
brew.sh: >v1.2.0 now.
2017-05-03 12:10:25 +01:00
Mike McQuaid
1c43070e69
style: don't require rubocop until installed.
...
This avoids an error when RuboCop installed installed yet.
CC @GauthamGoli FYI.
2017-05-03 12:09:18 +01:00
Mike McQuaid
a25cd9d8ba
Merge pull request #2580 from reitermarkus/gem-path
...
Remove `existing` from PATH when adding `Gem.bindir`.
2017-05-03 11:37:18 +01:00
Mike McQuaid
555505ec54
Merge pull request #2531 from GauthamGoli/audit_cops_options_refactor
...
audit: Allow skipping/selective running of cops and cops refactor
2017-05-03 11:28:25 +01:00
Mike McQuaid
ffa45521f4
Merge pull request #2406 from sjackman/install-bottle-url
...
Install a bottle from an URL
2017-05-03 11:25:12 +01:00