100 Commits
Author SHA1 Message Date
Mike McQuaid 12fa7b4b6b Enable vendored Ruby 2.0. 2018-02-25 11:15:09 -08:00
Mike McQuaid b26d13a698 ruby.sh: allow forcing the usage of the vendored Ruby. 2018-02-25 11:15:09 -08:00
Mike McQuaid fd1b06d2ff ruby.sh: fix original setup ruby path name. 2018-02-25 11:15:09 -08:00
Mike McQuaid f69cbc2929 curl: add HTTP mirror.
This allows a curl that cannot handle modern SSL certificates to install a newer version.

Fixes #506

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2017-09-15 16:35:35 -07:00
Mike McQuaid 143b7bee5f brew.sh: error out if no Ruby found.
This is a nicer error message than the `exec` failing at a later stage.
2017-05-10 23:57:24 -07:00
Mike McQuaid 8d435e616c Make Homebrew user agent consistent, use a slash.
Generally it seems user agents are all `software/version` but ours is
not. Also, set the user agent in a way that it's shared between Bash
and Ruby code.

Closes https://github.com/Homebrew/legacy-homebrew/pull/50480.
2017-05-10 23:47:00 -07:00
Mike McQuaid 1147bf3e92 Fix brew update user agent.
This needs to be `Homebrew $HOMEBREW_VERSION` so we can be adequately
filtered.

Closes Homebrew/homebrew#49961.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2017-05-10 23:41:50 -07:00
Mike McQuaid dd55d98f84 bin/brew: move logic to Library.
`bin/brew` is getting a bit bloated and it's annoying to open all of
`HOMEBREW_PREFIX` in your editor of choice and have it search through
the `Cellar`. Let's instead keep the bare minimum in `bin/brew` and
move the rest to `Library`.

Closes Homebrew/homebrew#49185.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2017-05-10 23:16:33 -07:00
Mike McQuaid dc8d60d116 tap_constants: allow formulae to have @ in name.
Follow-up from #812 to fix handling fully-qualified versioned formulae
names.

Allows pulling https://github.com/Homebrew/homebrew-core/pull/971.
2017-05-09 21:34:12 -07:00
Mike McQuaid c534157697 brew.rb: export HOMEBREW_RUBY_PATH. 2016-01-11 10:16:07 -04:00
Mike McQuaid 3e5be81ecf travis: test 10.9 using Ruby 1.8.
Closes #45816.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-01-11 10:15:03 -04:00
Mike McQuaid 67bdf914fd autoconf-archive: remove accidentally deleted bottle. 2015-09-25 18:49:08 +01:00
Mike McQuaid 9c29821f94 ascii: remove accidentally deleted bottle. 2015-09-25 18:48:12 +01:00
Mike McQuaid 8c3ada2226 migrator: link Cellar and opt before the keg.
When there's absolute symlinks in a linked directory in the `keg`
(e.g. `bin`)that point to the `Cellar` or `opt` then linking the `keg`
will fail before the `Cellar` or `opt` has been linked.

Closes #44306.

Closes #44329.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-09-25 16:53:34 +01:00
Mike McQuaid c5a4c60a0d travis.yml: always run git reset --hard once. 2015-09-25 15:51:22 +01:00
Mike McQuaid f301698c00 test-bot: add comments, tweak argument handling. 2015-09-25 09:15:10 +01:00
Mike McQuaid 4f01131b56 shellcheck: fix audit. 2015-09-25 08:41:49 +01:00
Mike McQuaid c91c9ae61b travis.yml: try to refetch PR commit if missing. 2015-09-25 08:39:13 +01:00
Mike McQuaid e320bc4829 Export more Travis debugging and fix Git issue. 2015-09-24 08:33:08 +01:00
Mike McQuaid bb24ae2955 rbenv: recommend ruby-build. 2015-09-23 19:23:39 +01:00
Mike McQuaid c2baaa86d4 bottle: output maximum number of strings matches.
`brew bottle --verbose` outputs all the matches for a string found
in the files inside the Cellar. Instead of outputting all of these just
output the first 100.

