8545 Commits

Author SHA1 Message Date
Viktor Szakats
0d4da4234a audit: enforce https on [*.]archive.org
Also:
* one minor regexp tweak

Closes Homebrew/homebrew#42761.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-11 19:04:23 +01:00
Xu Cheng
907dffcf04 test-bot: check file extname when calculating formulae diff
Closes Homebrew/homebrew#42806.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-11 18:14:27 +01:00
Vlad Shablinsky
3a764cb549 uninstall: fix --force
Closes Homebrew/homebrew#42814.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-11 18:13:13 +01:00
Mike McQuaid
3350f9018a test-bot: run git gc on cleanup.
Closes Homebrew/homebrew#42805.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-11 18:06:07 +01:00
Xu Cheng
36272dbaa6 doc: fix link to pip document 2015-08-11 16:42:05 +08:00
Xu Cheng
c405a23491 doc: fix internal link 2015-08-11 16:32:28 +08:00
Xu Cheng
f64661fb18 doc: fix internal links 2015-08-11 15:43:03 +08:00
Baptiste Fontaine
ef4790d38c documentation added for taps maintainers
Closes Homebrew/homebrew#41858.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-08-10 23:56:31 +02:00
Dominyk Tiller
64bcb5a07f audit: catch insecure bitbucket 2015-08-10 19:12:24 +01:00
Xu Cheng
12e154a418 man: remove unnecessary --all in brew upgrade 2015-08-10 23:12:30 +08:00
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
Misty De Meo
431f23db32 PythonRequirement: fix variable in PYTHONPATH 2015-08-10 07:32:02 -07:00
Misty De Meo
6b1ce9827e PythonRequirement: don't blindly use first Python in PATH
Fixes Homebrew/homebrew#42461.
2015-08-10 07:30:41 -07:00
Xu Cheng
fac17e8459 to_rack: simplify the logic
Closes Homebrew/homebrew#42743.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-10 21:59:51 +08:00
Xu Cheng
e1779503b7 ARGV#resolved_formula: use to_rack 2015-08-10 21:59:50 +08:00
Vlad Shablinsky
13a5aa0867 rename: libcppa -> caf
Closes Homebrew/homebrew#41006.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-10 13:58:00 +01:00
Vlad Shablinsky
4b31fcd072 add documentation for formula renames 2015-08-10 13:57:59 +01:00
Vlad Shablinsky
622a8502dc add manpages 2015-08-10 13:57:59 +01:00
Vlad Shablinsky
6b0927944a update: handle renames on update 2015-08-10 13:57:59 +01:00
Vlad Shablinsky
7079a00aa7 add test/test_migrator 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
2cc6b90329 formulary: change logic for renamed formulae 2015-08-10 13:57:59 +01:00
Vlad Shablinsky
ab1164f4de exceptions: add TapFormulaWithOldnameAmbiguityError
- TapFormulaWithOldnameAmbiguityError is an exception raised when
multiple tap formulae available for given old name
2015-08-10 13:57:59 +01:00
Vlad Shablinsky
832c5875b0 add migrator class for migrating renamed formulae 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
Vlad Shablinsky
ae9bf4aaaa formula: add oldname method
- add Formula#oldname to get oldname for formula
- add formula_renames.rb to store information about formula renames
2015-08-10 13:57:58 +01:00
Vlad Shablinsky
d88750652a tap: add formula_renames
- Tap#formula_renames is a method used for getting information
about renames in tap formulae.
2015-08-10 13:57:58 +01:00
CNA-Bld
77ee9bd446 update man page
Closes Homebrew/homebrew#41736.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-10 12:17:26 +01:00
CNA-Bld
56fcfdbea0 update documentation 2015-08-10 12:17:26 +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
CNA-Bld
fda82b0b64 add /Library/PinnedTaps to .gitignore 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
Xu Cheng
df999067d6 ARGV#resolved_formulae: use canonical_name to locate rack
Closes Homebrew/homebrew#42537.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-09 20:09:57 +08: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
Dominyk Tiller
7a13f82297 echoping: to the boneyard
Closes Homebrew/homebrew#42644.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-08-09 03:58:21 +01:00
Viet Hung Nguyen
9a40257a62 Troubleshooting.md: matching parenthesis
Closes Homebrew/homebrew#42653.

Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
2015-08-08 08:26:40 -07: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
Mike McQuaid
7a47102511 Troubleshooting: don't report the update issue plz 2015-08-07 12:20:37 +01: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
Dominyk Tiller
3369c55dc6 languages: support both luas 2015-08-06 18:46:56 +01: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