15676 Commits

Author SHA1 Message Date
Gautham Goli
fba52e2f74 cli_parser: Store parsed args in Homebrew.args and access args everywhere else 2018-05-30 00:05:39 +05:30
Mike McQuaid
05ff35b4ab
Merge pull request #4238 from MikeMcQuaid/list-fix-ls-options
cmd/list: add common `ls` options.
2018-05-29 19:24:31 +01:00
Mike McQuaid
f8f77ea52d cmd/list: add common ls options.
We need to manually specify these now so let's add a few that we'd
either previously documented or we've caught being used in the wild and
adjust the documentation accordingly.
2018-05-29 18:45:46 +01:00
Mike McQuaid
5f37f080b2
Merge pull request #4237 from anjakefala/anjakefala-python-docs
virtualenv_create(libexec, "python") results in error upon install
2018-05-29 18:42:18 +01:00
Anja Kefala
6983a95246
virtualenv_create(libexec, "python") results in error upon install
When the line was switched to the more explicit

`virtualenv_create(libexec, "python3")` the package installed with any issues. 

Arguably, I am not as comfortable as I would like with Homebrew's relationship with Python, so maybe this reveals a larger underlying issue or there was a mistake within the original Formula.

The formula is hosted [here](https://github.com/saulpw/homebrew-vd). 

```
Last 15 lines from /Users/anja/Library/Logs/Homebrew/visidata/14.pip:
  Removing source in /private/tmp/pip-req-build-CH6VRn
visidata requires Python '>=3.4' but the running Python is 2.7.10
Exception information:
Traceback (most recent call last):
  File "/usr/local/Cellar/visidata/1.2/libexec/lib/python2.7/site-packages/pip/_internal/basecommand.py", line 228, in main
    status = self.run(options, args)
  File "/usr/local/Cellar/visidata/1.2/libexec/lib/python2.7/site-packages/pip/_internal/commands/install.py", line 291, in run
    resolver.resolve(requirement_set)
  File "/usr/local/Cellar/visidata/1.2/libexec/lib/python2.7/site-packages/pip/_internal/resolve.py", line 103, in resolve
    self._resolve_one(requirement_set, req)
  File "/usr/local/Cellar/visidata/1.2/libexec/lib/python2.7/site-packages/pip/_internal/resolve.py", line 262, in _resolve_one
    check_dist_requires_python(dist)
  File "/usr/local/Cellar/visidata/1.2/libexec/lib/python2.7/site-packages/pip/_internal/utils/packaging.py", line 55, in check_dist_requires_python
    '.'.join(map(str, sys.version_info[:3])),)
UnsupportedPythonVersion: visidata requires Python '>=3.4' but the running Python is 2.7.10
```
2018-05-29 13:22:16 -04:00
Mike McQuaid
315ccf604f
Merge pull request #4230 from tschoonj/gtk-mac-integration-whitelist
Add gtk-mac-integration to gnome_devel_whitelist
2018-05-29 11:17:56 +01:00
Tom Schoonjans
ecbd9b9a26 Add gtk-mac-integration to gnome_devel_whitelist 2018-05-29 10:38:38 +01:00
Markus Reiter
2791457f35
Merge pull request #4229 from reitermarkus/fix-cask-tap-not-available
Fix tap unavailable error for migrated Cask taps.
2018-05-29 11:15:04 +02:00
Markus Reiter
0cb960951f Fix tap unavailable error for migrated Cask taps. 2018-05-29 10:57:33 +02:00
Mike McQuaid
ae52b457d0
Merge pull request #4225 from maxim-belkin/fix-ignore
Fix ignore file
2018-05-29 09:54:11 +01:00
Maxim Belkin
be1ef83427
Fix ignore file 2018-05-28 15:11:33 -05:00
Mike McQuaid
67db701ae5
Merge pull request #4067 from maxim-belkin/fix-multiple
list.rb: use CLI::Parser and improve handling of flags
2018-05-28 20:52:03 +01:00
Mike McQuaid
517d147e33
Merge pull request #4219 from alyssais/version_comparison
Fix comparison with Version::NULL on RHS
2018-05-28 20:35:49 +01:00
Mike McQuaid
6cb86da614
Merge pull request #4217 from apjanke/missing-pwd-concise-error
brew: Conciser error when run from nonexistent directory
2018-05-28 20:32:05 +01:00
Mike McQuaid
513c179e60
Merge pull request #4213 from reitermarkus/refactoring
Refactoring
2018-05-28 20:26:09 +01:00
Mike McQuaid
a276a48253
Merge pull request #4222 from reitermarkus/silence-parser-compatibility
Silence `Parser` compatibility warning.
2018-05-28 20:25:43 +01:00
Markus Reiter
e954bedc5f
Merge pull request #4221 from reitermarkus/brew-cask-list
Fall back to `CaskLoader.load` to get a better error message.
2018-05-26 18:27:01 +02:00
Markus Reiter
a0ca601a1a Silence Parser compatibility warning. 2018-05-26 16:24:48 +02:00
Markus Reiter
c89ae8c5ab Fall back to CaskLoader.load to get a better error message. 2018-05-26 16:05:51 +02:00
Alyssa Ross
472d1a22c5
Fix comparison with Version::NULL on RHS
This was accounted for in Version::NULL.<=>, but not in Version#<=>,
so these could only be compared if Version::NULL was the left hand
side.

The check had to go above the check that `other` is a version because
`Version::NULL`'s anonymous class does not inherit from `Version`.
(The type check feels like it's probably a smell, but out of scope).
2018-05-26 14:45:53 +02:00
Andrew Janke
00e21bfdf7 brew: Conciser error when run from nonexistent directory 2018-05-26 07:40:31 -04:00
Mike McQuaid
963adfafc3
Merge pull request #4214 from reitermarkus/fix-rspec-deprecations
Fix `rspec` deprecations.
2018-05-26 08:19:25 +01:00
Markus Reiter
579a30c7bf Fix rspec deprecations. 2018-05-25 23:19:13 +02:00
Markus Reiter
df2a40d207 Use remote instead of path.git_origin. 2018-05-25 22:54:34 +02:00
Markus Reiter
d1fb1d2abc Use simpler check. 2018-05-25 22:47:41 +02:00
Markus Reiter
50a43cf678 Reset repo_var in clear_cache. 2018-05-25 22:47:31 +02:00
Markus Reiter
e4c02fafda
Merge pull request #4211 from reitermarkus/cask-tap-regex
Update Cask tap regex.
1.6.6
2018-05-25 19:16:03 +02:00
Markus Reiter
054229be90 Update Cask tap regex. 2018-05-25 18:53:08 +02:00
Markus Reiter
b8381fb8ba
Merge pull request #4210 from reitermarkus/cask-references
Update Homebrew-Cask references.
1.6.5
2018-05-25 18:31:19 +02:00
Markus Reiter
de246cc528 Update Homebrew-Cask references. 2018-05-25 18:20:02 +02:00
Markus Reiter
6c70b36351
Merge pull request #4209 from reitermarkus/reset-repo_var
Reset `repo_var` so it actually is re-computed.
2018-05-25 18:16:04 +02:00
Markus Reiter
27f1613cd3 Reset repo_var so it actually is re-computed. 2018-05-25 18:02:12 +02:00
Markus Reiter
c4222141ac Revert "Update Homebrew-Cask references."
This reverts commit 4475651b548afdcf15c4cf7a7cb57baca1885186.
2018-05-25 17:57:32 +02:00
Markus Reiter
4475651b54 Update Homebrew-Cask references. 2018-05-25 17:56:16 +02:00
Markus Reiter
9e092e7cad
Merge pull request #4195 from reitermarkus/activate-cask-tap-migration
Activate Homebrew-Cask tap migration.
2018-05-25 17:41:21 +02:00
Markus Reiter
675d5fe61f Fix spec_helper cleanup. 2018-05-25 17:28:43 +02:00
Markus Reiter
7b017b6ca9 Add compatibility layer for brew update revisions. 2018-05-25 16:22:46 +02:00
Markus Reiter
54834ccbe3 Move repo_var method to Tap class. 2018-05-25 16:21:37 +02:00
Markus Reiter
8895acf059 Activate Homebrew-Cask tap migration. 2018-05-25 15:55:28 +02:00
Maxim Belkin
f7e308ab44
list.rb: use new syntax correctly 2018-05-25 06:17:40 -05:00
Maxim Belkin
288c9c6dc7
list.rb: new syntax for multiple + versions flags 2018-05-25 06:17:40 -05:00
Maxim Belkin
da66bf96b7
list.rb: use CLI::Parser to better handle args
* --multiple now assumes --versions
* Use CLI::Parser (that, in turns, uses OpenStruct) to handle arguments
2018-05-25 06:17:40 -05:00
Gautham Goli
67a1235487
Merge pull request #4207 from GauthamGoli/switch-constraints
cli_parser: Add depends_on, required_for and conflicts for switch options
2018-05-25 14:28:00 +05:30
Gautham Goli
0d53002dbc cli_parser: Add depends and conflicts for switch options 2018-05-25 04:05:45 +05:30
Mike McQuaid
d38a977fd1
Merge pull request #4205 from MikeMcQuaid/spec_helper_no_truncate
spec_helper: don't truncate output expectations.
2018-05-24 15:19:26 +01:00
Mike McQuaid
0408b78a23 tests: remove linkage cache env.
Otherwise this will mess with `brew tests`.
2018-05-24 15:09:41 +01:00
Mike McQuaid
63aacd71d3 linkage_checker: fix bad instance variable usage. 2018-05-24 14:53:03 +01:00
Mike McQuaid
4c365ea353 spec_helper: don't truncate output expectations.
It's really useful to be able to see the full output particularly when
a backtrace is in it.
2018-05-24 14:53:03 +01:00
Mike McQuaid
0c216bc5b8 spec_helper: don't truncate output expectations.
It's really useful to be able to see the full output particularly when
a backtrace is in it.
2018-05-24 14:28:20 +01:00
Mike McQuaid
97645d061d
Merge pull request #3720 from AndrewMcBurney/cache-optimization
Cache optimization for `brew linkage` command.
2018-05-24 09:14:02 +01:00