Xu Cheng
8f0249e9a1
handle mxcl/master synonym inside Tab#from_file_content
2015-08-02 16:12:14 +08:00
Alex Dunn
8faaba6665
check_emacs_lisp(): bail unless site-lisp exists
...
Closes Homebrew/homebrew#42345 .
2015-08-01 15:52:54 -07:00
Alex Dunn
81eedecc5a
Automatic caveats for emacs lisp files
...
- The name of the subdirectory under site-lisp may not be exactly the
same as the name of the package
- `(normal-top-level-add-subdirs-to-load-path)` adds every subdirectory
of `default-directory` to the load-path, so users don't have to update
their load-path for every package they install.
Closes Homebrew/homebrew#42309 .
2015-08-01 14:48:54 -07:00
Alex Dunn
607be5e711
formula_cellar_checks: check_site_lisp()
2015-08-01 14:48:54 -07:00
Mike McQuaid
ce5e75953a
googlecl: move to homebrew/boneyard.
...
Closes Homebrew/homebrew#42245 .
2015-08-01 15:17:43 +01:00
Dominique Orban
68a13b240f
formula: define opt_pkgshare helper method.
...
Closes Homebrew/homebrew#42023 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-01 15:12:46 +01: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
aa28226423
tab: set stable as default spec
...
Fixes Homebrew/homebrew#42297 .
2015-07-31 20:08:44 +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
8054161153
test_tab: add test for Tab#spec
...
Fixes Homebrew/homebrew#42147 .
Closes Homebrew/homebrew#42205 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-31 19:44:07 +08:00
Xu Cheng
a9e71ca905
test_formula: add more test
2015-07-31 19:44:03 +08:00
Xu Cheng
640109f73d
ARGV#resolved_formulae: auto resolve spec
2015-07-31 19:44:03 +08:00
Xu Cheng
be9fde6266
Formulary#from_rack: auto resolve spec
2015-07-31 19:44:02 +08:00
Xu Cheng
773db6a3ba
ARGV#spec: allow pass default value
2015-07-31 19:44:02 +08:00
Xu Cheng
21eecbf1d6
Formula: add set_acitve_spec method
2015-07-31 19:44:02 +08:00
Xu Cheng
03facd8554
Formula: add any_version_installed? method
2015-07-31 19:44:01 +08:00
Xu Cheng
8f5f27358a
Formula#installed_prefix: use PkgVersion
...
Also check stable_prefix when current acitve_spec is not :stable
2015-07-31 19:44:01 +08:00
Xu Cheng
5aa6b5c5fa
Formula#pkg_version: return the result based on current active_spec
2015-07-31 19:44:01 +08:00
Xu Cheng
78442232d0
Formula: add active_spec_sym
2015-07-31 19:44:00 +08:00
Xu Cheng
808729e7ff
Tab: store spec of formula
2015-07-31 19:44:00 +08:00
Dominyk Tiller
46d45677cc
xcode: update clang expectation for 10.11
2015-07-30 18:13:41 +01:00
Dominyk Tiller
639329cf80
xcode: update regex
...
Ensures we capture Clang's fourth-digit when it exists. This seems to be on pre-release
versions of OS X only, but is the cause of the misdetection of CLT up-to-date status
on 10.11 several weeks ago.
For full explanation, see Homebrew/homebrew#42261 .
Closes Homebrew/homebrew#42261 .
2015-07-30 18:07:07 +01: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
Xu Cheng
8c7b629149
formula_installer: relocate bottle immediately after it's poured
...
Closes Homebrew/homebrew#42268 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-30 20:11:19 +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
Alex Dunn
1280d0fcc7
blacklist: remove screen, libpcap, libiconv
...
Each has a formula in homebrew/dupes now
Closes Homebrew/homebrew#42212 .
2015-07-29 10:08:36 -07:00
Xu Cheng
3e8be58cdf
yardopts: stop documenting compat codes
...
Closes Homebrew/homebrew#42243 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-29 20:42:25 +08:00
Xu Cheng
70025458f3
interactive_shell: create .zshrc when necessary
...
Closes Homebrew/homebrew#42190 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-29 16:23:10 +08:00
Xu Cheng
274f21388e
Revert "formula: create empty zshrc when zsh is shell"
...
This reverts commit be55c800d0bf2750902df71d092906b49b49ffce.
2015-07-29 16:23:10 +08:00
Baptiste Fontaine
ea08e4fb16
KegOnlyReason: print only the explanation if there’s one
...
Closes Homebrew/homebrew#42073 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-07-28 20:40:28 +02:00
Baptiste Fontaine
ea13d62ce0
brew: print bug report URL for internal commands only
...
Closes Homebrew/homebrew#42069 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-07-28 20:38:13 +02:00
Mike McQuaid
0c47c8f864
test_integration_cmds: basic integration tests.
...
Closes Homebrew/homebrew#41945 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-28 10:57:56 +01:00
Mike McQuaid
09acae83a6
.simplecov: use lower root directory.
2015-07-28 10:57:56 +01:00
Mike McQuaid
95658a5beb
Move simplecov configuration to dotfile.
2015-07-28 10:57:56 +01:00
Mike McQuaid
76a0b1d494
test/lib/config: HOMEBREW_LIBRARY_PATH is normally a Pathname.
2015-07-28 10:57:55 +01:00
Mike McQuaid
00a9c61b43
testball: use sha256.
2015-07-28 10:57:55 +01:00
Mike McQuaid
5256d406de
testing_env: point to bundle install
now.
2015-07-28 10:57:55 +01:00
Leo Soares
ce2596a22d
Interesting-Taps-&-Branches: update homebrew-avr link
...
Closes Homebrew/homebrew#42136 .
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-07-27 05:39:51 +01:00
Edgar Gonzalez
fbb8efbd66
Fix typo in UnsatisfiedRequirements exception message
...
Closes Homebrew/homebrew#42125 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-07-26 09:19:22 +02:00
Xu Cheng
cc91273f8b
caveats: fix extra empty line
2015-07-25 15:07:10 +08:00
Baptiste Fontaine
ca1f5dc713
more unit tests
...
Closes Homebrew/homebrew#42096 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-07-25 00:00:30 +02: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
1845706187
formula_installer: better priority for pour_bottle?
2015-07-24 16:08:44 +08:00
Dominyk Tiller
4625fd335c
formula: create empty zshrc when zsh is shell
...
One minor consequence of our seizing of the HOME variable during builds for
sandboxing purposes is that if you're doing an interactive or git installation
zsh flags up that it hasn't found any config files and throws you into the
`zsh-newuser-install` area.
Not really a problem, just a nuisance.
Since the check is just for existence rather than content, we can work around
this by creating an empty config file when the `SHELL` environmental variable
includes zsh.
2015-07-24 09:01:34 +01:00
Xu Cheng
b1fff32055
BottleLoader: check version mismatch
...
Closes Homebrew/homebrew#42049 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-24 15:59:28 +08:00
Xu Cheng
602ea66a0f
bottle_resolve_version: return PkgVersion
2015-07-24 15:59:28 +08:00
Dominyk Tiller
2751449abb
formula_installer: tweak priority of true
...
Closes Homebrew/homebrew#41913 .
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-07-23 22:29:31 +01: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
Dominyk Tiller
b06af00d76
formula_installer: don't flag fs builds
2015-07-23 22:28:07 +01:00