7494 Commits

Author SHA1 Message Date
Xu Cheng
ec4011a46e Formula#installed: loading using Formulary.from_rack
Also handle TapFormulaAmbiguityError
2015-05-27 13:53:40 +08:00
Xu Cheng
647c7626f0 Formulary: add from_rack 2015-05-27 13:53:40 +08:00
Xu Cheng
e91d152af8 Formulary#canonical_name: handle TapFormulaAmbiguityError
If there are multiple tap formulae with the name of ref,
then ref is the canonical name
2015-05-27 13:53:40 +08:00
Xu Cheng
074de88a9b update manpage 2015-05-27 13:53:40 +08:00
Xu Cheng
171c3dd2d9 tap/untap/update/prune: remove obsolete method, add migrate_taps 2015-05-27 13:53:40 +08:00
Xu Cheng
e2b0bca931 add Formula.core_names Formula.tap_names and Formula.full_names 2015-05-27 13:53:40 +08:00
Xu Cheng
811c4c5add load tap formula through direct search 2015-05-27 13:53:40 +08:00
Xu Cheng
3a3a49bd93 add Formulary.core_path method, deprecate Formula.path 2015-05-27 13:53:40 +08:00
Xu Cheng
3108fb5d22 BottleLoader: using Formulary.path to search formula file 2015-05-27 13:53:40 +08:00
Ryan Hendrickson
a744da3b4c superenv cc: accept single-digit g++ version
Closes Homebrew/homebrew#40117.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-05-26 20:13:25 -04:00
Jack Nagel
be0a1e7635 Check empty? to avoid introducing nils
[].last => nil
[].max => nil
2015-05-26 19:51:30 -04:00
Dominyk Tiller
13540f85ab man: regenerate man for Homebrew/homebrew#39447 2015-05-26 20:40:27 +01:00
Larry Gilbert
5345c06e63 More explanation of HOMEBREW_{CELLAR,PREFIX,REPOSITORY}
Closes Homebrew/homebrew#39447.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-05-26 20:37:58 +01:00
Mike McQuaid
dd1a9e11ab README: add new maintainers. 2015-05-26 16:13:54 +01:00
Mike McQuaid
d8f9552cab bottle: handle nil bottle revision case. 2015-05-26 15:49:39 +01:00
Ian Lancaster
c327fdafa9 bottle: discard bottle revision from prior pkg_version
Closes Homebrew/homebrew#38628.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-05-26 19:21:15 +08:00
Mike McQuaid
cd63b740a5 Formula-Cookbook: add description field. 2015-05-26 10:00:43 +01:00
Ryan Hendrickson
798711cade Use canonical representation of the superenv bin directory
The xcrun script should be skipping the ENV directory when it scans
$PATH looking for tools to run. Unfortunately, the script compares the
paths found to the real path of the ENV directory (following symlinks),
but superenv was adding the nominal path to $PATH, not following
symlinks. As a consequence, platforms with Xcode < 4.3 would get into
infinite loops when trying to call non-system versions of gcc, as xcrun
calls the ENV version of gcc-X.X which calls xcrun and so on forever.

This commit changes superenv to follow symlinks when determining the bin
path to use.

Fixes Homebrew/homebrew#33731.
Closes Homebrew/homebrew#40062.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-05-25 22:01:12 -04:00
Nikolaus Wittenstein
664c8deaab example-formula.rb has a 'desc'
Closes Homebrew/homebrew#39911.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-05-25 17:23:51 +01:00
Nikolaus Wittenstein
f1ed19d96b brew create adds a desc field to the new formula 2015-05-25 17:23:50 +01:00
Nikolaus Wittenstein
39498af1c6 audit looks for and validates 'desc' 2015-05-25 17:23:50 +01:00
Nikolaus Wittenstein
148cafa9cd brew search can take a --desc argument to search descriptions 2015-05-25 17:23:50 +01:00
Nikolaus Wittenstein
5e73e68ab1 Info shows the desc if present 2015-05-25 17:23:50 +01:00
Nikolaus Wittenstein
86365470e6 Add a desc field to Formula 2015-05-25 17:23:49 +01:00
Xu Cheng
60f2377853 audit: formula version string should have digit
Closes Homebrew/homebrew#40025.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-05-24 20:07:44 +08:00
Xu Cheng
78ccd41251 audit: add rules for non-ascii character and encoding comment
Closes Homebrew/homebrew#40042.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-05-24 20:07:33 +08:00
Xu Cheng
e4ff0a2f2e audit: move audit_java_home inside audit_line 2015-05-24 16:27:54 +08:00
Xu Cheng
cc0c9cf619 audit: don't complain ENV.fortran if depends_on :fortran
Fix the audit problem in Homebrew/homebrew#40000.

