333 Commits

Author SHA1 Message Date
Gautham Goli
191e49511b tests: Use Parser to parse args 2018-03-25 13:48:24 +05:30
Mike McQuaid
d2c23bde6d Audit use of :run dependencies.
These are a no-op so let's remove them.
2018-03-19 10:11:08 +00:00
Mike McQuaid
96ff688b9d upgrade: make pinned error have correct exit code.
Also, display before saying "no packages to upgrade".

Fixes #3936.
2018-03-16 20:31:20 +00:00
Mike McQuaid
6c7e8608be
Merge pull request #3924 from MikeMcQuaid/include-test
install: add --include-test option.
2018-03-16 14:21:17 +00:00
Mike McQuaid
057d3461a9
Merge pull request #3932 from MikeMcQuaid/external-commands-docs
Improve external command documentation
2018-03-16 14:21:06 +00:00
Mike McQuaid
e50c40b9c6 uses: add --include-test support. 2018-03-16 09:29:31 +00:00
Mike McQuaid
b23f66982f Improve external command documentation
Extract `brew bundle` and `brew services` docs from their help. Add a
little for `brew cask` until we can think about e.g. merging the
manpages.
2018-03-15 16:25:14 +00:00
Mike McQuaid
82e82b7fbc install: add --include-test option.
Allow at `install` (or `install --only-dependencies`) time to specify
that test dependencies should be installed. This will allow simplifying
code in `brew test-bot`.

This could also be made an environment variable if desired by
maintainers.
2018-03-15 13:37:34 +00:00
Mike McQuaid
1dfeff7274 deps: don't display recursive test dependencies.
You only care about the test dependencies for the specific formula you
are testing right now.
2018-03-14 15:41:20 +00:00
Mike McQuaid
e817bba18d upgrade: add HOMEBREW_UPGRADE_CLEANUP variable.
Allow users to specify they want `brew upgrade --cleanup` to always be
run when they run `brew upgrade`.
2018-03-12 11:05:06 +00:00
Peter Powell
e71b2d1737 upgrade: fix the man page wrongly saying that it will upgrade pins.
This is incorrect as in order to upgrade a pinned package it must
first be unpinned.
2018-03-10 12:07:13 +00:00
Mike McQuaid
371dd7feec Homebrew-and-Python: update binary locations.
Updated to comply with PEP 394:
https://www.python.org/dev/peps/pep-0394/
2018-03-10 10:31:39 +00:00
Mike McQuaid
53a71a79b3
Merge pull request #3875 from MikeMcQuaid/test-deps
Allow :test dependencies.
2018-03-08 08:19:15 +00:00
lboogaard
7764798453
Update Homebrew-and-Python.md 2018-03-05 16:51:51 +01:00
lboogaard
e08695028c
Update Homebrew-and-Python.md 2018-03-05 16:47:17 +01:00
lboogaard
4f1a3ee8dc
Update Homebrew-and-Python to describe install
I believe the Homebrew-and-Python page could use a description on how to exactly install Python 2.X and 3.X with Homebrew. 

The syntax is written to my best knowledge (but likely wrong), please update this so that it is correct. Finding out the correct syntax is what actually motivated me to update this page in the first place. I'm hoping that this will clarify to the community (or at least me) on how to exactly install Python 2.X and 3.X with Homebrew.

Keep up the amazing work!
2018-03-05 13:31:13 +01:00
Mike McQuaid
fea9bc1e42 Allow :test dependencies.
These specify that they are needed by the test block. This can be
combined with `:build` to ensure that this formula isn't uninstalled
by `brew test-bot` when running `test do` blocks on our CI.
2018-03-05 10:36:39 +00:00
Mike McQuaid
70253f0009 Adjust docs and more internal code for Python 3.
Now we have `python` for Python 3 and `python@2` for Python 2 some more
adjustments need to be made.
2018-03-03 09:42:25 +00:00
Mike McQuaid
84d718cbef
Merge pull request #3860 from MikeMcQuaid/remove-acceptable-bindings
docs/Acceptable-Formulae: remove bindings mention.
2018-03-02 18:07:32 +00:00
Mike McQuaid
84363f8a3a docs/Acceptable-Formulae: remove bindings mention.
We do accept these e.g. `boost-python`.
2018-03-02 16:21:29 +00:00
Mike McQuaid
2205f62ec6 irb: add pry support.
Make `brew irb` optionally support `pry`. While doing so, also make it a `dev-cmd`.
2018-02-28 11:36:23 +00:00
Mike McQuaid
6302da37f6 Add prof and ruby commands.
These are imported from Homebrew/homebrew-dev-tools and are both used by
maintainers so may be useful for contributors too.
2018-02-27 12:07:30 +00:00
Mike McQuaid
650d6dbaac _config.yml: use extensionless permalinks. 2018-02-23 19:52:11 +00:00
Mike McQuaid
190e665bb1 Revert "docs: use short links."
This reverts commit e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a.

