Jack Nagel
df70d960f8
Assume CVS module name when none is given
2014-12-22 00:43:02 -05:00
Jack Nagel
8a1ed0e748
Allow :module => "name" for CVS URLs
2014-12-22 00:43:02 -05:00
Baptiste Fontaine
69b01772cc
Typo in skip_clean? documentation
...
Closes Homebrew/homebrew#35142 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-12-20 11:41:00 -05:00
Jack Nagel
0344d243e4
Deprecate made-up URL schemes
...
This deprecates URLs that begin with the following fake URL schemes:
bzr://
cvs://
hg://
fossil://
svn+http://
Despite their appearance, they are not actually accepted by the
corresponding tools. They exist only as hints to the download strategy
detection code, and are stripped from the URL before the URL is handed
off to the VCS program.
This is not documented, and may lead one to believe it is a valid URL
that can be used elsewhere, when it actually only works inside Homebrew.
We have a better mechanism for specifying the download strategy that is
straightforward and explicit:
:using => :hg
Recommend that instead.
Closes Homebrew/homebrew#35114 .
2014-12-19 12:28:18 -05:00
Xu Cheng
fff4b83a52
(un)linkapps: allow unlink/link specific formulae.
...
Closes Homebrew/homebrew#35080 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-12-19 16:35:45 +00:00
Jack Nagel
d97daa7c1b
Fix references to url
2014-12-18 20:09:52 -05:00
Jack Nagel
ef48a5e7d7
Deprecate UnsafeSubversionDownloadStrategy
2014-12-18 16:45:15 -05:00
Jack Nagel
eec429b9b6
Add :using => :fossil
2014-12-18 13:06:05 -05:00
Jack Nagel
867a87b50a
Move url munging to initialize
2014-12-18 13:06:05 -05:00
Jack Nagel
ef4347b898
Start versioning cached git clones
2014-12-18 12:57:37 -05:00
Alan Ivey
cec6ee6527
Update brew-services information
...
@gapple has taken the mantle of brew services: https://github.com/Homebrew/homebrew/issues/28657#issuecomment-58318215
Closes Homebrew/homebrew#35090 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-12-18 15:39:37 +00:00
Mike McQuaid
4716ee838e
Revert "Start versioning cached git clones"
...
This reverts commit f4fe50a0958b7b47b32041e11d4943d6ae7d3972.
2014-12-18 13:03:32 +00:00
Jack Nagel
1cfeba04a8
Start versioning cached git clones
2014-12-17 23:18:17 -05:00
Jack Nagel
6096ec9568
Unset LIBRARY_PATH before builds
...
See https://gcc.gnu.org/onlinedocs/gcc/Environment-Variables.html
Closes Homebrew/homebrew-versions#592 .
2014-12-17 14:40:05 -05:00
Jack Nagel
9a2f2aee7e
Use Utils.popen_read to avoid shelling out in a few places
2014-12-16 15:51:57 -05:00
Jack Nagel
8c0928ccca
Use quiet_system to avoid the shell
2014-12-16 15:27:36 -05:00
Jack Nagel
7e20b353a2
Utils.popen_read doesn't doesn't require a block
2014-12-16 15:27:36 -05:00
Kyungdahm Yun
a70a805111
Capitalize descriptions of --HEAD, --devel
...
Closes Homebrew/homebrew#35027 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-12-16 12:22:29 -05:00
Dominyk Tiller
1c3a810830
Documentation Updates
...
Some minor changes to reflect Homebrew/homebrew#34989 , and other bits and pieces.
Closes Homebrew/homebrew#35023 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-12-16 00:41:07 -05:00
Mike McQuaid
2cb5da6916
create: remove formula include.
2014-12-15 07:50:14 +00:00
Jack Nagel
9a89878b75
Revert "Skip temporary directory when target directory is known"
...
This reverts commit 028ee18b851497f8aede55004bcdcc5c16f087cc.
2014-12-14 17:59:35 -05:00
Jack Nagel
5ca4dbfd25
Skip temporary directory when target directory is known
2014-12-14 13:32:55 -05:00
Mike McQuaid
612230a705
doctor: check cache directory is writable.
...
Fixes Homebrew/homebrew#32304 .
Fixes Homebrew/homebrew#34933 .
2014-12-14 10:17:29 +00:00
Jack Nagel
0ed43d607b
Validate arguments in Resource#stage
2014-12-13 23:27:59 -05:00
Xu Cheng
a3000f3ea9
tap-readme: fix indent
...
Closes Homebrew/homebrew#34953 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-12-13 18:14:49 -05:00
Jack Nagel
d91d56555c
Formula#install has public visibility
...
It is called with an explicit receiver in build.rb, so the base class
method should also be public.
2014-12-12 22:31:15 -05:00
Tim D. Smith
997a3b5212
Formula#exec_cmd: coerce arg to string before start_with?
2014-12-12 15:17:35 -08:00
Mike McQuaid
dc1f58dead
unsigned_kext: use binary and cask options now.
2014-12-12 09:52:55 +00:00
Jack Nagel
007926d7a6
Correct external command docs
2014-12-11 21:53:11 -05:00
Dominyk Tiller
42b35b8957
zlib & sqlite3: pkgconfig support
...
native pkg-config support for zlib and sqlite to elimate the need
to pass flags to configure or make stages in formulae.
Closes Homebrew/homebrew#34765 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-12-11 14:44:46 -05:00
Tim D. Smith
df2e570fef
Python docs: use prepend_create_path
...
prepend_path doesn't do anything if path doesn't already exist, so use
prepend_create_path.
2014-12-11 07:55:32 -08:00
Mike McQuaid
56e82c941e
mach: improve otool failure handling.
2014-12-11 13:59:12 +00:00
Mike McQuaid
02e5f8ed6b
mach: handle empty otool output.
2014-12-11 13:23:44 +00:00
Tim D. Smith
c5c4684714
docs: recommend setup_install_args instead of setup_install
...
Closes Homebrew/homebrew#34793 .
2014-12-10 14:20:17 -08:00
Tim D. Smith
65a7a631ea
Language::Python.setup_install: add deprecation warning
2014-12-10 14:18:24 -08:00
Tim D. Smith
fe16f36f3c
Formula#exec_cmd: recognize setuptools shim and refurbish args
2014-12-10 14:18:23 -08:00
Tim D. Smith
99848607b2
Formula#system: hide python setup.py shim in ohai
2014-12-10 14:18:23 -08:00
Tim D. Smith
75535395ac
language/python: setup_install_args
...
Add a helper like std_cmake_args that returns the correct incantation
for invoking setup.py in a consistent way and with our preferred
arguments. Replaces setup_install.
2014-12-10 14:18:23 -08:00
chdiza
720f13d8d5
Cookbook: Fix the link for squashing-instructions
...
Closes Homebrew/homebrew#34859 .
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2014-12-10 11:25:44 -08:00
Jack Nagel
5201411a6d
Provide version reader method
2014-12-10 00:55:26 -05:00
Jack Nagel
0909b12eb9
Prefer cached_location over tarball_path
2014-12-10 00:53:57 -05:00
Jack Nagel
37c636ae18
Reorganize methods in CurlDownloadStrategy
2014-12-10 00:53:57 -05:00
Jack Nagel
00ad37dd84
Add more general support for passing credentials to curl
2014-12-09 22:39:58 -05:00
Jack Nagel
18b8681a7c
Pull strategy for downloading from research.att.com into core
2014-12-09 21:18:01 -05:00
Jack Nagel
1dc4fbdb0b
Provide access to the specs hash indirectly via a meta attribute
2014-12-09 19:59:16 -05:00
Jack Nagel
3e1cc70fb4
Move tool path methods to AbstractDownloadStrategy
2014-12-09 16:46:28 -05:00
Jack Nagel
bec5e0671f
Use quiet_safe_system to silence CVS checkouts
2014-12-09 16:03:14 -05:00
Jack Nagel
e9c368b92e
Include FileUtils in AbstractDownloadStrategy
2014-12-09 15:55:28 -05:00
Jack Nagel
ddf6f51776
Prefer cached_location method over @clone ivar
2014-12-09 14:22:44 -05:00
Jack Nagel
90f938dc86
Stop returning a path from CurlDownloadStrategy#fetch
...
Download strategies do not consistently return a value from `fetch`, so
our code calls `cached_location` to get the path instead.
2014-12-09 12:47:10 -05:00