Closes Homebrew/homebrew#40012.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-05-23 19:40:55 +08:00
Dominyk Tiller
df246cba44 lilypond: move to homebrew/tex
Re https://github.com/Homebrew/homebrew-tex/pull/4#issuecomment-104186361

Closes Homebrew/homebrew#39973.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-05-22 11:20:55 +01:00
Jack Nagel
e398e4519d Add test demonstrating installing a relative symlink 2015-05-21 20:43:38 -04:00
Dominyk Tiller
ad467f0386 os: support xcode 6.3.2
Closes Homebrew/homebrew#39909.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-05-21 13:55:02 +01:00
Xu Cheng
8b57871220 uses/deps: fix for recursive deps/reqs
Closes Homebrew/homebrew#39906.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-05-20 16:29:15 +08:00
Xu Cheng
cacad69a8e uses: make skip arguments work for requirement 2015-05-20 16:29:15 +08:00
Xu Cheng
2ea9d7749b non_apple_gcc_version: support gcc5
Closes Homebrew/homebrew#39899.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-05-19 16:10:17 +08:00
Olivier Mengué
4d2da9ebd1 Gems,-Eggs-and-Perl-Modules: link to MetaCPAN
Link to MetaCPAN.org instead of search.cpan.org. MetaCPAN is the community-maintained web portal to CPAN, while search.cpan.org is the historic but proprietary one.

Closes Homebrew/homebrew#39836.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-05-18 13:02:21 +01:00
Xu Cheng
471c5502f5 test-bot: don't complain bottle errors when installing gcc and hg
Closes Homebrew/homebrew#39626.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-05-18 19:48:06 +08:00
Xu Cheng
ae41a51976 test-bot: unlink conflicted formulae 2015-05-18 19:48:06 +08:00
Larry Gilbert
522711f6ba dupx: retire to the boneyard
GDB is a requirement, but GDB lives in the homebrew/dupes tap now,
so dupx cannot stay in core.

Closes Homebrew/homebrew#39332.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-05-18 09:03:46 +01:00
Jack Nagel
703d8a1aa3 Revert "Remove conditional"
This method may see values originating HOMEBREW_CC.

This reverts commit 9c74f42962090c016143744b057e13aa75d9b13e.
2015-05-17 19:22:08 -04:00
なつき
3649b31765 ENV: Add gcc-5 to compilers support C++11
Closes Homebrew/homebrew#39758.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-05-16 11:16:55 -04:00
Mike McQuaid
14981e6265 How to Open A PR: clarify one commit per formula. 2015-05-15 09:35:36 +01:00
Shaun Jackman
cf757b001d datamash: move to homebrew/science.
See Homebrew/homebrew-science#2261

Closes Homebrew/homebrew#39736.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-05-15 09:11:05 +01:00
Misty De Meo
c72877cc82 Stop supporting Leopard
Is this really Misty?!
2015-05-14 20:58:49 -07:00
Jack Nagel
bf4dc7449b Clear GOPATH and GOROOT in build environment
Fixes Homebrew/homebrew#37936.
2015-05-14 20:04:45 -04:00
Dominyk Tiller
e4db0adf54 doctor: add homebrew_temp sticky bit check
Adds a small check to the Doctor command to ensure HOMEBREW_TEMP
has a sticky bit set. This has become a significant issue lately.

Closes Homebrew/homebrew#39735
Original issue: Homebrew/homebrew#39170

Closes Homebrew/homebrew#39739.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-05-14 21:24:49 +01:00
Viktor Szakats
a054005883 audit: fix two message typos
Originally submitted as part of https://github.com/Homebrew/homebrew/pull/38824/files,
later reverted due another hunk.

Closes Homebrew/homebrew#39753.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-05-14 21:24:49 +01:00
Mike McQuaid
0a2dd832b9 Install specific Rubocop version.
Closes Homebrew/homebrew#39620.
2015-05-14 16:05:00 +01:00
Mike McQuaid
7d88c110f6 test-bot: rerun brew update if it fails. 2015-05-14 09:40:53 +01:00
Mike McQuaid
d78686b421 SUPPORTERS.md: add another backer URL. 2015-05-14 08:53:07 +01:00
Mike McQuaid
d05d185d2e test-bot: cleanup more locks. 2015-05-14 08:45:39 +01:00