33 Commits
Author SHA1 Message Date
Misty De Meo b7ab6258bd Merge pull request #569 from mistydemeo/go_conservative_git
Refuse to try git installs on old OS Xs due to TLS
2018-02-25 19:11:27 -08:00
Misty De Meo e07ad06218 Use a vendored curl to download Homebrew itself 2018-02-25 19:10:23 -08:00
Misty De Meo e95122b2ed Refuse to try git installs on old OS Xs due to TLS 2018-02-25 18:28:24 -08:00
Misty De Meo ec03093c9f Add and use which helper
/usr/bin/which continues to be deficient on Tiger.
Hopefully fixes #99.
2013-07-09 22:30:07 -07:00
Misty De Meo c99a6eeb5d Don't use pipefail on Tiger
See #99.
2013-07-09 22:26:01 -07:00
Misty De Meo ea6efcee38 Fix repo name 2013-07-09 22:25:49 -07:00
Misty De Meo 73358e23e3 Don't bother checking git version if none found 2013-07-09 18:36:58 -07:00
Misty De Meo 30c8bc76a9 Fix shebang in install script
The framework Ruby path was missed, and won't exist on Tiger.
2013-07-09 18:28:27 -07:00
Misty De Meo 8ea3518f3c Merge remote-tracking branch 'mxcl/go' into go
Conflicts:
	install
2013-07-08 23:30:51 -07:00
Misty De Meo 7583cc83dd Curl flags: <= 10.5
So I can be lazy and not change this downstream
2013-07-08 22:50:37 -07:00
Misty De Meo 3c567164a9 Don't try to install from git if git is too old
This came up in tigerbrew, where the install failed for a user with
git 1.6.x: https://github.com/mistydemeo/tigerbrew/issues/9

TODO Given that this left the user with a chowned /usr/local but no
functional homebrew install, there should still be better error
handling here.

Fixes mistydemeo/tigerbrew#9.
Fixes #20945.
Closes #18666.
2013-07-08 22:49:35 -07:00
Misty De Meo 8cc6d6d413 Update clang regex for build 425
Regex borrowed from MacOS.clang_build_version.

