39 Commits

Author SHA1 Message Date
Xu Cheng
68a654dd26 pull: warning if we are not in master
Closes Homebrew/homebrew#39708.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-05-13 18:32:37 +08:00
Xu Cheng
e1611c4c22 brew-pull: use pkg_version when publishing bottles 2015-04-26 17:19:03 +08:00
Mike McQuaid
033964fe87 pull: fetch bottles with --retry. 2015-04-20 19:52:39 +01:00
Dominyk Tiller
3cc24528bf Revert "brew pull: add automatic tap repair"
This reverts commit bcd34ded9e4b17b8658b7ae947cd392a4e5942c0.

Closes Homebrew/homebrew#38658.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-14 22:40:12 -07:00
Dominyk Tiller
399388d8b9 brew pull: add automatic tap repair
At the moment, every time I pull a new formulae from a tap, I have to
fetch it with the fully qualified name, `brew fetch
homebrew/versions/duck123 `, which is fine, but then I also have to
install, test, and audit it in the same way, which isn’t fixed until I
tap repair, which gets a bit onerous.

This just adds a step to `brew pull` where it does the tap repair
automatically for taps.

Closes Homebrew/homebrew#37788.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-13 12:45:18 -07:00
Mike McQuaid
c86166c43e pull: increase bottle publish wait timeout. 2015-04-09 10:34:33 +01:00
Mike McQuaid
6acf05aea0 pull: sleep before fetching uploaded bottle. 2015-04-08 13:56:57 +01:00
Mike McQuaid
631742c527 pull: try downloading bottles after upload. 2015-04-07 08:33:58 +01:00
Mike McQuaid
30de8f0f74 pull: make the bintray message stronger. 2015-03-31 13:11:21 +01:00
Mike McQuaid
cf204b6234 pull: die on invalid parameters. 2015-03-20 17:46:19 +00:00
Mike McQuaid
3f9d5aad74 pull: allow pulling from API URLs.
Jenkins has started spitting these out; no idea why.
2015-03-20 17:46:18 +00:00
Mike McQuaid
3fd45673a5 pull: always publish bottles.
The previous logic was flawed as it wasn't publishing new versions of
bottles.
2015-03-18 18:15:40 +00:00
Mike McQuaid
1308070e66 pull: remove unused variable. 2015-03-08 09:39:15 +00:00
Mike McQuaid
2f4c02e106 pull: rename variable to avoid shadowing. 2015-03-08 09:39:14 +00:00
Mike McQuaid
4c19b5d913 pull: don't try to tap formulae.
Unneeded now we're using canonical names.
2015-02-24 17:17:31 +00:00
Mike McQuaid
07ddf7aab5 pull: only link changed tap formulae. 2015-02-23 14:57:09 +00:00
Mike McQuaid
e50badf11c pull: use link_tap_formula method. 2015-02-23 14:49:10 +00:00
Mike McQuaid
c7363e2d03 pull: backtrace when tap repair fails. 2015-02-23 13:25:06 +00:00
Mike McQuaid
7d99168192 pull: allow tap repair to fail. 2015-02-23 10:45:59 +00:00
Mike McQuaid
04f89a94ba pull: run tap --repair when pulling tap formulae.
This should allow formulae to be found after they are pulled.

Closes Homebrew/homebrew#37043.
2015-02-22 15:59:11 +00:00
Mike McQuaid
ca119fe7fe pull: add missing Bintray variable warning. 2015-02-19 16:53:53 +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
5c7c7a4ce6 pull: support taps, use same version as test-bot. 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
Mike McQuaid
675991eb61 pull: publish bottles on Bintray. 2015-02-18 13:07:22 +00:00
Mike McQuaid
38f9a78c29 Add initial Bintray upload support. 2015-02-17 18:57:59 +00:00
Mike McQuaid
2320c0a6c1 pull: copy new subject when bumping. 2015-02-11 14:22:19 +00:00
Mike McQuaid
105fcb5399 pull: allow temporarily editing an empty commit. 2015-01-23 17:35:20 +01:00
Mike McQuaid
dac4848661 pull: merge and rebase when pulling bottles.
This seems to be a more robust approach when a PR has multiple commits.
2015-01-15 11:15:13 +00:00
Mike McQuaid
e87b377add pull: fix tap URL regex for devel/head-only. 2015-01-02 09:24:25 +00:00
Mike McQuaid
54347843ed pull: support downloading bottles for taps. 2014-11-23 17:16:59 +00:00
Mike McQuaid
c616fe737f brew-pull: die when bumping multiple formulae. 2014-11-23 11:21:26 +00:00
Mike McQuaid
da3c9a1e16 brew-pull: make close message detection more precise. 2014-11-17 10:26:27 +00:00
Mike McQuaid
2d67c5ee8f brew-pull: allow resolution with --resolve. 2014-11-03 10:00:50 +00:00
Mike McQuaid
992f40e119 pull: pull from PR then from BrewTestBot.
This allows making e.g. `Closes #X` point to the correct commit to reduce confusion and allows `--bump` to function correctly.
2014-11-01 10:14:48 +00:00
Jack Nagel
1753362024 Call #name rather than relying on implicit #to_s 2014-10-29 23:08:58 -05:00
Jack Nagel
1c71fb4287 Drop executable bits from imported commands
Closes Homebrew/homebrew#32743.
2014-09-27 23:57:03 -05:00
Mike McQuaid
3a432bcc2a brew-pull: make an internal command. 2014-09-24 15:22:46 -07:00