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 McQuaid
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 McQuaid
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 McQuaid
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 McQuaid
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 McQuaid
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 McQuaid
2e5e9286f7
Merge pull request #870 from MikeMcQuaid/revert-keep-old
...
bottle: revert --keep-old changes.
2016-09-04 19:05:55 +01:00
Mike McQuaid
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 5e9bb877d54fc1803a866f49997f3e819c3ca650.
2016-09-04 13:22:08 +01:00
Mike McQuaid
44ae0080e1
Revert "bottle: allow --keep-old to ignore same sha256s."
...
This reverts commit ec1437499a178a09805854469c5162d749270f3e.
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 McQuaid
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 McQuaid
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 McQuaid
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 McQuaid
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 b6afa228f4974f4af1e8938911e35150aa2991c8 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 McQuaid
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 Janke
5d603c3e8f
separate build and test logs
2016-08-19 12:27:37 -04:00
Mike McQuaid
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 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
Mike McQuaid
27ecf588c7
Rename bottle's revision to rebuild.
2016-08-18 17:32:35 +01:00
Mike McQuaid
e83da4c8e6
audit: tweak "remove revision" message clarity.
...
Reference the revision value so it's more obvious that this does not
refer to e.g. a SCM revision.
2016-08-18 15:04:51 +01:00
Mike McQuaid
8137b80a20
audit: audit version_scheme.
...
Reuse the existing `revision` method that was made more generic.
2016-08-18 15:04:51 +01:00
Mike McQuaid
41f6334b5b
audit: make audit_revision more generic.
...
This will allow it to be used for checking other attributes too.
2016-08-18 15:04:51 +01:00
Mike McQuaid
eea0da362b
audit: ensure correct version_scheme placement.
2016-08-18 15:04:51 +01:00