aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2016-02-23list: exclude .github from unbrewedPaul Phillips
Recently added files polluting brew ls --unbrewed results. Closes Homebrew/homebrew#49456. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-02-22haskell: fix empty flags build failuresilovezfs
Fixes a regression introduced by Homebrew/homebrew#47950 in 9e3ee3e causing build failures with the error cabal: The file does not exist ''. This will occur whenever the optional :flags key isn't in the options hash passed to install_cabal_package. Closes Homebrew/homebrew#49425. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-02-22audit: a couple more testsBaptiste Fontaine
Closes Homebrew/homebrew#49404. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-02-22update: better handle merge conflicts.Mike McQuaid
When there are merge conflicts we fail pretty hard. This is still possible after this commit but at least we've given Git enough pointers to make it less likely. Closes Homebrew/homebrew#49299. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-02-22git-annex: force-enable "webapp" flagCedric Staub
To address issue Homebrew/homebrew#47346 (git-annex-webapp missing), we explicitly enable the "webapp" flag for git-annex. This should prevent git-annex from being built without the webapp and make the build fail if there is e.g. a dependency issue. Closes Homebrew/homebrew#47950. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-02-21go: warn about no-op stage_deps callsBaptiste Fontaine
Closes Homebrew/homebrew#49389. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-02-21Haskell#cabal_install more robust deps resolutionilovezfs
The default max-backjumps can be too low, especially since Language::Haskell::Cabal doesn't guarantee an LTS config. In particular, this fixes a git-annex build failure in Homebrew/homebrew#47950 Closes Homebrew/homebrew#49158. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-02-21FileUtils::mktemp fix for OS X 10.6.7 and earlierilovezfs
FileUtils::fu_get_gid only started doing the conversion of the group to_s automatically from OS X 10.6.8 (ruby-1.8.7-p358) forward. OS X 10.6.7 (ruby-1.8.7-p174) would fail in brew's FileUtils::mktemp with the error "Error: can't convert Fixnum into String." Fixes Homebrew/homebrew#49045 Fixes Homebrew/homebrew#49348 Closes Homebrew/homebrew#49369. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-02-21HOMEBREW_LIBRARY_PATH: remove redundant /Homebrewilovezfs
The default HOMEBREW_LIBRARY_PATH should be /usr/local/Library/Homebrew not /usr/local/Library/Homebrew/Homebrew Closes Homebrew/homebrew#49384. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-02-21synfigstudio: boneyardZhiming Wang
Main reasons for boneyard: * As this formula now stands, it fails to build (with a mysterious error) against FFmpeg 3.0 (#49178); * This is a GUI-only tool (look at its awkward test), so it doesn't quite belong to core to begin with; and due to the build issue above, work is needed if it is to be revived in homebrew/gui; * There's not enough interest, seeing that we are two releases or half a year behind, and no user even proposed a version bump; * Upstream's preferred method of installation is the app bundle (which seems to be a much more complete solution, given the app bundle's size), distributed in binary disk images. More discussions in Homebrew/homebrew#49178. Closes Homebrew/homebrew#49378. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-02-21test_pathname: add append_lines testsDominyk Tiller
Closes Homebrew/homebrew#49233. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-02-21pathname: add append_lines methodDominyk Tiller
* Blocks writing of new files via accidental typos, etc, which the normal open("blah", "a") doesn't. * Where files don't exist they should ideally be using `(buildpath/"dog").write` instead of open("blah", "a") already. * It's a bit less cluttered looking if you need several writes to different files in the formula, IMO.
2016-02-21plist_caveats: ensure it ending with newlineXu Cheng
Closes Homebrew/homebrew#49374. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-02-20env/shared: ignore perl optsDominyk Tiller
In theory, letting these be set once wasn't an awful idea because it allows users choice on where Perl modules end up. In reality, as we've moved closer to sandboxing and at the same time accepted more perl binding options into formulae it has been exposed as something of a hellraiser. It's not that uncommon for Perl users to set a custom `INSTALL_BASE` in the ENV which means we end up with quite a few formula that fail hard with this sort of error: ``` Only one of PREFIX or INSTALL_BASE can be given. Not both. ``` The other common error, which we discovered via sandboxing, is that the Perl modules end up outside Homebrew's control which means we don't automatically remove them when the package is removed. Sandboxing blocks this, which means when we eventually move to enable that by default for users as well as CI it'll quickly become a prominent issue.
2016-02-20diagnostic: add new osxfuse exceptionsDominyk Tiller
The recent updates to OSXFuse include two new elements that get flagged by `brew doctor`. Adding them here so it's consistent with how we handle the rest of OSXFuse. Closes Homebrew/homebrew#49372.
2016-02-19version: correctly parse codeload URLsAlex Dunn
Needed for Homebrew/homebrew#49346. Closes Homebrew/homebrew#49354. Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
2016-02-19phash: boneyardZhiming Wang
Boneyarding because: 1. Not compatible with FFmpeg 3.0 (#49178); 2. Not developed in the open, only release tarballs are available, so tracking progress is hard; 3. Latest release is from April 2013; 4. Has to join a mailing list to report bugs, the archive of which was last built in 2014. In summary, there's no evidence that this library is not abandoned. See also discussions in Homebrew/homebrew#49178. Closes Homebrew/homebrew#49268. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-02-19update: fix fork bomb caused by `brew update --help`Xu Cheng
Fixes Homebrew/homebrew#49334. Closes Homebrew/homebrew#49343. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-02-19brew: print help when no commands givenMisty De Meo
Fixes Homebrew/homebrew#49325. Closes Homebrew/homebrew#49327. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-02-18tests: add groups and project name to coverageMartin Afanasjew
Groups make it easier to get an overview of the coverage without having to scan through a single very long list of files. They also display a possibly helpful per-group coverage. The project name is normally derived from the `root` directory which happens to be `Library` in our case, thus make it explicitly `Homebrew`. Closes Homebrew/homebrew#49303. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-02-18update: always checkout master.ilovezfs
This should help to prevent situations where a user accidentally ends up "stranded" in a branch indefinitely. Additionally, the stash is never popped automatically at the end of a successful update, but the stash-pop message is printed if something is stashed. When an interrupt occurs, the original behavior is still in place (switch back to the old branch and revision, and pop the stash), though this could be changed as well. This commit modifies the behavior of both `brew update` and "update-bash.sh" in the manner described above. The idea for this approach is from Mike McQuaid. Issue Homebrew/homebrew#48812 Closes Homebrew/homebrew#48993. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-02-18update: use GitHub API to avoid unneeded fetches.Mike McQuaid
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-18formula_installer: use new pour_bottle DSL.Mike McQuaid
2016-02-18formula_installer: improve bottle cellar message.Mike McQuaid
2016-02-18formula_installer: cleanup existing pour_bottle logic.Mike McQuaid
2016-02-18formula: add new pour_bottle DSL with reason.Mike McQuaid
This allows there to be a user-visible description of why a bottle is not being installed.
2016-02-18software_spec: add new bottle check class.Mike McQuaid
2016-02-17version: fix GitHub releases URLs parsingBaptiste Fontaine
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-17blackbox 1.20160122Brandon Ooi
Closes Homebrew/homebrew#48850. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-02-16bin/brew: move logic to Library.Mike McQuaid
`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-16add Tap#formula_file?Xu Cheng
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-15Move internal command aliases from Ruby to Bash.Mike McQuaid
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-15Promote update-bash to the default updater.Mike McQuaid
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-13style: update rubocop to 0.37.2Dominyk Tiller
Closes Homebrew/homebrew#49084. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-02-12telepathy-glib: boneyardDominyk Tiller
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-12telepathy-mission-control: boneyardDominyk Tiller
2016-02-12telepathy-idle: boneyardDominyk Tiller
2016-02-12telepathy-gabble: boneyardDominyk Tiller
2016-02-12cmd/update-bash.sh: print message on fetch fail.Mike McQuaid
Closes Homebrew/homebrew#49107. Closes Homebrew/homebrew#49105. Closes Homebrew/homebrew#48267. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-02-12update-bash: don't prompt for passwords.Mike McQuaid
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-12pull --bump: add auto-detection of devel bumpsAndrew Janke
Closes Homebrew/homebrew#48472. Signed-off-by: Andrew Janke <andrew@apjanke.net>
2016-02-11audit: roughly double notability requirements.Mike McQuaid
Closes Homebrew/homebrew#48706.
2016-02-11blacklist: add mysqldump-secure.Mike McQuaid
2016-02-11ARGV: stop supporting --homebrew-developer optionMartin Afanasjew
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-11Add `--cleanup` for completions of brew upgradeChayoung You
Closes Homebrew/homebrew#48946. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-02-11rubber: move to texDominyk Tiller
Closes Homebrew/homebrew#48779.
2016-02-11why3: migrate to texErik Nilsen
Closes Homebrew/homebrew#48780. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-02-10tap_migrations: fix gtk rebase issuesDominyk Tiller
2016-02-10zenity: migrate from x11Tom Schoonjans
2016-02-10transmission-remote-gtk: migrate from x11 to guiTom Schoonjans