Closes #3832.
2018-02-23 19:52:00 +00:00
Mike McQuaid
35efc5ab23 docs: add/update more layouts. 2018-02-22 19:44:42 +00:00
Mike McQuaid
e63a2ee8de docs: use short links. 2018-02-22 19:25:44 +00:00
Mike McQuaid
5b35ba6191 docs/config.yml: generate README.md again.
This is the index.
2018-02-22 18:57:24 +00:00
Mike McQuaid
977c3323d2 docs.brew.sh updates
- Remove no longer needed `acme-challenge` file
- Set title, description, social image, logo, etc. for SEO
- Use extensionless permalinks (old links still work)
- Cleanup `_config.yml`
- Import latest `_layouts/base` from https://brew.sh
2018-02-22 18:47:29 +00:00
Mike McQuaid
66410ccf1b Versions: additional formulae requirements.
These should help keep these formulae more maintainable.
2018-02-21 18:04:15 +00:00
joshua stein
7388acb86e Tty: if HOMEBREW_NO_COLOR env var is present, disable color
bin/brew will recognize NO_COLOR variable and copy it to
HOMEBREW_NO_COLOR
2018-02-12 14:19:25 -06:00
Mike McQuaid
3a2e6b82fd Make pinning more robust
Don’t autoremove pins on uninstall or upgrade and note this in the
manpage.
2018-02-05 10:59:11 +00:00
Mike McQuaid
3ac2f81f3c
Merge pull request #3757 from EricFromCanada/master
docs: add more option descriptions
2018-02-05 10:31:57 +01:00
EricFromCanada
91246c2553 docs: fix double backticks appearing in HTML manpage 2018-02-01 17:17:09 -05:00
EricFromCanada
1d2b4ed321 docs: add more missing option descriptions
and improve wording or formatting where necessary.
2018-02-01 16:06:17 -05:00
EricFromCanada
2020f382cb docs: add two taps, update CI info
and fix some wording.
2018-02-01 16:04:21 -05:00
xiehuc
3e6adb7e33 update all_proxy and man pages #3751 2018-02-01 18:11:29 +08:00
Darío Hereñú
d4a9ffee2f
Minor proposal 2018-01-27 20:20:45 -03:00
Mike McQuaid
b96ec879dc (un)linkapps: hide from manpage, use odeprecated. 2018-01-21 13:38:44 +00:00
Mike McQuaid
4514f7b17d docs/Versions: versions should build.
Seems obvious but was somehow omitted.
2018-01-19 16:50:49 +00:00
Mike McQuaid
1285a41640 Versions: update acceptable versioned formulae.
Clarify further what's acceptable and what isn't.
2018-01-19 16:38:10 +00:00
Mike McQuaid
02e4cae3d0
Merge pull request #3676 from apjanke/make-apjanke-former-maintainer
README: update list of maintainers
2018-01-18 15:55:36 +00:00
Mike McQuaid
65695885b6 Update other Homebrew maintainers. 2018-01-18 15:45:51 +00:00
Mike McQuaid
8a45467ad9
Merge pull request #3661 from MikeMcQuaid/deprecate-default-formula
Deprecate default_formula Requirement DSL
2018-01-18 15:30:56 +00:00
Mike McQuaid
965c079f09 Formula-Cookbook: various updates.
Update some stuff that was deprecated or tweak wording.
2018-01-18 09:39:42 +00:00
Mike McQuaid
2f522ff04b docs: update gems.
- check in the Gemfile.lock
- use a modern Ruby version
- remove gem upper limits
2018-01-15 09:55:28 +00:00
Mike McQuaid
b70b5429d0 Deprecate default_formula Requirement DSL
This has been a nightmare in terms of the complexity to our dependency
system and the whack-a-mole required on bugs. If a Requirement resolves
to a Formula it should just use `depends_on "formula"` instead. This
matches the effective behaviour all users of bottles (the vast majority
of users and installs) and what we're doing in Homebrew/homebrew-core.
2018-01-14 13:27:43 +00:00
Mike McQuaid
2a53c99449
Python-for-Formula-Authors: python from PATH isn't used. 2018-01-12 11:26:11 +00:00
Mike McQuaid
f97512d7f1
Homebrew-and-Python: can't build from source to avoid Homebrew python. 2018-01-12 11:25:08 +00:00
EricFromCanada
762f2fd2d8 docs: remove :python requirement 2018-01-11 20:40:35 -05:00
Mike McQuaid
fa76321620 Interesting-Taps-and-Forks: add brewsci org taps.
From the artist known as homebrew-science.
2018-01-11 13:56:40 +00:00