Markus Reiter
ac2cd67861
Deprecate brew cask --version
.
2018-09-06 07:05:22 +02:00
Mike McQuaid
1ae2326984
Rename Cask::CLI to Cask::Cmd.
2018-09-04 09:56:58 +01:00
Mike McQuaid
e06f8a8beb
Rename Homebrew-Cask to Homebrew Cask.
2018-09-04 09:56:57 +01:00
Mike McQuaid
90b3a13909
cask: move cask/lib/hbc/* to cask/*.
...
Fix the load path, requires and some filenames accordingly.
2018-09-04 09:56:57 +01:00
Mike McQuaid
80d75bc0d8
Homebrew/.rubocop: tweak rules.
...
Adjust the rules based on the current codebase. Remove various enable,
disables and default values that are unnecessary. Add more comments
explaining why. Make minor changes needed to enable a few more rules.
2018-09-02 20:15:09 +01:00
Mike McQuaid
bcb1ec5499
Improve Homebrew/brew line length.
...
Use 124 max line length everywhere. Also, reduce tap max line length to
189 as Homebrew/homebrew-core has that as a maximum now. In future
Homebrew/homebrew-core will also be reduced to 124 maximum line length.
2018-09-02 16:15:09 +01:00
Markus Reiter
516a39f5a4
Move migrations into UpdateMigrator
module.
2018-08-31 16:51:23 +02:00
Markus Reiter
fbcaa8c85a
Resolve URL to get real file extension.
2018-08-31 16:51:23 +02:00
Mike McQuaid
b068e4b927
update-report: tweak cask analytics messaging.
2018-08-18 08:26:44 +01:00
Brian Morton
7ced0be133
Merge branch 'master' into hbc_analytics
2018-08-17 16:18:40 -07:00
JBallin
520b5a103a
Clarify that --cleanup only runs on formulae which were just upgraded
2018-08-16 09:28:24 -07:00
JBallin
526262fca5
Change <formula> to <formulae> to match the suggested inputs
2018-08-16 09:28:24 -07:00
Claudia
61db35f77d
brew style
2018-08-16 09:01:46 +02:00
Brian Morton
ea29158a4d
update git config key for analytics bool
2018-08-16 08:19:11 +02:00
Brian Morton
77c242548e
update variable name and msg string per comments
2018-08-16 08:18:23 +02:00
Brian Morton
37f1ae61b2
add cask analytics msg on brew update
2018-08-16 08:16:33 +02:00
Mike McQuaid
b45b716a2e
update-report: solicit donations.
...
This message will only be displayed once.
Fixes #4644 .
2018-08-14 13:19:37 +01:00
Markus Reiter
55cde526a8
Deprecate brew cask cleanup
.
2018-08-13 20:09:34 +02:00
Markus Reiter
17fda8d546
Merge pull request #4658 from reitermarkus/ignore-version-error
...
Set `initial_version` to `nil` when `git describe` fails.
2018-08-11 17:45:45 +02:00
Markus Reiter
bdc2458c15
Always fetch at least the latest tag.
2018-08-11 00:46:29 +02:00
Markus Reiter
211e8538ec
Set initial_version
to nil
when git describe
fails.
2018-08-10 22:48:12 +02:00
Markus Reiter
03b93da296
Use option parser for brew cleanup
.
2018-08-08 13:11:16 +02:00
Markus Reiter
a2238f0eb3
Output message when migrating cache entries.
2018-08-08 07:34:24 +02:00
Markus Reiter
19ffbd5e68
Skip migration if HOMEBREW_DISABLE_LOAD_FORMULA
is set.
2018-08-07 16:07:12 +02:00
Markus Reiter
888a7073bc
Change migration to loop through formulae.
2018-08-06 17:25:29 +02:00
Markus Reiter
7449f9cd15
Fix update-report
migration.
2018-08-06 12:52:18 +02:00
Markus Reiter
dca5dc8176
Add warnings for permission exceptions.
2018-08-05 16:03:21 +02:00
Markus Reiter
8158f045c4
Only run migration when updating from older version.
2018-08-05 15:57:28 +02:00
Markus Reiter
4065c1742d
Add update migration for double dashes.
2018-08-05 15:57:28 +02:00
Mike McQuaid
19d87bf15f
link: when refusing link display keg only caveats
...
These are a bit easier to follow and have been recently improved.
Inspired by conversation in #4441 .
2018-07-26 10:49:55 +01:00
Mike McQuaid
74c77db5bd
shell: tweak export_value parameters.
...
Let’s have a default value for shell (considering this isn’t a public
API) to make it easier to use.
2018-07-26 10:48:25 +01:00
Mike McQuaid
bd5131d710
Merge pull request #4392 from MikeMcQuaid/more-deprecation-disabled
...
Disable more deprecations.
2018-07-15 14:48:00 +01:00
Andrew Janke
0a2d8c3d4d
Add --display-times option to install
, reinstall
, and upgrade
2018-07-14 11:06:03 -04:00
Mike McQuaid
5c6ef3d920
Disable more deprecations.
...
- Turn more old `odeprecated` into `odisabled`
- Remove more old `odisabled`
- Remove code for older Ruby versions
2018-07-14 16:00:50 +01:00
Mike McQuaid
060c615fae
Merge pull request #4361 from apjanke/collected-caveats
...
Display collected caveats at end of `install` or `upgrade`
2018-07-13 19:22:55 +01:00
Mike McQuaid
e1eb7dd3e3
Use Ruby 2.3.7
...
Fixes #4459 .
2018-07-13 08:22:33 +01:00
Andrew Janke
c644392a85
Display collected caveats at end of install
or upgrade
2018-07-12 20:41:32 -04:00
Mike McQuaid
7cc970fea2
link: refactor, reorder and fix bugs.
...
The change in #4441 broke the handling of the `elsif`s due to the
change in logic. As every block here has a `next` there's no need to do
an `elsif` in here at all. Additionally, reorder the conditions in here
so you get an appropriate message depending on what you're trying to do.
Finally, tweak some of the messaging to remove things that are ignored
and tell people correct commands to run to link things.
2018-07-10 09:32:42 +01:00
ilovezfs
461b61abac
link: fix undefined dep_f
2018-07-09 21:23:25 -07:00
Mike McQuaid
2f181b3f41
link: stop unneeded force linking on Mojave/CLT 10.
...
People are getting in the habit of force-linking things like `zlib` to
fix linking/include issues on Mojave (which doesn't install headers to
`/usr/include` by default). This way lies madness so encourage people to
instead pass the correct compiler flags instead.
2018-07-09 16:09:00 +01:00
Afnan Enayet
133c3a3c0b
Fix typo
...
* change `MacOS` -> `macOS`
* regenerate manpages
2018-07-06 23:06:41 -04:00
Afnan Enayet
9579fadad4
Strip trailing whitespaces
...
This fixes the rubocop offences, which was blocking Travis
2018-07-05 21:33:29 -04:00
Afnan Enayet
72735aef17
Update documentation and generate manpage
...
* update references in `--cc` flag, using modern gcc examples
* note that issues should not be filed if `--cc` flag is used
* remove reference to `HOMEBREW_CC` as it should not be exposed to users
* generate manpages using `brew man` with these changes
2018-07-05 17:25:19 -04:00
Afnan Enayet
fd84bcbff7
Merge branch 'master' of github.com:Homebrew/brew into update-compiler-docs
2018-07-05 17:23:09 -04:00
Afnan Enayet
fa41a66907
Update manpages using man brew
...
Properly update man pages using the local brew executable (from the repo),
and copy the man pages to the repo.
2018-07-01 18:47:13 -04:00
Markus Reiter
a15b016ea6
Use if
for assignment.
2018-07-02 00:11:42 +02:00
Markus Reiter
785750ee63
Add Tap#contents
methods.
2018-07-01 18:48:28 +02:00
Mike McQuaid
61a8c4d1fb
Merge pull request #4300 from apjanke/new-rubocop-version
...
Upgrade to Rubocop 0.57.2
2018-07-01 09:08:16 +01:00
Andrew Janke
e0a8a79921
Style fixes for Rubocop 0.57.1
2018-06-30 19:40:14 -04:00
Markus Reiter
e3bb004ad7
Merge pull request #4372 from reitermarkus/cask-search
...
Readd functionality to list all casks.
2018-06-30 02:40:39 +02:00