Baptiste Fontaine
e8c8b876af
brew-log: warn if shallow clone
...
Closes Homebrew/homebrew#46283 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-11-23 15:50:15 +01:00
Martin Afanasjew
cd267e0bce
audit: check position of 'revision' and 'keg_only'
...
Closes Homebrew/homebrew#46178 .
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-11-23 04:56:27 +00:00
Mike McQuaid
5388f8c8f8
Travis: don't run cleanup at all.
2015-11-19 13:30:07 +00:00
Mike McQuaid
1a8f6388a6
test-bot: don't cleanup before on Travis.
...
As we may be using a Ruby 1.8 that this will delete.
2015-11-19 13:18:21 +00:00
Alexis Hildebrandt
a9b380539c
brew-deps: improved --tree formatting
...
Use proper BOX DRAWINGS LIGHT VERTICAL unicode character.
Closes Homebrew/homebrew#46158 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-11-19 10:20:40 +01:00
Mike McQuaid
c6621faf18
travis: test 10.9 using Ruby 1.8.
...
Closes Homebrew/homebrew#45816 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-11-18 17:06:28 +00:00
Mike McQuaid
11a421948d
test-bot: remove email support.
2015-11-18 10:28:04 +00:00
Baptiste Fontaine
24a1eeceb3
Common build environment methods moved in build_environment.rb
...
Closes Homebrew/homebrew#45966 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-11-17 00:17:22 +01:00
Martin Afanasjew
c55080abd5
audit: respect umask in formula file mode check
...
Closes Homebrew/homebrew#45837 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-11-16 20:07:23 +00:00
Xu Cheng
14af3e3515
audit: add godep and sphinx-doc to build time deps
...
Closes Homebrew/homebrew#46031 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-11-16 21:12:54 +08:00
Xu Cheng
14fbc8c39e
improve brew info
...
* Show pinned and keg-only as attributes, where pinned
version is shown as well.
* Use brackets instead of parentheses to distinguish formula
attributes(e.g. keg-only) with spec attributes(e.g. bottled)
* Don't show blank line for formula without homepage.
* Don't show duplicated keg-only message which will be shown later
in caveats.
* Underline urls.
* Remove unnecessary github_info return value check, which is always
existed.
Closes Homebrew/homebrew#46037 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-11-16 20:59:13 +08:00
Dominyk Tiller
1a4068f0be
pull: fix pulling desired bottles
2015-11-12 01:35:58 +00:00
Dominyk Tiller
b381137cef
pull: don't try to publish nonexistent bottles
...
```
Fast-forward
Library/Formula/ant.rb | 8 ++++----
Library/Formula/nailgun.rb | 10 +++++-----
2 files changed, 9 insertions(+), 9 deletions(-)
Deleted branch pull-bottle-45902 (was 1fdb73d).
==> Publishing on Bintray:
{"files":3}
==> Publishing on Bintray:
Error: Failure while executing
```
In that case, "jetty-runner" is bottle unneeded, but because I've passed the
pull bottle command for the other two formulae, it attempts to publish a bottle
that isn't there.
2015-11-12 00:19:38 +00:00
Martin Afanasjew
4d772042f7
keg_relocate: remove options from Keg#dylib_id_for
...
No longer used since commit 3b0cbe6a56d9133941482a9e2d033ad86cdb5e79.
Closes Homebrew/homebrew#45835 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-11-11 14:23:59 +08:00
Martin Afanasjew
8091b33f85
ruby 1.8: address syntax warnings in Homebrew core
...
Closes Homebrew/homebrew#45849 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-11-11 14:22:44 +08:00
Dominyk Tiller
4296ec63eb
rubocop: update to 0.35.1
2015-11-10 19:21:37 +00:00
Xu Cheng
d7e95997ae
tap: warn already tapped
2015-11-10 18:33:57 +08:00
Mike McQuaid
aab53e65a9
tap: don't error when already tapped.
2015-11-10 09:12:25 +00:00
Mike McQuaid
0c20957f5b
test: enable sandbox by default.
...
Closes Homebrew/homebrew#45843 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-11-10 09:09:03 +00:00
Alex Dunn
745ec8f7c9
cmd/update: check before tapping
...
Follow-up to ea6c8f7e2dc8f1adf8df9065468d0b37047d4a46
2015-11-09 07:30:02 -08:00
Alex Dunn
95bbd8ef02
cmd/install: check before tapping
...
Changes introduced in dfdc570abcd7c19a7b385c2fe8c6b26b12bca646 were
causing installations using fully-qualified formula names to fail.
2015-11-09 07:25:26 -08:00
Xu Cheng
82689d81f7
use Tap#install
2015-11-09 15:34:20 +08:00
Xu Cheng
e97610b916
add Tap#install and Tap#uninstall
2015-11-09 15:34:20 +08:00
Xu Cheng
7f167963b3
test-bot: skip optional deps when computing formulae test order
...
Closes Homebrew/homebrew#45611 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-11-07 02:26:33 +08:00
Dominyk Tiller
c7b0173688
doctor: tweak tmp sticky bit check
2015-11-04 12:53:31 +00:00
Xu Cheng
ffbb1828a2
update: always rescue formula loading
...
Closes Homebrew/homebrew#45676 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-11-04 20:44:28 +08:00
Xu Cheng
ec114bb480
test-bot: cleanup bottle files in cache
...
Closes Homebrew/homebrew#45637 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-11-04 14:58:00 +08:00
Xu Cheng
20d38701b5
test-bot: hard link generated bottle file to HOMEBREW_CACHE
2015-11-04 14:58:00 +08:00
Dominyk Tiller
85469b99b1
doctor: fix typo
...
Fixes Homebrew/homebrew#45623 .
2015-11-02 21:04:03 +00:00
Dominyk Tiller
7d0c57cc9e
doctor: whitelist Paragon ExtFS dylib
2015-11-02 18:27:13 +00:00
Mike McQuaid
39a1ff2aa0
audit: don't flag Gnome devel releases < 1.0.
2015-11-01 09:26:43 -08:00
Mike McQuaid
2614d39087
pull: fix pulling new bottles.
2015-11-01 08:25:02 -08:00
Xu Cheng
ae329a802b
pull: use bottle_defined?
...
Fixes Homebrew/homebrew#45575
Closes Homebrew/homebrew#45577 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-11-01 08:22:18 -08:00
Xu Cheng
593dff3dc1
pull: bottle_unneeded? is covered by bottle_disabled?
2015-11-01 17:51:10 +08:00
Mike McQuaid
18b2d0150e
pull: handle unneeded and disabled bottles.
...
Closes Homebrew/homebrew#45563 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-10-31 23:45:11 -07:00
Dominyk Tiller
8acac5aa71
doctor: unify chown messages
...
Closes Homebrew/homebrew#45398 .
2015-10-30 18:42:19 +00:00
Baptiste Fontaine
a2e2553bd8
audit: flag any desc that starts with the formula name
...
The previous version didn’t work with descs like:
"TheFormula serves a web page"
2015-10-30 17:56:55 +01:00
Baptiste Fontaine
2ef51381c9
create: deprecate --macports and --fink
...
Closes Homebrew/homebrew#45465 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-10-30 10:11:04 +01:00
Baptiste Fontaine
18bda1c9b1
audit: uniformize the desc problems
...
Closes Homebrew/homebrew#45492 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-10-30 09:59:43 +01:00
Baptiste Fontaine
a5f6295b62
audit: flag descs starting with the formula name
...
Closes Homebrew/homebrew#45493 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-10-30 09:51:20 +01:00
Ben White
f7e649831d
doctor: Fix typo in uncommitted modifications warning message
...
Closes Homebrew/homebrew#45443 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-10-29 13:34:36 +01:00
Baptiste Fontaine
75c196c1fc
create: accept HEAD urls
...
Fixes Homebrew/homebrew#45310 .
Closes Homebrew/homebrew#45336 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-10-28 14:04:53 +01:00
Mike McQuaid
74e407dc54
The Formula API is no longer work-in-progress.
...
Feature it a bit more prominently in the documentation as a result.
Closes Homebrew/homebrew#45374 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-10-27 10:45:23 -06:00
Mike McQuaid
8ea9903a99
update: use git stash silently.
...
There's been a few issues where users have been confused about these
errors. They may have modified stuff but we probably don't care about
telling them that unless we're debugging other issues.
Closes Homebrew/homebrew#45373 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-10-27 10:45:23 -06:00
Dominyk Tiller
82f5660752
cat: raise unless object is formulae
...
Until a point in time when the Cask/Homebrew codebases are harmonised a little
more it probably makes sense to refuse to `cat` Casks. Right now the Homebrew
codebase is only minimally aware of what a Cask is.
Fixes Homebrew/homebrew#45300 .
Fixes Homebrew/homebrew#44630 .
Closes Homebrew/homebrew#45302 .
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-10-26 14:06:51 +00:00
Xu Cheng
1248294c8c
commands: ensure internal commands are files
...
`Pathname#children(with_directory = false)` doesn't filter directories,
instead it returns path with basename.
Closes Homebrew/homebrew#45325 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-10-26 16:11:18 +08:00
Dominyk Tiller
2b9561b837
audit: add bottle modifier checks
...
* Checks for placement of the bottle modifier variable.
* Checks there isn't a bottle modifier and a bottle do block - The former makes
the latter redundant.
Closes Homebrew/homebrew#45146 .
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-10-24 00:25:46 +01:00
Baptiste Fontaine
e7ef3e36e2
audit: merge the template comments checks
...
Closes Homebrew/homebrew#45263 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-10-23 15:20:10 +02:00
Baptiste Fontaine
774a508d1a
audit: warn about unknown bottle modifiers
...
This prevents typos like `bottle :uneeded` or `bottle :disable`
Closes Homebrew/homebrew#45264 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-10-23 19:44:19 +08:00
Martin Afanasjew
30cad0608f
os: centralize check for pre-release OS X versions
...
Provide `OS::Mac.prerelease?` for pre-release checks and use it where
appropriate. This should simplify updating the test once a new OS X
release lands.
This also fixes a bug in `BuildError#dump`, where an empty warning
message was printed on El Capitan after a failed from-source build,
because the check there and the one in `check_for_unsupported_osx` were
out of sync.
Closes Homebrew/homebrew#45257 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-10-23 12:34:44 +01:00