Closes #44266.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-09-23 15:17:35 +01:00
Mike McQuaid da5654d991 travis.yml: retry git fetch. 2015-09-23 21:46:44 +08:00
Mike McQuaid 4787fb3d58 travis.yml: check /usr/local permissions. 2015-09-23 21:46:44 +08:00
Mike McQuaid 2814273c93 test-bot: configure log lines instead of verbose.
The `--verbose` seems to cause some issues with compiling software like
`boost` under Xcode 7.
2015-09-23 21:46:43 +08:00
Mike McQuaid 7209c21f92 formula: increase fail log lines, allow config.
The default is almost never useful. 15 seems like a good medium as it'll
not fill a 80x24 default but provides a bit more context. Also allow it
to be overriden for developers and `test-bot`.
2015-09-23 21:46:43 +08:00
Mike McQuaid f2936ca9fc travis.yml: add 10.11 image. 2015-09-22 21:05:57 +01:00
Mike McQuaid c09980a797 jenkins: remove unnecessary bottle. 2015-09-22 09:04:02 +01:00
Mike McQuaid c6da8b3671 libssh: add mirror. 2015-09-21 15:30:19 +01:00
Mike McQuaid 0461f3b0aa test-bot: allow bottle --merge to fail.
It may still write some bottles so let's allow them to be uploaded.
2015-09-21 14:02:28 +01:00
Mike McQuaid c6a39b856b httpie: fix audit. 2015-09-21 08:40:50 +01:00
Mike McQuaid ebda291dc1 git-flow: fix audit. 2015-09-21 08:40:37 +01:00
Mike McQuaid a82ee628c2 test-bot: optionally disable verbose install. 2015-09-19 08:19:49 +01:00
Mike McQuaid dc2833a160 test-bot: fix syntax error. 2015-09-18 11:56:03 +01:00
Mike McQuaid 94885c02e4 test-bot: do fewer unnecessary brew updates. 2015-09-18 11:23:53 +01:00
Mike McQuaid f88ced7779 test-bot: don't mark every job as failed. 2015-09-18 10:40:36 +01:00
Mike McQuaid 9119318845 test-bot: unify, fix Travis and Jenkins output. 2015-09-18 10:28:35 +01:00
Mike McQuaid 05f238f0c6 Add Travis CI configuration.
Closes #43976.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-09-18 09:54:29 +01:00
Mike McQuaid 569331364e test-bot: use Travis CI environment variables. 2015-09-18 09:54:29 +01:00
Mike McQuaid 02e5c4a86e launchdns: remove broken El Capitan bottle. 2015-09-14 19:24:36 +01:00
Mike McQuaid 8a6e49d939 p7zip: bump bottles. 2015-09-14 16:37:54 +01:00
Mike McQuaid eab805bacb mysql: remove broken bottle, improve test.
The bottle had a weird syntax error for some reason. This test verifies
that the server executable script is valid syntax.
2015-09-14 15:47:06 +01:00
Mike McQuaid 40df65610c test-bot: fix handling hash/url arguments. 2015-09-14 09:07:12 +01:00
Mike McQuaid 32ba79b74f pull: increase Bintray fetch retries. 2015-09-14 08:09:26 +01:00
Mike McQuaid 44d109ef3a update_test: run update verbosely. 2015-09-14 08:00:50 +01:00
Mike McQuaid 53c21ceb57 phantomjs: fails on El Capitan. 2015-09-13 12:53:08 +01:00
Mike McQuaid be1a7f5810 phantomjs: use Homebrew patches repo. 2015-09-13 12:34:57 +01:00
Mike McQuaid a04254c30d qt: El Capitan patch. 2015-09-13 12:34:41 +01:00
Mike McQuaid dbee23779a ruby-build: remove unnecessary bottle. 2015-09-13 10:10:58 +01:00
Mike McQuaid c8df0ad777 test-bot: skip some unnecessary tests. 2015-09-11 15:29:16 +01:00
Mike McQuaid 6acee26139 autoconf: bump bottle revision. 2015-09-11 15:23:47 +01:00
Mike McQuaid 76c3d0a4da automake: bump bottle revision. 2015-09-11 15:23:47 +01:00
Mike McQuaid b7aa36ca7d test-bot: support uploading keep-old bottles. 2015-09-11 15:09:24 +01:00
Mike McQuaid c47b806f5a openssl: add El Capitan bottle. 2015-09-11 14:59:48 +01:00
Mike McQuaid 75b38311d5 oniguruma: add El Capitan bottle. 2015-09-11 14:59:48 +01:00
Mike McQuaid 705a8d58ef node: add El Capitan bottle. 2015-09-11 14:59:48 +01:00
Mike McQuaid 6008b491d3 nginx: add El Capitan bottle. 2015-09-11 14:59:48 +01:00
Mike McQuaid 8c6679d491 mysql: add El Capitan bottle. 2015-09-11 14:59:48 +01:00
Mike McQuaid 4c37187b03 memcached: add El Capitan bottle. 2015-09-11 14:59:48 +01:00
Mike McQuaid 0b3ee96c25 makedepend: add El Capitan bottle. 2015-09-11 14:59:48 +01:00
Mike McQuaid e1b3c48e09 libtool: add El Capitan bottle. 2015-09-11 14:59:48 +01:00
Mike McQuaid 83725884ac libtiff: add El Capitan bottle. 2015-09-11 14:59:48 +01:00
Mike McQuaid e26ef515d3 libpng: add El Capitan bottle. 2015-09-11 14:59:48 +01:00
Mike McQuaid ab922761ea libevent: add El Capitan bottle. 2015-09-11 14:59:48 +01:00
Mike McQuaid df198f6892 jpeg: add El Capitan bottle. 2015-09-11 14:59:47 +01:00
Mike McQuaid 7813acd7b2 jemalloc: add El Capitan bottle. 2015-09-11 14:59:47 +01:00
Mike McQuaid a4358886ce jansson: add El Capitan bottle. 2015-09-11 14:59:47 +01:00
Mike McQuaid 20376e8fe1 imagemagick: add El Capitan bottle. 2015-09-11 14:59:47 +01:00
Mike McQuaid e52ee0523e icu4c: add El Capitan bottle. 2015-09-11 14:59:47 +01:00
Mike McQuaid 9d60df73be hub: add El Capitan bottle. 2015-09-11 14:59:47 +01:00
Mike McQuaid aa667802c0 go: add El Capitan bottle. 2015-09-11 14:59:47 +01:00
Mike McQuaid b48dd77da9 freetype: add El Capitan bottle. 2015-09-11 14:59:47 +01:00
Mike McQuaid 4881ed4bd6 colordiff: add El Capitan bottle. 2015-09-11 14:59:47 +01:00
Mike McQuaid 1f84960f8e cmake: add El Capitan bottle. 2015-09-11 14:59:47 +01:00
Mike McQuaid 6cb5a49169 bison: add El Capitan bottle. 2015-09-11 14:59:47 +01:00
Mike McQuaid bcccd147ac pull: allow pulling all testing jobs. 2015-09-11 14:59:46 +01:00
Mike McQuaid 8ba36076a3 mysql: fix test under sandbox. 2015-09-11 14:31:27 +01:00
Mike McQuaid d8b31e829e bottle: improve --keep-old error message. 2015-09-11 11:16:15 +01:00
Mike McQuaid 12fa55ffb2 update: fix when HEAD doesn't exist.
e.g. when it's a detached `HEAD` through checking out a commit rather
than a branch.
2015-09-11 11:00:27 +01:00
Mike McQuaid be2d4a312e test-bot: add keep-old argument.
Will be useful for creating El Capitan bottles.
2015-09-11 10:15:21 +01:00
Mike McQuaid ec3ead0a96 rubocop: allow consistent trailing commas.
Makes diffs nicer. Could maybe be changed to `comma` to be stricter.
2015-09-09 09:42:21 +01:00
Mike McQuaid d9a314600a test-bot: don't output bottle output on success.
This can be extremely verbose and destroys the log. Instead look for
this in the Jenkins build test results.
2015-09-09 09:36:40 +01:00
Mike McQuaid c669ec7909 go: tweak test style. 2015-09-09 09:23:51 +01:00
Mike McQuaid 1ab1330594 doctor: don't always fail on 10.11.
Do this just for Homebrew developers (and the bot) currently.
2015-09-07 15:06:11 +01:00
Mike McQuaid b01e9cf5b8 Add El Capitan testball bottle. 2015-09-07 15:04:16 +01:00
Mike McQuaid ad45b8d8a9 README: remove Gratipay. 2015-09-07 12:01:28 +01:00
Mike McQuaid 66de87587d exceptions: handle HOMEBREW_NO_GITHUB_API case.
Closes #43618.
2015-09-06 13:30:02 +01:00
Mike McQuaid ecb28c6619 tap-readme: create README in tap path. 2015-09-06 13:21:21 +01:00
Mike McQuaid e97b660dd1 mpich: remove rename comment. 2015-09-06 12:39:59 +01:00
Mike McQuaid 65c59dedea More API documentation.
And remove the documented stuff from the `example-formula.rb`.

