3339 Commits

Author SHA1 Message Date
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
Mike McQuaid
55ba22e296 formula_versions: add version_attributes_map.
This allows querying multiple attributes in the same way as
`revision_map` did but without duplicating code or repeatedly traversing
history.
2016-08-18 15:04:51 +01:00
Mike McQuaid
cf71e30180 Merge pull request #724 from MikeMcQuaid/assume-ruby-two
Assume Ruby 2
2016-08-17 11:07:17 +01:00
Mike McQuaid
59b3c085ba cmd/audit: assume Ruby 2. 2016-08-17 09:19:56 +01:00
Mike McQuaid
135ecd1295 Prepare for Homebrew Cask to be imported.
- ignore Cask's files in `readall` (for now, there's an intentional
  syntax error that will need fixed)
- run Cask's tests if they exist
- don't check Cask's files in coverage reports (for now)
2016-08-17 09:11:11 +01:00
Mike McQuaid
2ab5c77d0c Merge pull request #713 from MikeMcQuaid/ship-sandbox
Enable sandbox by default for homebrew/core
2016-08-17 08:30:16 +01:00
Martin Afanasjew
823505a058 Fix minor issues in command help text formatting
- Inconsistent or unneeded indentation
- Missing or superfluous empty lines
- Missing or wrongly formatted arguments in command summary
- Missing punctuation
2016-08-17 01:25:51 +02:00
Mike McQuaid
984ed836bd doctor: print check on --debug. 2016-08-16 11:16:37 +01:00
Mike McQuaid
87173cb7cd Merge pull request #710 from MikeMcQuaid/list-manpage-tweaks
list: note that `ls` command is used.
2016-08-16 10:25:53 +01:00
Mike McQuaid
8a24d5f942 Merge pull request #513 from MikeMcQuaid/enable-vendor-ruby
Enable vendored Ruby 2.0.
2016-08-16 10:16:49 +01:00
Mike McQuaid
c6151951d6 cmd/postinstall: use Sandbox.formula? method. 2016-08-15 08:33:59 +01:00
Mike McQuaid
ca3e4fcc1d cmd/test: use Sandbox.test? 2016-08-15 08:33:58 +01:00
Mike McQuaid
28fe84e5db pull: loosen Jenkins Testing URL. 2016-08-14 12:06:37 +01:00
Mike McQuaid
0695edafa1 list: note that ls command is used.
And arguments can be passed through to it.

Tweak produced out of conversation in
https://github.com/Homebrew/brew-evolution/pull/8.
2016-08-14 10:38:34 +01:00