1740 Commits

Author SHA1 Message Date
Xu Cheng
1c8323f9cc bottle: revision is digits rather than string in the merge regex
Closes Homebrew/homebrew#37015.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-02-21 17:01:29 +08:00
Mike McQuaid
f60396f64a bottle: ignore go libexec path for stuff using go.
These paths cannot be removed and are just used for debug stacktraces so seem
to not be harmful for us to selectively ignore.

Closes Homebrew/homebrew#36894.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-20 15:39:34 +00:00
Mike McQuaid
15bebd6e7e test-bot: default tap bottles to Bintray. 2015-02-19 19:36:14 +00:00
Mike McQuaid
ca119fe7fe pull: add missing Bintray variable warning. 2015-02-19 16:53:53 +00:00
Mike McQuaid
fb9942a264 test-bot: enable tap Bintray upload again. 2015-02-19 15:35:34 +00:00
Mike McQuaid
a40fcfe342 pull: fix newly added bottles on Bintray. 2015-02-19 15:29:32 +00:00
Mike McQuaid
e773d0c3b9 pull: use Bintray package naming. 2015-02-19 12:58:56 +00:00
Mike McQuaid
e5f145abab test-bot: use Bintray package naming. 2015-02-19 12:58:56 +00:00
Mike McQuaid
525e04d8dd test-bot: set bottle args for Bintray testing. 2015-02-19 12:58:55 +00:00
Mike McQuaid
00e6bc98bd test-bot: disable bintray taps temporarily. 2015-02-19 12:21:58 +00:00
Mike McQuaid
2805a62af2 test-bot: cleanup even more in tap directories. 2015-02-19 11:52:04 +00:00
Mike McQuaid
9061daad5e test-bot: fix tap directory variable (again). 2015-02-19 11:50:16 +00:00
Mike McQuaid
6f7c73e8cc test-bot: fix tap directory name variable. 2015-02-19 11:46:55 +00:00
Mike McQuaid
0ce71f33ad test-bot: move reset logic above tapping. 2015-02-19 11:44:56 +00:00
Mike McQuaid
857da689bf test-bot: add flag to reset repository and taps. 2015-02-19 11:37:07 +00:00
Mike McQuaid
31028941a9 test-bot: fix (another) bad variable name. 2015-02-19 11:14:44 +00:00
Mike McQuaid
a0980f05a1 test-bot: fix tap variable naming. 2015-02-19 11:12:07 +00:00
Mike McQuaid
5c7c7a4ce6 pull: support taps, use same version as test-bot. 2015-02-19 11:06:21 +00:00
Mike McQuaid
1acdeb3bb7 test-bot: support taps and use Bintray class.
Also: use curl method where sensible.
2015-02-19 11:06:21 +00:00
Mike McQuaid
258c4ddefe pull: check bottle commit URL before branching.
Otherwise we annoyingly end up on a branch unnecessarily.
2015-02-19 11:06:20 +00:00
Xu Cheng
40e6426322 audit: give better suggestion on git/hg dependency
Closes Homebrew/homebrew#36959.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-02-19 18:49:15 +08:00
Mike McQuaid
6dd51ff399 audit: check for setuid in caveats. 2015-02-19 09:29:17 +00:00
Mike McQuaid
ce956eda8e cleanup-installed: fix brewdle command name 2015-02-18 14:10:27 +00:00
Mike McQuaid
bf76b71fe9 test-bot: don't repeat creating Bintray packages. 2015-02-18 13:19:13 +00:00
Mike McQuaid
579f288bd2 test-bot: construct formula object correctly. 2015-02-18 13:12:54 +00:00
Mike McQuaid
675991eb61 pull: publish bottles on Bintray. 2015-02-18 13:07:22 +00:00
Mike McQuaid
e9e2be9404 test-bot: autopublish existing bottles on Bintray. 2015-02-18 13:07:22 +00:00
Mike McQuaid
8f8e40295c test-bot: silent and correct bintray content path. 2015-02-17 19:42:37 +00:00
Mike McQuaid
fcb05efcd5 test-bot: more Bintray fixes. 2015-02-17 19:35:15 +00:00
Mike McQuaid
67828cd015 test-bot: specify bintray username/password. 2015-02-17 19:18:14 +00:00
Mike McQuaid
38f9a78c29 Add initial Bintray upload support. 2015-02-17 18:57:59 +00:00
Dominyk Tiller
51956d343a audit: extend ssl checks
Extends the audit checks to GnuPG, a significant chunk of Freedesktop
domains, and Github Pages. I’ve somewhat hardened my stance towards
Github Pages from the last time we extended this, hence the new
inclusion - I did a pretty thorough check through the Homebrew formulae
that use Github Pages for homepage links and found very few places
where enforcing SSL/TLS would cause issues - I think a wider
enforcement is worthwhile.