Closes #43241.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-29 15:43:16 +01:00
Mike McQuaid 8cead530ed pull: more formulae fetch outside of main loop.
Closes #43313.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-27 13:41:06 +01:00
Mike McQuaid 71fb544b83 haxe: rename ocaml dependency. 2015-08-27 12:34:28 +01:00
Mike McQuaid 8f814e76d2 cppcms: a few style tweaks. 2015-08-27 12:25:23 +01:00
Mike McQuaid 8b54aa1410 pull: do fetch after everything else, sleep more.
Use an exponential back-off on the sleep and try the fetch more times.

Hopefully this will mean that we spent less time waiting for Bintray.

Closes #43240.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-25 16:43:37 +01:00
Mike McQuaid a3af9ee6e8 cleanup: fix reversed prune time. 2015-08-16 17:50:33 +01:00
Mike McQuaid c1084a3e13 cleanup: tweak prune code. 2015-08-16 16:57:12 +01:00
Mike McQuaid bcd88f8259 gdl: remove broken bottles. 2015-08-15 18:38:15 +01:00
Mike McQuaid 01fab36ad4 anjuta: remove broken bottles. 2015-08-15 18:38:08 +01:00
Mike McQuaid f86d0f1c7a install: mention if installed formula isn't migrated.
Closes #42940.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-14 15:18:45 +01:00
Mike McQuaid 94725dd4ee outdated: check if formula needs to be migrated.
Closes #42938.
2015-08-14 15:18:45 +01:00
Mike McQuaid 53c1b1906e test-bot: remove custom $HOME on --cleanup. 2015-08-13 10:55:29 +01:00