Vlad Shablinsky
f88f2b7054
update tabs only if core formula installed
...
Closes Homebrew/homebrew#42745 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-10 16:09:26 +01:00
Vlad Shablinsky
0b854adbf4
update: fix load_tap_migrations
2015-08-10 16:09:26 +01:00
Vlad Shablinsky
6b0927944a
update: handle renames on update
2015-08-10 13:57:59 +01:00
Vlad Shablinsky
abf6b6f6cf
add migrate command for migrating renamed
2015-08-10 13:57:59 +01:00
Vlad Shablinsky
fa8b702c0d
uninstall: change logic to handle renames
2015-08-10 13:57:59 +01:00
Vlad Shablinsky
6a0dcc8324
don't use new name rack if old name rack is a dir
...
Everything that used HOMEBREW_CELLAR/canonical_name
could point to something that doesn't exist because
loader_for tries to load new name formula if no old
name found. However there can be software installed
from path with the same name that renamed formulae
had and we still need to link/unlink/uninstall etc
that software. The solution is Formulary#to_rack
method that returns rack for given name.
- Add Formulary#to_rack
- Update ARGV.kegs
- Update cmd/switch
2015-08-10 13:57:59 +01:00
Vlad Shablinsky
556ab3bcd6
audit: add rules for naming
...
- restrict old names as names of new formulae
- warn about dependencies on old names
2015-08-10 13:57:58 +01:00
CNA-Bld
4165b34dde
add pinned taps count to brew tap-info
2015-08-10 12:17:26 +01:00
CNA-Bld
f3f8ca953f
add pin info to tap-info
2015-08-10 12:17:26 +01:00
CNA-Bld
194618beb8
implement formulary#find_with_priority
2015-08-10 12:17:26 +01:00
CNA-Bld
1a82b2133e
implement pinning of taps
2015-08-10 12:17:25 +01:00
Dominyk Tiller
970992d5bf
audit: prune redundant code
2015-08-10 02:39:38 +01:00
Dominyk Tiller
d25d3b07da
audit: flag insecure launchpad
2015-08-10 02:25:59 +01:00
Rafael Kitover
74b18bfe12
put caveats in finish after post_install Homebrew/homebrew#42565
...
When running brew -v install, long post_install output from the formula,
presumably from upstream, may hide the important instructions in the
caveats and confuse the user. For example, postgresql runs initdb which
prints its own instructions for running the database, making the caveats
scroll off screen.
Per xu-cheng's instructions in Homebrew/homebrew#42565 :
Remove the explicit call to caveats from the install, reinstall, and
upgrade commands, as well as the dependency installer code in
FormulaInstaller#install_dependency , and call caveats right before the
summary code in FormulaInstaller#finish .
Closes Homebrew/homebrew#42565 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-09 20:08:42 +08:00
Mike McQuaid
3518cda792
audit: allow assert !.*.include?
.
...
Came up on Homebrew/homebrew#34573 .
2015-08-09 09:33:33 +01:00
Xu Cheng
e60dc64828
only run post_install if it's defined
...
Closes Homebrew/homebrew#42593 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-08 17:50:49 +08:00
Xu Cheng
8fecd4c198
help: remove obsoleted argument
2015-08-07 19:36:29 +08:00
Xu Cheng
3c8a19777d
update: handle more exceptions
...
Closes Homebrew/homebrew#42558 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-07 13:42:31 +08:00
Alexis Hildebrandt
f78a63984b
audit: add check for indefinite article
...
at the beginning of desc.
Closes Homebrew/homebrew#42404 .
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-08-06 18:10:48 +01:00
Xu Cheng
09e0bcf1fc
update: loading core files at the beginning
...
This should help to prevent similar situation of Homebrew/homebrew#42553 happening in the
future.
2015-08-06 22:51:36 +08:00
Xu Cheng
ae0e270727
favor flat_map over map...flatten
2015-08-06 22:33:46 +08:00
CNA-Bld
68a5b1fe46
add fully qualified name for core formulae
2015-08-06 22:28:44 +08:00
Xu Cheng
b121e5fd7b
more core file style updated by rubocop
2015-08-06 17:23:56 +08:00
Xu Cheng
3f8ce5f1a9
update rubocop to 0.33.0
2015-08-06 17:23:55 +08:00
Xu Cheng
2c3084a0a2
style: allow passing arbitrary file paths
2015-08-06 17:23:55 +08:00
Alexis Hildebrandt
e9180b39f5
audit: simplify command-line spelling check
...
Closes Homebrew/homebrew#42403 .
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-08-05 20:19:40 +01:00
Dominyk Tiller
150a9fe514
audit: flag plaintext mirrorservice
2015-08-05 19:45:24 +01:00
Baptiste Fontaine
1bb9c56e9c
test-bot: run postinstall on dependencies
...
Closes Homebrew/homebrew#36027 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-08-05 20:24:06 +02:00
Baptiste Fontaine
3a733cad09
shell completion of official taps added to 'brew tap'
...
Closes Homebrew/homebrew#42421 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-08-03 23:37:00 +02:00
Xu Cheng
1af6ffa950
brew readall --syntax: skip vendor files
2015-08-03 21:27:40 +08:00
Xu Cheng
14f060621e
command: fix break caused by style update
2015-08-03 20:51:16 +08:00
Xu Cheng
d62095710f
More core files style updates
2015-08-03 20:38:20 +08:00
BrewTestBot
13d544e11e
Core files style updates.
...
Closes Homebrew/homebrew#42354 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 13:22:35 +01:00
Mike McQuaid
e4ef7f8cb7
Don't try to Rubocop vendored files.
2015-08-03 18:47:23 +08:00
Baptiste Fontaine
79678cb109
online audit: use GET instead of HEAD
...
I also removed the `-L` flag which is already present in
`HOMEBREW_CURL_ARGS`.
Closes Homebrew/homebrew#42352 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-08-02 11:15:52 +02:00
Xu Cheng
ac738ae2cd
enumerate all formulae by files rather than names
...
Before
```
$ time brew readall
brew readall 10.63s user 0.36s system 99% cpu 11.003 total
```
After
```
$ time brew readall
brew readall 5.62s user 0.24s system 99% cpu 5.859 total
```
Closes Homebrew/homebrew#42302 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-01 00:49:50 +08:00
Xu Cheng
2ebd1c974b
print sandbox message
...
Closes Homebrew/homebrew#42293 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-31 19:52:36 +08:00
Xu Cheng
a9b9c5ade7
Tap: allow enumerate non-git taps
...
Also add a `Tap#git?` method to indicate whether the tap is a git
repository.
Closes Homebrew/homebrew#42264 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-30 21:28:52 +08:00
Dominyk Tiller
68b865fcb1
Revert a33c5b9121e66aa650d9d0fc5814202bd26154d0
...
Revert: "test-bot: ensure from-source initial installation"
This reverts commit a33c5b9121e66aa650d9d0fc5814202bd26154d0.
You know when your fix ends up causing another problem that you then have to
go fix as well? Yup...
2015-07-30 10:14:44 +01:00
Dominyk Tiller
a675aae553
pull: stop printing warning on test-bot
...
Closes Homebrew/homebrew#42097 .
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-07-24 19:22:01 +01:00
Xu Cheng
602ea66a0f
bottle_resolve_version: return PkgVersion
2015-07-24 15:59:28 +08:00
Dominyk Tiller
c6e3a0240a
test-bot: ensure from-source initial installation
2015-07-23 22:29:03 +01:00
Dominyk Tiller
c0ef6567b8
fetch: don't flag fs modification
2015-07-23 22:28:07 +01:00
Xu Cheng
ebd0f34561
tests: show fs leak result
...
Closes Homebrew/homebrew#41956 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-22 20:27:20 +08:00
Xu Cheng
9e6f1412ad
test-bot: run brew tests in no-compat mode
...
Closes Homebrew/homebrew#42009 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-22 20:27:02 +08:00
Xu Cheng
ea21f9bc4d
audit: more fix on no-compat mode
2015-07-22 16:41:10 +08:00
Xu Cheng
2648684b3b
audit: rename audit_patches to audit_legacy_patches
2015-07-22 16:34:08 +08:00
Xu Cheng
51810ae1ea
audit: fix for no-compat mode
2015-07-22 15:27:58 +08:00
Xu Cheng
60600c824c
test-bot: build bottle with verbose
...
It will print out what stops bottle being relocatable.
Closes Homebrew/homebrew#41958 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-22 15:12:23 +08:00
Xu Cheng
8cebb64eec
auto disable sandbox for interactive shell
...
Closes Homebrew/homebrew#38792 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-22 15:12:15 +08:00