Fixes #18755.
2013-03-26 20:38:50 -05:00
Jack Nagel 9e8ffa941b Only use curl -k on Leopard 2013-02-28 18:04:11 -06:00
Misty De Meo 7c85b33f39 Replace sceaga/homebrew with mistydemeo/tigerbrew
@sceaga has discontinued his fork of homebrew.
2012-12-27 21:59:31 -04:00
Misty De Meo 652253d4f2 Don't use pipefail
Sadly pipefail is not supported in the shells provided on Tiger. :(
2012-12-27 19:32:51 -06:00
Misty De Meo 67c8bb6bbd Update "MacOS too old" text 2012-12-27 19:21:43 -06:00
Misty De Meo 6c81a0eeee Remove xcrun invocation
The xcrun tool doesn't exist on Xcode 2.5, and at any rate in this
era tools like git weren't stashed away somewhere funny.
2012-12-27 19:14:22 -06:00
Misty De Meo 3d0cec5da4 Sorry sorry sorry!
Accidentally pushed to the wrong remote... could have sworn
my own was set as the default.

This reverts commit b67e685620.
2012-12-19 21:17:27 -06:00
Misty De Meo 998827aa4b Change Xcode URL 2012-12-19 21:15:11 -06:00
Misty De Meo fa8bede1ff mxcl/homebrew => mistydemeo/tigerbrew 2012-12-19 21:14:39 -06:00
Misty De Meo a9cdd58a00 Change version guard to allow Tiger 2012-12-19 21:08:56 -06:00
Misty De Meo b67e685620 Replace shebang
Tiger doesn't have a Framework ruby and needs a /usr/bin/ruby shebang.
2012-12-19 21:07:39 -06:00
Charlie Sharpsteen 0019042efd Notify user of how to abort installation
Notify users that hitting any key other than ENTER will abort the installer.
2012-09-24 16:34:29 -05:00
Charlie Sharpsteen 5608ad6dae Check all file modes, not just writable
We run a `chmod g+rwx` to set read, write and execute permissions but only use
`File.writable?` to detect which directories need this. Since we are setting
read and execute permissions, we should also use `File.readable?` and
`File.executable?`.
2012-09-24 16:31:51 -05:00
Charlie Sharpsteen 96905ebc24 Abort if the HOMEBREW_PREFIX is not searchable
Without executable permissions on the prefix directory, permissions tests such
as `File.writable?` will fail and `File.chdir` will die with a strange error.

Fixes #14996.
2012-09-24 16:29:29 -05:00
Charlie Sharpsteen 94dbaf00d1 Abstract installation into a variable
The installation prefix is now stored in `HOMEBRW_PREFIX` which makes it easier
to adapt the installation script or to temporarily re-direct the installation
for testing purposes.
2012-09-24 15:57:29 -05:00
Max Howell 9615b760a4 Fix xcrun usage
Fixes #14511.
2012-08-29 11:29:05 -04:00
Max Howell ff9a35d980 Only fetch master branch 2012-08-29 08:57:27 -04:00
Max Howell 2396c57a6c Fix detecting CLT installation 2012-08-29 08:41:24 -04:00
Max Howell 17cfa811ca Better message if /usr/local/.git exists 2012-08-29 08:41:08 -04:00
Max Howell ae26703cdb Instead of pulling, fetch and hard-reset
Should prevent merge trouble.
2012-08-29 08:40:48 -04:00
Max Howell feb8cbcfd2 Clone with git, if possible
Also, --fast clones without history. Much faster, and I'd make this the default, if I could figure out how to pull all the remaining history and thus recommend this for users who want to use `brew versions` etc.
2012-08-14 12:11:48 -04:00
Max Howell 40768b5885 Existing install script moved to go branch
So our install one-liner can be neater.

Other scripts could now go here.
2012-08-01 12:18:11 -04:00
3782 changed files with 226 additions and 180148 deletions

No files matched your search

-26
View File
@@ -1,26 +0,0 @@
/*
!/.gitignore
!/.travis.yml
!/.yardopts
!/Library/
!/CODEOFCONDUCT.md
!/CONTRIBUTING.md
!/LICENSE.txt
!/README.md
!/SUPPORTERS.md
!/bin
/bin/*
!/bin/brew
!/share/doc/homebrew
!/share/man/man1/brew.1
.DS_Store
/Library/Homebrew/doc
/Library/Homebrew/test/.bundle
/Library/Homebrew/test/bin
/Library/Homebrew/test/vendor
/Library/Homebrew/test/coverage
/Library/Homebrew/test/fs_leak_log
/Library/LinkedKegs
/Library/PinnedKegs
/Library/Taps
/Library/PinnedTaps
-34
View File
@@ -1,34 +0,0 @@
# Force OS X.
language: objective-c
matrix:
include:
- env: OSX=10.11
os: osx
osx_image: osx10.11
rvm: system
- env: OSX=10.10
os: osx
osx_image: xcode7
rvm: system
- env: OSX=10.9
os: osx
osx_image: beta-xcode6.2
rvm: system
before_install:
- export TRAVIS_COMMIT=$(git rev-parse --verify -q HEAD)
- cd /usr/local
- sudo rm -rf /usr/local/.git/refs /usr/local/.git/packed-refs
- sudo rsync -az "$TRAVIS_BUILD_DIR/" /usr/local/
- export TRAVIS_BUILD_DIR="/usr/local"
- sudo chown -R $USER /usr/local
- env | grep TRAVIS_
- if [ -f ".git/shallow" ]; then travis_retry git fetch --unshallow; fi
- git reset --hard $TRAVIS_COMMIT
- git clean -qxdff
script:
- brew test-bot
notifications:
email: false
-13
View File
@@ -1,13 +0,0 @@
--title "Homebrew"
--main Library/Homebrew/README.md
--markup markdown
--no-private
--exclude Library/Homebrew/test/
--exclude Library/Homebrew/vendor/
--exclude Library/Homebrew/compat/
Library/Homebrew/**/*.rb
-
share/doc/homebrew/*.html
Library/Homebrew/*.md
share/doc/homebrew/*.md
*.md
-25
View File
@@ -1,25 +0,0 @@
# Code of Conduct
The Tigerbrew community is made up of members from around the globe with a diverse set of skills, personalities, and experiences. It is through these differences that our community experiences great successes and continued growth. When you're working with members of the community, we encourage you to follow these guidelines which help steer our interactions and strive to keep Tigerbrew a positive, successful, and growing community.
A member of the Tigerbrew community is:
## Open
Members of the community are open to collaboration, whether it's on GitHub, email, IRC or otherwise. We're receptive to constructive comment and criticism, as the experiences and skill sets of other members contribute to the whole of our efforts. We're accepting of all who wish to take part in our activities, fostering an environment where anyone can participate and everyone can make a difference.
## Considerate
Members of the community are considerate of their peers - other Tigerbrew users. We're thoughtful when addressing the efforts of others, keeping in mind that oftentimes their labor was completed simply for the good of the community. We're attentive in our communications, whether in person or online, and we're tactful when approaching differing views.
## Respectful
Members of the community are respectful. We're respectful of others, their positions, their skills, their commitments, and their efforts. We're respectful of the volunteer efforts that permeate the Tigerbrew community. We're respectful of the processes set forth in the community, and we work within them. When we disagree, we are courteous in raising our issues.
Overall, we're good to each other. We contribute to this community not because we have to, but because we want to. If we remember that, these guidelines will come naturally.
# Diversity
The Tigerbrew community welcomes and encourages participation by everyone. Our community is based on mutual respect, tolerance, and encouragement, and we are working to help each other live up to these principles. We want our community to be more diverse: whoever you are, and whatever your background, we welcome you.
We have created this diversity statement because we believe that a diverse Tigerbrew community is stronger and more vibrant. A diverse community where people treat each other with respect has more potential contributors and more sources for ideas.
Although we have phrased the formal diversity statement generically to make it all-inclusive, we recognise that there are specific attributes that are used to discriminate against people. In alphabetical order, some of these attributes include (but are not limited to): age, culture, ethnicity, gender identity or expression, national origin, physical or mental difference, politics, race, religion, sex, sexual orientation, socio-economic status, and subculture. We welcome people regardless of the values of these or other attributes.
# Attribution
This code of conduct is heavily based on the [Python Community Code of Conduct](https://www.python.org/psf/codeofconduct/) and the [Python Diversity Statement](https://www.python.org/community/diversity/).
-28
View File
@@ -1,28 +0,0 @@
# Contributing to Tigerbrew
## Reporting Bugs
First, please run `brew update` and `brew doctor`.
Second, read the [Troubleshooting Checklist](https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Troubleshooting.md#troubleshooting).
**If you don't read these it will take us far longer to help you with your problem.**
## Security
Please report security issues to security@brew.sh.
## Contributing
Please read:
* [Code of Conduct](https://github.com/Homebrew/homebrew/blob/master/CODEOFCONDUCT.md#code-of-conduct)
* [Formula Cookbook](https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Formula-Cookbook.md#formula-cookbook)
* [Acceptable Formulae](https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Acceptable-Formulae.md#acceptable-formulae)
* [Ruby Style Guide](https://github.com/styleguide/ruby)
* [How To Open a Homebrew Pull Request (and get it merged)](https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/How-To-Open-a-Homebrew-Pull-Request-(and-get-it-merged).md#how-to-open-a-homebrew-pull-request-and-get-it-merged)
Tigerbrew guidelines
--------------------
* Check [the wiki](https://github.com/mistydemeo/tigerbrew/wiki/Tigerbrew-features) for information on Tigerbrew-specific features, like determining PPC CPU type.
* Don't break Intel builds when contributing PPC fixes. We support Intel Tiger, and in general try to avoid breaking anything that works in Homebrew.
* Try to avoid breaking builds on newer OSs when you submit fixes for Tiger and Intel.
-22
View File
@@ -1,22 +0,0 @@
Copyright 2009-2015 Homebrew contributors.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-129
View File
@@ -1,129 +0,0 @@
AllCops:
Exclude:
- 'Homebrew/vendor/**/*'
- 'Homebrew/test/vendor/**/*'
# 1.8-style hash keys
Style/HashSyntax:
EnforcedStyle: hash_rockets
# ruby style guide favorite
Style/StringLiterals:
EnforcedStyle: double_quotes
# consistency with above
Style/StringLiteralsInInterpolation:
EnforcedStyle: double_quotes
# percent-x is allowed for multiline
Style/CommandLiteral:
EnforcedStyle: mixed
# paths abound, easy escape
Style/RegexpLiteral:
EnforcedStyle: slashes
# no metrics for formulas
Metrics/AbcSize:
Enabled: false
Metrics/CyclomaticComplexity:
Enabled: false
Metrics/MethodLength:
Enabled: false
Metrics/ClassLength:
Enabled: false
Metrics/PerceivedComplexity:
Enabled: false
# we often need very long lines
Metrics/LineLength:
Enabled: false
# formulas have no mandatory doc
Style/Documentation:
Enabled: false
# favor parens-less DSL-style arguments
Lint/AmbiguousOperator:
Enabled: false
Lint/AmbiguousRegexpLiteral:
Enabled: false
Lint/AssignmentInCondition:
Enabled: false
Lint/ParenthesesAsGroupedExpression:
Enabled: false
# compact style
Style/EmptyLineBetweenDefs:
AllowAdjacentOneLineDefs: true
# port numbers and such tech stuff
Style/NumericLiterals:
Enabled: false
# consistency and readability when faced with string interpolation
Style/PercentLiteralDelimiters:
PreferredDelimiters:
'%': '()'
'%i': '()'
'%q': '()'
'%Q': '()'
'%r': '{}'
'%s': '()'
'%w': '[]'
'%W': '[]'
'%x': '()'
# conflicts with DSL-style path concatenation with `/`
Style/SpaceAroundOperators:
Enabled: false
# not a problem for typical shell users
Style/SpecialGlobalVars:
Enabled: false
# `system` is a special case and aligns on second argument
Style/AlignParameters:
Enabled: false
# counterproductive in formulas, notably within the install method
Style/GuardClause:
Enabled: false
Style/IfUnlessModifier:
Enabled: false
# dashes in filenames are typical
# TODO: enforce when rubocop has fixed this
# https://github.com/bbatsov/rubocop/issues/1545
Style/FileName:
Enabled: false
# no percent word array, being friendly to non-ruby users
# TODO: enforce when rubocop has fixed this
# https://github.com/bbatsov/rubocop/issues/1543
Style/WordArray:
Enabled: false
Style/UnneededCapitalW:
Enabled: false
# we use raise, not fail
Style/SignalException:
EnforcedStyle: only_raise
# we prefer compact if-else-end/case-when-end alignment
Lint/EndAlignment:
AlignWith: variable
Style/CaseIndentation:
IndentWhenRelativeTo: end
# we prefer Perl-style regex back references
Style/PerlBackrefs:
Enabled: false
# this is required for Ruby 1.8
Style/DotPosition:
EnforcedStyle: trailing
# makes diffs nicer
Style/TrailingComma:
EnforcedStyleForMultiline: consistent_comma
-1
View File
@@ -1 +0,0 @@
../Formula/zeromq.rb
-1
View File
@@ -1 +0,0 @@
../Formula/fourstore.rb
-1
View File
@@ -1 +0,0 @@
../Formula/libsamplerate.rb
-1
View File
@@ -1 +0,0 @@
../Formula/caf.rb
-1
View File
@@ -1 +0,0 @@
../Formula/gnome-icon-theme.rb
-1
View File
@@ -1 +0,0 @@
../Formula/the_silver_searcher.rb
-1
View File
@@ -1 +0,0 @@
../Formula/freealut.rb
-1
View File
@@ -1 +0,0 @@
../Formula/android-sdk.rb
-1
View File
@@ -1 +0,0 @@
../Formula/activemq.rb
-1
View File
@@ -1 +0,0 @@
../Formula/fop.rb
-1
View File
@@ -1 +0,0 @@
../Formula/stash-cli.rb
-1
View File
@@ -1 +0,0 @@
../Formula/auto-scaling.rb
-1
View File
@@ -1 +0,0 @@
../Formula/cloud-watch.rb
-1
View File
@@ -1 +0,0 @@
../Formula/aws-elasticbeanstalk.rb
-1
View File
@@ -1 +0,0 @@
../Formula/beanstalk.rb
-1
View File
@@ -1 +0,0 @@
../Formula/boost-build.rb
-1
View File
@@ -1 +0,0 @@
../Formula/bigdata.rb
-1
View File
@@ -1 +0,0 @@
../Formula/bdw-gc.rb
-1
View File
@@ -1 +0,0 @@
../Formula/boost-build.rb
-1
View File
@@ -1 +0,0 @@
../Formula/boot2docker.rb
-1
View File
@@ -1 +0,0 @@
../Formula/screenbrightness.rb
-1
View File
@@ -1 +0,0 @@
../Formula/bazaar.rb
-1
View File
@@ -1 +0,0 @@
../Formula/commonmark.rb
-1
View File
@@ -1 +0,0 @@
../Formula/cowsay.rb
-1
View File
@@ -1 +0,0 @@
../Formula/cpanminus.rb
-1
View File
@@ -1 +0,0 @@
../Formula/csv-fix.rb
-1
View File
@@ -1 +0,0 @@
../Formula/ctags.rb
-1
View File
@@ -1 +0,0 @@
../Formula/berkeley-db.rb
-1
View File
@@ -1 +0,0 @@
../Formula/d-bus.rb
-1
View File
@@ -1 +0,0 @@
../Formula/deja-gnu.rb
-1
View File
@@ -1 +0,0 @@
../Formula/eye-d3.rb
-1
View File
@@ -1 +0,0 @@
../Formula/fcgi.rb
-1
View File
@@ -1 +0,0 @@
../Formula/fish.rb
-1
View File
@@ -1 +0,0 @@
../Formula/fluid-synth.rb
-1
View File
@@ -1 +0,0 @@
../Formula/gearman.rb
-1
View File
@@ -1 +0,0 @@
../Formula/tig.rb
-1
View File
@@ -1 +0,0 @@
../Formula/gsl.rb
-1
View File
@@ -1 +0,0 @@
../Formula/go.rb
-1
View File
@@ -1 +0,0 @@
../Formula/go.rb
-1
View File
@@ -1 +0,0 @@
../Formula/gnupg.rb
-1
View File
@@ -1 +0,0 @@
../Formula/gnupg2.rb
-1
View File
@@ -1 +0,0 @@
../Formula/ghostscript.rb
-1
View File
@@ -1 +0,0 @@
../Formula/gtk+.rb
-1
View File
@@ -1 +0,0 @@
../Formula/gnu-typist.rb
-1
View File
@@ -1 +0,0 @@
../Formula/md5deep.rb
-1
View File
@@ -1 +0,0 @@
../Formula/heroku-toolbelt.rb
-1
View File
@@ -1 +0,0 @@
../Formula/mercurial.rb
-1
View File
@@ -1 +0,0 @@
../Formula/htop-osx.rb
-1
View File
@@ -1 +0,0 @@
../Formula/jenkins.rb
-1
View File
@@ -1 +0,0 @@
../Formula/lorem.rb
-1
View File
@@ -1 +0,0 @@
../Formula/gocr.rb
-1
View File
@@ -1 +0,0 @@
../Formula/kotlin-compiler.rb
-1
View File
@@ -1 +0,0 @@
../Formula/little-cms.rb
-1
View File
@@ -1 +0,0 @@
../Formula/little-cms2.rb
-1
View File
@@ -1 +0,0 @@
../Formula/peg.rb
-1
View File
@@ -1 +0,0 @@
../Formula/cryptopp.rb
-1
View File
@@ -1 +0,0 @@
../Formula/gd.rb
-1
View File
@@ -1 +0,0 @@
../Formula/geoip.rb
-1
View File
@@ -1 +0,0 @@
../Formula/game-music-emu.rb
-1
View File
@@ -1 +0,0 @@
../Formula/jpeg.rb
-1
View File
@@ -1 +0,0 @@
../Formula/jpeg-turbo.rb
-1
View File
@@ -1 +0,0 @@
../Formula/jpeg.rb
-1
View File
@@ -1 +0,0 @@
../Formula/exodriver.rb
-1
View File
@@ -1 +0,0 @@
../Formula/mad.rb
-1
View File
@@ -1 +0,0 @@
../Formula/mcrypt.rb
-1
View File
@@ -1 +0,0 @@
../Formula/nettle.rb
-1
View File
@@ -1 +0,0 @@
../Formula/oggz.rb
-1
View File
@@ -1 +0,0 @@
../Formula/qrencode.rb
-1
View File
@@ -1 +0,0 @@
../Formula/taglib.rb
-1
View File
@@ -1 +0,0 @@
../Formula/libtasn1.rb
-1
View File
@@ -1 +0,0 @@
../Formula/tomcat-native.rb
-1
View File
@@ -1 +0,0 @@
../Formula/little-cms.rb
-1
View File
@@ -1 +0,0 @@
../Formula/polarssl.rb
-1
View File
@@ -1 +0,0 @@
../Formula/midnight-commander.rb
-1
View File
@@ -1 +0,0 @@
../Formula/mandoc.rb
-1
View File
@@ -1 +0,0 @@
../Formula/media-info.rb
-1
View File
@@ -1 +0,0 @@
../Formula/mongodb.rb
-1
View File
@@ -1 +0,0 @@
../Formula/mobile-shell.rb
-1
View File
@@ -1 +0,0 @@
../Formula/gpac.rb
-1
View File
@@ -1 +0,0 @@
../Formula/mr.rb
-1
View File
@@ -1 +0,0 @@
../Formula/nimrod.rb
-1
View File
@@ -1 +0,0 @@
../Formula/node.rb
-1
View File
@@ -1 +0,0 @@
../Formula/node.rb
-1
View File
@@ -1 +0,0 @@
../Formula/node.rb
-1
View File
@@ -1 +0,0 @@
../Formula/makensis.rb
-1
View File
@@ -1 +0,0 @@
../Formula/ocaml.rb
-1
View File
@@ -1 +0,0 @@
../Formula/opencolorio.rb
-1
View File
@@ -1 +0,0 @@
../Formula/offline-imap.rb
-1
View File
@@ -1 +0,0 @@
../Formula/rock.rb
-1
View File
@@ -1 +0,0 @@
../Formula/open-mpi.rb
-1
View File
@@ -1 +0,0 @@
../Formula/open-ocd.rb
-1
View File
@@ -1 +0,0 @@
../Formula/open-scene-graph.rb
-1
View File
@@ -1 +0,0 @@
../Formula/pcre.rb
Loaded 100 of 3782 files, more files were not shown because too many files have changed in this diff. Show more