Commit Graph
2807 Commits
Author SHA1 Message Date
Zhiming Wang 41efd59d2c cmd/commands: always show developer commands
Per discussion in #900.

Closes #900.
2016-09-09 18:10:10 -04:00
Mike McQuaidandGitHub b5a6b4e8e1 Merge pull request #896 from MikeMcQuaid/no-chown-usr-local
Don't require/recommend ownership of /usr/local.
2016-09-09 09:29:46 +01:00
Mike McQuaid 492391f5fe Don't require/recommend ownership of /usr/local.
Apple reset this on every OS X major (and some minor) updates and it
always proves a painful and unnecessary step. Instead just check the
directories we actually care about are writable.

This may mean if these directories do not already exist (although they
are now created by the installed) that `brew link` will fail and require
manual intervention but this seems to be superior for both new and the
majority of existing users.
2016-09-09 08:06:37 +01:00
Mike McQuaid 027086d673 help: rename help section for developers. 2016-09-08 20:48:38 +01:00
Mike McQuaid ae57057afa help: use Commands module. 2016-09-08 20:46:55 +01:00
Mike McQuaid 49dcbee99c command: use Commands module. 2016-09-08 20:46:55 +01:00
Mike McQuaid 9514d1f8f5 commands: developer not development commands. 2016-09-08 20:46:55 +01:00
Mike McQuaid af8605ea4b Move developer-focused commands to dev-cmd. 2016-09-08 20:46:37 +01:00
Mike McQuaid 4f6bae46f9 cmd/*: don't restrict dev-cmd to Homebrew developers. 2016-09-08 20:46:37 +01:00
Mike McQuaid 691d57f594 update.sh: don't cleanup on update for developers.
We’re defining developers as people who have run a dev-cmd at least
once.
2016-09-08 20:46:36 +01:00
Mike McQuaidandGitHub f37d004ab5 Merge pull request #864 from vladshablinsky/skip-upgrade
Skip upgrade of pinned dependency if it's outdated
2016-09-08 20:16:29 +01:00
Mike McQuaidandGitHub 3dff6f61d8 Merge pull request #890 from MikeMcQuaid/dev-cmd-help
dev-cmd: add `--help` to all developer commands.
2016-09-08 09:55:53 +01:00
Mike McQuaidandGitHub 12813b8b62 Merge pull request #879 from penman/checkout_warning
Warn when changing branch on update
2016-09-08 09:06:41 +01:00
Mike McQuaid ebdb879fe4 Add --help to all developer commands.
Also, flag those that we never want to be in a manpage.
2016-09-08 09:05:00 +01:00
Vlad Shablinsky f8ea7a4a0c reinstall: fail if pinned 2016-09-07 20:58:13 +03:00
Mike McQuaidandGitHub d1ba4f44c0 Merge pull request #833 from DomT4/death_by_xcode
xcode: die unless Xcode/CLT up-to-date on prerelease macOS
2016-09-07 09:51:06 +01:00
Mike McQuaid f1cc1265af Refactor MacOS check_development_tools usage.
Better use the abstraction layer so e.g. Linux could have similarly
fatal checks for these things.
2016-09-07 09:11:06 +01:00
Mike McQuaid 1160d0e347 update-report: also link docs, completions.
These are more files in the HOMEBREW_REPOSITORY that we want to link to
the HOMEBREW_PREFIX.
2016-09-06 09:04:51 +01:00
Alyssa Ross 04ebd0af33 Adjust branch change message 2016-09-05 22:18:24 +01:00
Alyssa Ross 07a00c234c Warn when changing branch on update
Closes #877
2016-09-05 11:20:19 +01:00
Mike McQuaidandGitHub dfcbefff73 Merge pull request #201 from gregory-nisbet/feature-env-shells
--env: support more shells, allow explicit shell selection
2016-09-04 21:23:33 +01:00
Mike McQuaidandGitHub 2e5e9286f7 Merge pull request #870 from MikeMcQuaid/revert-keep-old
bottle: revert --keep-old changes.
2016-09-04 19:05:55 +01:00
Mike McQuaidandGitHub e5869b1e9a Merge pull request #859 from MikeMcQuaid/preinstall-update-whitespace
update-report: add newline if preinstall updated.
2016-09-04 18:59:38 +01:00
Mike McQuaid cf505fa6ce Revert "bottle: fix --keep-old JSON generation."
This reverts commit 5e9bb877d5.
2016-09-04 13:22:08 +01:00
Mike McQuaid 44ae0080e1 Revert "bottle: allow --keep-old to ignore same sha256s."
This reverts commit ec1437499a.
2016-09-04 13:22:06 +01:00
Mike McQuaid ec1437499a bottle: allow --keep-old to ignore same sha256s.
It should refuse to change existing ones but it should allow them to be
the same and silently ignore.
2016-09-03 20:20:52 +01:00
Mike McQuaid 2682b59b7f update-report: add newline if preinstall updated.
Fixes #858.
2016-09-03 19:36:34 +01:00
Mike McQuaid 5e9bb877d5 bottle: fix --keep-old JSON generation.
Ensure that the JSON file contains all the bottle checksums when using
`--keep-old`. This avoids having to use the formula DSL when merging and
relies on existing integrity checks.

This change does nothing differently if `--keep-old` is not passed.
2016-09-03 17:30:26 +01:00
Mike McQuaidandGitHub 327f5ca177 Merge pull request #807 from ilovezfs/partial_order_compliance
audit: detect partial component order compliance
2016-09-03 15:07:30 +01:00
Dominyk Tiller 8a3a4b83fd audit: banish http://http.debian.net for secure mirrors 2016-09-01 17:29:03 +01:00
Dominyk Tiller 4422bd1f34 audit: enforce https for Debian's anonscm 2016-09-01 17:29:03 +01:00
Mike McQuaidandGitHub 6622b565ee Merge pull request #801 from MikeMcQuaid/git-shim-realpath
scm/git: make --homebrew=print-path use realpath.
2016-09-01 07:46:58 +01:00
Mike McQuaidandGitHub 7b2798cb35 Merge pull request #810 from MikeMcQuaid/update-stash-fail
update.sh: reset pre-stash, die if stash fails.
2016-09-01 07:46:19 +01:00
Mike McQuaidandGitHub 6f3039fcd3 cmd/deps: avoid some full-name code repetition. 2016-08-30 18:49:27 +01:00
Dominyk Tiller 921aa01576 install: die if Xcode/CLT not up-to-date on prereleases 2016-08-30 05:10:59 +01:00
Steven Peters 7ddd3977d8 cmd/deps.rb add --full-name option
Add --full-name option to brew deps command,
which displays the full name of dependencies.
2016-08-28 00:30:30 -07:00
Dominyk Tiller ab203a749f search: handle name@v.v formulae.
Before this change:
```
~> brew search openssl@1.1
openssl@1.1 ✔
==> Did you mean to perform a regular expression search?
==> Surround your query with /slashes/ to search by regex.
```
2016-08-28 03:08:21 +01:00
ilovezfs 9d77652549 audit: detect partial component order compliance
depends_on "foo"
conflicts_with "bar"
depends_on "baz"

should still detect that "bar" and "baz" are in the wrong order even
though "foo" and "bar" happen to be in the right order.
2016-08-25 07:01:46 -07:00
Mike McQuaid 46a3003a2f update.sh: reset pre-stash, die if stash fails.
A `git reset --hard` without stashing first risks nuking in-progress
work. A `git reset --mixed` should allow stashing to occur more often
on e.g. merge conflicts.

Fixes #766.
2016-08-25 11:45:59 +01:00
Mike McQuaid ea069936bf Revert "update: make GIT_EXECUTABLE an absolute path."
This reverts commit b6afa228f4 from #778.
2016-08-25 11:12:22 +01:00
Mike McQuaid ec75fbcb65 cmd/man: deprecate --link option. 2016-08-24 11:07:06 +01:00
Mike McQuaid 3df7daa5bf update-report: also link brew*.1 manpages.
Otherwise if your `HOMEBREW_PREFIX` and `HOMEBREW_REPOSITORY` are not
equal then your tap manpages will be linked but your `brew*` ones will
not.
2016-08-24 11:06:58 +01:00
Mike McQuaid b6afa228f4 update: make GIT_EXECUTABLE an absolute path.
Otherwise it can end up as e.g. `bin/git` which then breaks when we
`cd` to another directory and try to run it.
2016-08-22 09:04:15 +01:00
Markus Reiter a98015192b Move Cask man page to root. 2016-08-22 01:49:12 +02:00
Mike McQuaidandGitHub 7c7e2d00af Merge pull request #768 from MikeMcQuaid/cask-man
Make "brew man" also generate Cask's manpage.
2016-08-20 16:57:03 +01:00
Mike McQuaid 665783cba4 Make "brew man" also generate Cask's manpage.
Also, check in this manpage, adjust the Rakefile and remove the old one.

Fixes #731.
2016-08-20 16:36:34 +01:00
Andrew JankeandGitHub 5d603c3e8f separate build and test logs 2016-08-19 12:27:37 -04:00
Mike McQuaidandGitHub 9967bc99f0 Merge pull request #731 from MikeMcQuaid/rename-bottle-revision
Rename bottle's revision to rebuild.
2016-08-19 12:15:00 +01:00
Andrew JankeandAndrew Janke 954445634c separate build and test logs 2016-08-19 01:04:32 -04:00
ilovezfs a5dac52d10 audit: fix suggested GitHub pull request URLs
Closes #746.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
2016-08-18 15:16:14 -07:00