I’ve also fixed the capitalisation of the taps, if only because at the
moment it disagrees with what ` puts formula.tap ` outputs (We get
Homebrew/homebrew-head-only rather than homebrew/homebrew-head-only for
example).

Closes Homebrew/homebrew#36719.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-17 12:06:17 +00:00
Xu Cheng
86cd5d2f24 test-bot: fail fast in check_results
Closes Homebrew/homebrew#36893.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-17 10:30:42 +00:00
Xu Cheng
f204e2e608 audit: more information on build deps audit
Closes Homebrew/homebrew#36892.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-17 10:30:32 +00:00
Mike McQuaid
a4f675a0fb cleanup-installed: deprecate command. 2015-02-16 18:49:16 +00:00
Xu Cheng
d0e2d126a1 audit: catch empty installations
Closes Homebrew/homebrew#36794.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-14 15:10:35 +00:00
Xu Cheng
56f7208f8e info: show correct file origin for formula from path or url
Closes Homebrew/homebrew#36733.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-13 11:33:51 +00:00
Mike McQuaid
e34d9a7b37 outdated: handle HEAD, URL and path installation.
Handles edge cases missed in Homebrew/homebrew#36699.

Closes Homebrew/homebrew#36741.

Closes Homebrew/homebrew#36760.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-13 10:58:43 +00:00
Mike McQuaid
988ec8de98 outdated: handle fully qualified tapped formulae.
Previously if I did `brew install boxen/brews/imagemagick` and then `brew
upgrade boxen/brews/imagemagick` and the version of `imagemagick` in
`boxen/brews` was older than the version in `Homebrew/homebrew` then it would
install the correct version from the `boxen/brews` tap and then try to
immediately upgrade it to the version from `Homebrew/homebrew`. I'd argue
fairly strongly that this behaviour is pretty unintuitive; when you fully
specify a formula from a tap then it should be prioritised by `brew upgrade`
and `brew outdated.

This commit makes `brew upgrade boxen/brews/imagemagick` only upgrade the
version of `imagemagick` if the version in the `boxen/brews` tap is newer.
Similarly `brew outdated imagemagick` and `brew outdated
boxen/brews/imagemagick` will show different results if the newer version
differs between `boxen/brews` and `Homebrew/homebrew`.

Closes Homebrew/homebrew#36699.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-11 14:22:48 +00:00
Mike McQuaid
2320c0a6c1 pull: copy new subject when bumping. 2015-02-11 14:22:19 +00:00
Xu Cheng
4d17d4c8db gist-logs: show the formula origin for non core-formula
Closes Homebrew/homebrew#36730.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-11 11:04:37 +00:00
Xu Cheng
f640cbac9e brew uses: parse ARGV properly
`ARGV.flag?` = `ARGV.include?` + `ARGV.switch?`

Closes Homebrew/homebrew#36727.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-11 11:02:46 +00:00
Xu Cheng
105eaf3382 test-bot: only test the runtime dependencies.
Also add support to `brew uses` to ignore build or optional dependencies.

Closes Homebrew/homebrew#36154.
Closes Homebrew/homebrew#36656.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-09 14:12:19 +00:00
Xu Cheng
e547438ff4 cmd/info: prevent duplicate dependency display.
Before:

    $ brew info llvm
    ==> Dependencies
    Build: xz ✔, xz ✔, xz ✔, xz ✔, xz ✔, xz ✔

    $ brew info --json=v1 llvm
    ... "dependencies":["xz","xz","xz","xz","xz","xz"], ...

After

    $ brew info llvm
    ==> Dependencies
    Build: xz ✔

    $ brew info --json=v1 llvm
    ... "dependencies":["xz"], ...

Closes Homebrew/homebrew#36653.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-08 15:53:30 +00:00
Dominyk Tiller
2abd3298f9 audit: catch more examples from example_formula
See
https://github.com/Homebrew/homebrew/pull/36629#discussion_r24293912
amongst other recent examples. The example formula isn’t as strongly
policed as the ` brew create ` default, this tries to do something
about that.

Closes Homebrew/homebrew#36639.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-08 12:24:17 +00:00
Jack Nagel
cd522b1719 Always respect build options when invoking post_install
Fixes Homebrew/homebrew#36335.
2015-02-07 11:02:35 -05:00
Mike McQuaid
e8d8c3a486 test-bot: don't try and bottle unstable formulae.
e.g. devel-only or head-only formulae.
2015-02-04 14:20:21 +00:00
Jack Nagel
2bf409d888 brew list foo should always error when foo is not installed
Fixes Homebrew/homebrew#36484.
2015-02-03 20:26:57 -05:00
Mike McQuaid
f2a9b9cbd2 test-bot: optional requirements are satisfied. 2015-02-03 16:46:36 +00:00
chdiza
5e854164a7 untap: Handle multiple arguments
Closes Homebrew/homebrew#36436.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-01 20:12:13 +01:00