10755 Commits

Author SHA1 Message Date
Mike McQuaid
3ac1c7b653 update: use GitHub API to avoid unneeded fetches.
Check to see if `HEAD` is the same as what we have locally. If it is:
don't bother to `git fetch`.

Closes Homebrew/homebrew#47888.

Closes Homebrew/homebrew#49219.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-02-18 10:43:10 +00:00
Mike McQuaid
f2faf49e3f formula_installer: use new pour_bottle DSL. 2016-02-18 10:21:20 +00:00
Mike McQuaid
c5ec986c72 formula_installer: improve bottle cellar message. 2016-02-18 10:21:20 +00:00
Mike McQuaid
e62dc13252 formula_installer: cleanup existing pour_bottle logic. 2016-02-18 10:21:20 +00:00
Mike McQuaid
26ec9f9ea0 formula: add new pour_bottle DSL with reason.
This allows there to be a user-visible description of why a bottle is
not being installed.
2016-02-18 10:21:20 +00:00
Mike McQuaid
74858b28c5 software_spec: add new bottle check class. 2016-02-18 10:21:20 +00:00
David Caldwell
bff90a7233 brew: Make HOMEBREW_REPOSITORY different from prefix only when 'brew' is a symlink
Closes Homebrew/homebrew#49261.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-02-18 09:32:46 +00:00
David Caldwell
94034a6915 brew: Make HOMEBREW_LIBRARY based off of HOMEBREW_REPOSITORY
This makes the logic match the Ruby code from before it was moved here
(see 390e327f55126f7ee9519bc6c03a0c0aa14f7168)
2016-02-18 09:32:46 +00:00
David Caldwell
9e32aede10 brew: Don't re-canonicalize
HOMEBREW_BREW_FILE and BREW_FILE_DIRECTORY are already canonicalized.
2016-02-18 09:32:46 +00:00
Mike McQuaid
8156e76576 Move Kickstarter supporters file. 2016-02-18 08:21:20 +00:00
Dominyk Tiller
3b0e89c43d FAQ: minor tweaks
Closes Homebrew/homebrew#49281.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-02-18 08:19:17 +00:00
Dominyk Tiller
81c97e1686 PULL_REQUEST_TEMPLATE: create initial template 2016-02-18 08:19:17 +00:00
Dominyk Tiller
a049aaa84c docs: move security reporting guidelines 2016-02-18 08:19:17 +00:00
Dominyk Tiller
bcc5591702 ISSUE_TEMPLATE: create initial template
Closes Homebrew/homebrew#41321.
2016-02-18 08:19:17 +00:00
Dominyk Tiller
6e33ace71b Formula-Cookbook: update CONTRIBUTING path 2016-02-18 08:19:17 +00:00
Dominyk Tiller
e9a9c8a73b doc/homebrew/FAQ: update CONTRIBUTING path 2016-02-18 08:19:17 +00:00
Dominyk Tiller
be79583b4e doc/homebrew/README: update CONTRIBUTING path 2016-02-18 08:19:17 +00:00
Dominyk Tiller
eae1fe9eea CONTRIBUTING: move to /.github 2016-02-18 08:19:17 +00:00
Dominyk Tiller
ee9b657213 gitignore: update documentation paths 2016-02-18 08:19:17 +00:00
Dominyk Tiller
4a289a65d4 Troubleshooting: remove dead link 2016-02-18 05:07:25 +00:00
Dominyk Tiller
9b2765c04f El_Capitan_and_Homebrew: remove document
We haven't seen this for a fair while since Apple pushed further updates to the
SIP mechanism and believe it to be far less of an issue than it was previously.

If you encounter further failure, please file an Issue and we'll be happy to
help! At the moment though this advice is making people think there _will_ be an
issue at some point, which isn't generally proving the case.
2016-02-17 18:55:41 +00:00
Baptiste Fontaine
4c5aee7a56 version: fix GitHub releases URLs parsing
The current code doesn't work with releases that have more than one
digit in the third group, i.e.:

  .../releases/download/1.2.3/...  works
  .../releases/download/1.2.34/... doesn't work

Closes Homebrew/homebrew#49255.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-02-17 13:23:26 +01:00
Brandon Ooi
270f601050 blackbox 1.20160122
Closes Homebrew/homebrew#48850.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-02-17 09:18:21 +00:00
Mike McQuaid
691e4aec11 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>
2016-02-16 09:31:58 +00:00
Xu Cheng
4e51c0b8ea add Tap#formula_file?
Return true if given path would present a Formula file in this Tap.
Accepts both absolute path and relative path (relative to this Tap's path)

It offer an abstraction such that caller would not need to worry about
low level file system in the tap.

It will be used in `brew pull` and `brew update`.

Closes Homebrew/homebrew#49191.

Signed-off-by: Xu Cheng <xucheng@me.com>
2016-02-16 14:23:39 +08:00
Mike McQuaid
578e68b2c1 brew: remove ln from sudo command check list. 2016-02-15 11:39:41 +00:00
Mike McQuaid
f6cbf7bab0 Move internal command aliases from Ruby to Bash.
This means that internal command aliases can be used for Bash commands
(such as the new, Bash-based `brew update`).

Fixes Homebrew/homebrew#49182.

Closes Homebrew/homebrew#49184.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-02-15 11:35:25 +00:00
Mike McQuaid
775c4eedd7 Promote update-bash to the default updater.
Also, rename the existing updater to `update-ruby` to allow using as
a fallback. It will eventually be removed.

Closes Homebrew/homebrew#49109.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-02-15 08:54:03 +00:00
Dominyk Tiller
b389953f5b style: update rubocop to 0.37.2
Closes Homebrew/homebrew#49084.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-02-13 02:16:17 +00:00
Dominyk Tiller
44453cf829 telepathy-glib: boneyard
The Telepathy formulae are being shipped off to the boneyard.

1) The number of downloads per formula in terms of Bottles is less than 30 in
the space of 3 months.

