Vlad Shablinsky
2c1d8bcf65
migrator: check if old_opt_record exist before using realpath
...
- check if old_opt_record exist before using realpath
- don’t check old_opt_record.exist? in link_old_opt
because it doesn’t have to exist.
2015-08-15 20:16:31 +08:00
Xu Cheng
3c45e1e81d
update: only compute tapd_basename when necessary
2015-08-15 18:32:22 +08:00
Xu Cheng
0bf2f92f46
outdated: remove unnecessary nested if
2015-08-15 16:18:17 +08:00
Xu Cheng
8a766c4768
Formulary.to_rack: follow the symlink
2015-08-15 16:12:42 +08:00
Xu Cheng
c518e50320
install: f.oldname can be nil
2015-08-15 15:56:57 +08:00
Tim D. Smith
3a535ed36b
make path instead of symlink for lib/R
...
Moves us towards being able to support formulae that install R bindings,
like nonpareil in homebrew-science.
Some discussion in Homebrew/homebrew-science#2559 .
Closes Homebrew/homebrew#42539 .
2015-08-15 00:14:38 -07:00
Mike McQuaid
02d8bfe10b
install: mention if installed formula isn't migrated.
...
Closes Homebrew/homebrew#42940 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-14 15:18:45 +01:00
Mike McQuaid
49dce3e7ae
outdated: check if formula needs to be migrated.
...
Closes Homebrew/homebrew#42938 .
2015-08-14 15:18:45 +01:00
Baptiste Fontaine
3d7c38c736
doctor: suggest to install git if the system one is outdated
...
Closes Homebrew/homebrew#42934 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-08-14 12:06:57 +02:00
Xu Cheng
5414597913
cleanup: avoid duplicated logic
...
Closes Homebrew/homebrew#42900 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-14 15:52:57 +08:00
Xu Cheng
203cecb463
add Formula.racks
...
Also exclude symlink when enumerating installed racks.
2015-08-14 15:52:56 +08:00
Vlad Shablinsky
c7a484824c
ocaml: rename from objective-caml
...
Closes Homebrew/homebrew#42851 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-14 08:42:07 +01:00
Xu Cheng
d5535bf564
doc: use relative links
2015-08-13 18:00:24 +08:00
Mike McQuaid
83ab0acfc0
test-bot: remove custom $HOME on --cleanup.
2015-08-13 10:55:29 +01:00
Mike McQuaid
15c3fb32b2
cleanup: remove SCM directories recursively.
2015-08-13 10:34:45 +01:00
Mike McQuaid
04b350dce5
cleanup: do cleanup even without a Cellar.
2015-08-13 10:31:37 +01:00
Mike McQuaid
e49a043401
cleanup: remove more on --force or --prune.
...
Remove more logs, use the prune time period and remove version control
checkouts when --force or --prune is used.
2015-08-13 10:22:28 +01:00
Mike McQuaid
2fc88ae247
test-bot: prune cache after 7 days.
...
Closes Homebrew/homebrew#42892 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-13 08:57:20 +01:00
Xu Cheng
638eda5f2d
tap-info: fix for not installed tap
...
Closes Homebrew/homebrew#42890 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-13 15:49:46 +08:00
Alex Dunn
55d685f759
caveats.rb: don't print elisp_caveats for keg-only
...
Since they won't have been installed into `#{HOMEBREW_PREFIX}/share/emacs/site-lisp/`
Closes Homebrew/homebrew#42839 .
2015-08-12 09:38:10 -07:00
Dominyk Tiller
250e975645
example_formula: document pkgshare
2015-08-12 16:09:24 +01:00
Dominyk Tiller
bb4237a230
cookbook: document pkgshare
2015-08-12 15:58:23 +01:00
Vlad Shablinsky
aa394bad69
racket: rename from plt-racket.
...
Closes Homebrew/homebrew#42800 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-11 21:03:33 +01:00
Dominyk Tiller
fbfaa8a39a
man: sha1 => sha256 reference
...
Closes Homebrew/homebrew#42507 .
2015-08-11 20:36:13 +01:00
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