Mike McQuaid
53bcec7679
Merge pull request #2377 from zmwangx/warn-on-slow-missing-formula-search
...
missing_formula: warn when git-log takes very long
2017-03-23 09:51:41 +00:00
Mike McQuaid
689e35a1e7
README: add some more shields.
...
For the current release, Travis CI and Coveralls status.
2017-03-23 09:35:21 +00:00
Mike McQuaid
4cae6a724e
link: tell users of brew link --force
about opt.
...
If people are force-linking keg-only things they should probably be told
that they can add the opt prefix to their PATH instead.
2017-03-23 08:42:29 +00:00
Mike McQuaid
35a4836dc3
search: silence searching git log.
2017-03-23 08:39:29 +00:00
Mike McQuaid
4c2fe5d91e
missing_formula: print immediately when searching git log.
2017-03-23 08:39:29 +00:00
Mike McQuaid
c458ffbd24
install: immediately print FormulaUnavailableError.
2017-03-23 08:39:29 +00:00
Mike McQuaid
e55f3a0cc5
info: immediately print FormulaUnavailableError.
2017-03-23 08:39:29 +00:00
Mike McQuaid
d0bbadde22
github: don't print when searching PRs.
2017-03-23 08:39:28 +00:00
Zhiming Wang
5da857ce83
missing_formula: warn when git-log takes very long
2017-03-23 08:39:28 +00:00
Mike McQuaid
08a22d013e
Merge pull request #2383 from MikeMcQuaid/docs-manpage
...
man: generate Markdown man page.
2017-03-23 08:09:49 +00:00
Mike McQuaid
c67c426c31
Merge pull request #2382 from MikeMcQuaid/tap-new-fix-link
...
cd tap-new: fix symlink creation.
2017-03-23 08:09:17 +00:00
Mike McQuaid
650c33e73b
man: generate Markdown man page.
...
The existing `brew.1.html` wasn't particularly pleasant to read and
given everything else in `docs/` is a Markdown file it makes sense to
generate a post-processed Markdown file that can in turn be used by
Jekyll to generate a nicely themed HTML file.
2017-03-22 21:38:41 +00:00
Mike McQuaid
ce2d13815d
New-Maintainer-Checklist: be more explicit.
...
Note some additional ways to help, gotchas and how to get started.
2017-03-22 21:25:44 +00:00
Mike McQuaid
5fc4cabdeb
tap-new: fix symlink creation.
...
Ensure the full HOMEBREW_TAP_DIR path is created before deleting and
creating the symlink for it. This ensures that non-`homebrew` taps will
have the necessary username/organisation folder created.
Fixes #2378 .
2017-03-22 21:23:00 +00:00
JCount
17cc40f112
Merge pull request #2376 from MikeMcQuaid/update-migrate-check-symlinks
...
update-report: check migration symlinks.
2017-03-21 18:49:27 -04:00
Mike McQuaid
b41a88eac4
update-report: check migration symlinks.
...
Check if `HOMEBREW_CELLAR/old_name` is a symlink. If so, it's already
been migrated so can be skipped.
2017-03-21 15:21:23 -07:00
Mike McQuaid
411172b9ad
Merge pull request #2375 from maxim-belkin/tests-no-temp
...
tests: unset HOMEBREW_TEMP
2017-03-21 17:32:39 +00:00
Mike McQuaid
4117d198cc
Merge pull request #1732 from zmwangx/hint-migrations
...
Hint at new location of migrated formulae
2017-03-21 17:31:31 +00:00
Maxim Belkin
8fa99fb879
tests: unset HOMEBREW_TEMP
...
Setting `HOMEBREW_TEMP` env. var [currently] breaks tests (`brew
tests`). Although this behavior looks like a bug, the solution is
straightforward: unset `HOMEBREW_TEMP`.
2017-03-21 09:31:09 -05:00
Mike McQuaid
7095b9b3c7
Merge pull request #2348 from MikeMcQuaid/up-to-date-requirement-formulae
...
formula_installer: need up to date requirement formulae.
2017-03-21 14:49:31 +01:00
Mike McQuaid
7d068d468d
Merge pull request #2365 from MikeMcQuaid/audit-provided-by-macos
...
audit: check system dupe deps on new formulae.
2017-03-21 14:49:22 +01:00
Mike McQuaid
b3a32070fe
Merge pull request #2366 from MikeMcQuaid/deprecate-tex
...
audit: deprecate depends_on :tex.
2017-03-21 14:47:52 +01:00
Mike McQuaid
ec0737d71f
Merge pull request #2370 from MikeMcQuaid/update-migrate-all-formula
...
update-report: migrate all formulae every time.
2017-03-21 14:40:07 +01:00
Mike McQuaid
84ec045ff6
Merge pull request #2369 from MikeMcQuaid/update-migrated-not-deleted
...
update-report: migrated formulae were not deleted.
2017-03-21 14:39:54 +01:00
Mike McQuaid
f59eb358c2
missing_formula: subsume historic logic.
...
These methods belong together so combine them in a single class to
provide a simpler API.
2017-03-20 20:37:12 +01:00
Mike McQuaid
80e95b684e
blacklist: move to missing_formula class instead.
...
This will allow extending this class so it can be used by more than
just blacklisting.
2017-03-20 18:20:31 +02:00
Mike McQuaid
623c95b3f8
cmd/log: improve output messaging.
...
This wasn’t adapted to the new, multiple repository world.
2017-03-20 18:20:31 +02:00
Mike McQuaid
8cedd62750
search: tweak specific formula match formatting.
2017-03-20 18:20:31 +02:00
Mike McQuaid
ac10b2ab50
Tap: add from_path helper method.
...
This makes it easier to turn an arbitrary path into a tap path.
2017-03-20 18:20:31 +02:00
Zhiming Wang
1c10a6260f
Hint at new location of migrated formulae
...
Partial implementation of
https://github.com/Homebrew/brew-evolution/pull/15 , along with the ability to
search for deleted formulae in git history (inspired by #1996 ) which is not
described in the proposal.
See also: #1371 .
2017-03-20 18:20:31 +02:00
Mike McQuaid
4af8bdf111
update-report: migrate all formulae every time.
...
Unmigrated formulae cause hard-to-debug issues and relying on detection
on Git alone is faster but not comprehensive. Instead, iterate through
renamed, installed formulae every time and migrate them.
Closes #1770 .
2017-03-20 18:10:28 +02:00
Mike McQuaid
ae43415fb4
update-report: migrated formulae were not deleted.
...
The taps they were migrated to are auto-tapped if not already tapped
anyway so don't show them as deleted to avoid confusion.
2017-03-20 15:28:24 +02:00
Joshua McKinney
437db065ca
Be a little less specific in cask output tests
...
These tests seemed a little over-specified and were failing on the CI
server. Reducing the specificity a little to try to get them to pass.
2017-03-19 19:56:41 -05:00
Alex Dunn
00af5250f0
caveats: combine completion and function messages
...
Fixes https://github.com/Homebrew/homebrew-core/issues/10338 .
Closes #2287 .
Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
2017-03-19 16:32:23 -07:00
Mike McQuaid
8efc0a608d
audit: deprecate depends_on :tex.
...
This has known issues with our `ghostscript` formula, we can't test it
on CI and is a ludicrously heavy dependency that in many cases can be
avoided by upstream providing prebuilt documentation.
2017-03-19 20:46:31 +02:00
Mike McQuaid
eadbd95d2c
audit: check system dupe deps on new formulae.
...
Provide a gentle nudge to users to check if these dependencies are
definitely required.
2017-03-19 20:45:21 +02:00
Joshua McKinney
d11e417105
Hide output from brew cask uninstall test
...
This test showed extraneous info in the test output
2017-03-19 13:14:16 -05:00
Joshua McKinney
3703ef1885
Show messages when (un)installing Casks
...
Addresses an issue where it can be unclear at times exactly which part
of the (un|re)installation processes is reporting an error. See
https://github.com/caskroom/homebrew-cask/issues/30968
2017-03-19 13:14:16 -05:00
Joshua McKinney
367fdb9718
Refactor brew cask reinstall
...
The implementation of the reinstall command was the same as
Installer#install, aside from the uninstall of the existing cask.
Moved this within the class to DRY up the implementation.
2017-03-19 13:14:16 -05:00
Mike McQuaid
76955b47bd
Merge pull request #2363 from EricFromCanada/master
...
docs: grammar edits, sentence-case secondary headings
2017-03-19 20:05:22 +02:00
EricFromCanada
ab4d1a1574
docs: grammar edits, sentence-case secondary headings
...
Also changes some heading levels so only one primary
heading appears per page.
2017-03-19 14:03:39 -04:00
JCount
09a926f449
Merge pull request #2338 from JCount/audit-online-file-download
...
audit: online - limit download time based on HTTPS determination
2017-03-18 16:03:17 -04:00
Mike McQuaid
aa260cb0d9
Merge pull request #2353 from kareman/patch-1
...
Fix small typos in How-to-Create-and-Maintain-a-Tap.md
2017-03-18 15:29:50 +02:00
Kare Morstol
1206e9e3f2
Remove double space.
2017-03-17 22:53:35 +01:00
ilovezfs
52d1d2cc3f
upgrade: keg_only before non-keg_only formulae
...
Avoids unnecessary conflicts when a previously non-keg_only formula is
in the way by prioritizing keg_only before non-keg_only formulae.
This change is motivated by the upgrade of gnupg 2.0 to 2.1, since the
latter no longer depends on the gpg-agent formula, which, even if made
keg_only, still causes the link step to fail for 2.1, as gpg-agent's
non-keg version won't have been upgraded to the keg_only version at that
point (alphabetically gnupg precedes gpg-agent).
2017-03-17 12:39:43 -07:00
Mike McQuaid
ff77013f48
Merge pull request #2337 from sjackman/linux-system-config
...
Add extend/os/linux/system_config.rb
2017-03-17 16:48:51 +02:00
Mike McQuaid
a9cd74de59
Merge pull request #2279 from sjackman/determine_path
...
determine_path: Fix tests FormulaUnavailableError
2017-03-17 15:57:30 +02:00
Shaun Jackman
0d5a53ba2c
Add extend/os/linux/system_config.rb
...
Report the Linux kernel, OS, and gcc versions.
2017-03-16 17:59:26 -07:00
Kare Morstol
988b4e5f8a
Fix small typos in How-to-Create-and-Maintain-a-Tap.md
2017-03-17 00:19:58 +01:00
Markus Reiter
bfb5bf1d70
Merge pull request #2325 from reitermarkus/better-cask-loading
...
Use a `Formulary`-like approach to load Casks.
2017-03-16 22:58:21 +01:00