2) Two of them were moved onto development releases in November and nobody noticed.

3) telepathy-gabble's executable has been broken since submission and nobody noticed.

4) Making telepathy-gabble's executable function requires significant changes to
d-bus, including enforcing a mandatory X11 dependency on telepathy-gabble users.

5) It's not particularly simple to write tests for the formulae which means they're
more likely to break without CI noticing.

Closes Homebrew/homebrew#49052.
2016-02-12 23:26:06 +00:00
Dominyk Tiller
e805cbc700 telepathy-mission-control: boneyard 2016-02-12 23:26:06 +00:00
Dominyk Tiller
c6b933dec6 telepathy-idle: boneyard 2016-02-12 23:26:06 +00:00
Dominyk Tiller
bb94ca0f06 telepathy-gabble: boneyard 2016-02-12 23:26:06 +00:00
Mike McQuaid
59f1c24b43 cmd/update-bash.sh: print message on fetch fail.
Closes Homebrew/homebrew#49107.
Closes Homebrew/homebrew#49105.
Closes Homebrew/homebrew#48267.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-02-12 13:17:25 +00:00
Mike McQuaid
9d6a1a693e update-bash: don't prompt for passwords.
We execute too many `git fetch` at once for this to be useful. Just let
them fail instead and make it up to users to setup username/password
caching or SSH agents.
2016-02-12 13:17:17 +00:00
Andrew Janke
0322d9bd82 pull --bump: add auto-detection of devel bumps
Closes Homebrew/homebrew#48472.

Signed-off-by: Andrew Janke <andrew@apjanke.net>
2016-02-12 07:33:51 -05:00
BrewTestBot
2f22ae240d CONTRIBUTING: clarifications and cleanup.
Closes Homebrew/homebrew#48857.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-02-12 09:26:18 +00:00
James Elliott
2534884b64 CONTRIBUTING: how to check for existing PRs.
To avoid extra work on the part of contributors and maintainers, this
adds a step to the explanation of how to contribute a fix to a formula,
showing how to check if someone else has already done so, even if it
has not yet finished being tested, reviewed, and released.

Closes Homebrew/homebrew#48879.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-02-11 20:48:34 +00:00
Mike McQuaid
b06c6c74f9 audit: roughly double notability requirements.
Closes Homebrew/homebrew#48706.
2016-02-11 20:32:22 +00:00
Mike McQuaid
32850492f1 blacklist: add mysqldump-secure. 2016-02-11 20:32:22 +00:00
Martin Afanasjew
70ec2a7875 ARGV: stop supporting --homebrew-developer option
Homebrew developers have the corresponding variable permanently set in
their environment and wanting to appear like a Homebrew developer for a
single invocation is exceedingly rare. Additionally, the option won't be
recognized by `bin/brew`. (It is also undocumented.)

Using `HOMEBREW_DEVELOPER=1 brew <command>` is still possible, and not
more inconvenient than passing the `--homebrew-developer` option.

Closes Homebrew/homebrew#48322.

Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-02-11 13:15:37 +01:00
Chayoung You
e6f946d24e Add --cleanup for completions of brew upgrade
Closes Homebrew/homebrew#48946.

Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-02-11 12:08:31 +01:00
Dominyk Tiller
6410f9433d rubber: move to tex
Closes Homebrew/homebrew#48779.
2016-02-11 02:00:16 +00:00
Erik Nilsen
ad8b8c050d why3: migrate to tex
Closes Homebrew/homebrew#48780.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-02-11 02:00:06 +00:00
Dominyk Tiller
400259a775 tap_migrations: fix gtk rebase issues 2016-02-10 20:20:19 +00:00
Tom Schoonjans
04e74b44e8 zenity: migrate from x11 2016-02-10 20:11:31 +00:00
Tom Schoonjans
5cf5981ab7 transmission-remote-gtk: migrate from x11 to gui 2016-02-10 20:11:31 +00:00
Tom Schoonjans
41ef9ca032 smartsim: migrate from x11 to gui 2016-02-10 20:11:31 +00:00
Tom Schoonjans
f66ddab4da meld: migrate from x11 to gui 2016-02-10 20:11:31 +00:00
Tom Schoonjans
7dcf11f16a klavaro: migrate from x11 to gui 2016-02-10 20:11:31 +00:00