aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2017-01-07Merge pull request #1792 from javian/whitelistphpshadowedheaderMike McQuaid
Whitelist PHP formulas in shadowed header audit check
2017-01-07Revert "cc: always filter flags on deps."Mike McQuaid
2017-01-06Whitelist PHP formulas in shadowed header audit checkJan Viljanen
2017-01-06keg: use resolved_path not realpath.Mike McQuaid
This guards against this being a non-symlink in which case it will fail.
2017-01-06Merge pull request #1782 from ilovezfs/prefix-fixupsilovezfs
Fix abv and prefix_linked?
2017-01-06formula: tweak versioned prefix approach.Mike McQuaid
2017-01-06pathname: make compute_disk_usage handle symlinks.Mike McQuaid
2017-01-05Merge pull request #1780 from MikeMcQuaid/use-docs-linksMike McQuaid
Use docs.brew.sh links.
2017-01-05Merge pull request #1787 from alyssais/formula_commentsMike McQuaid
formula: correct grammar in comments
2017-01-05Merge pull request #1771 from alyssais/license_yearMike McQuaid
licenses: update copyright year
2017-01-05formula: correct grammar in commentsAlyssa Ross
2017-01-04PerlRequirement: version number might not be wrapped in parenthesesShaun Jackman
For example: This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi
2017-01-05uses: properly handle recursive deps exceptionsAlyssa Ross
Fixes #1776. If any known formula had a dependency on an untapped tap, Formula#recursive_dependencies would throw an exception, which would be caught by the outer exception handler, causing the rest of the dependencies for that formula to be skipped and incomplete output to be generated. To fix this, I added a check to avoid analysing the dependencies of formulae from uninstalled taps. Additionally, I removed the aforementioned outer exception handler added in 5fdb89aed90f03413cdb21af430411c4a722876e, because the only other place that should be capable of throwing such an exception is the statement that was surrounded by another wider exception handler in Homebrew/legacy-homebrew#40682.
2017-01-05dependency: TapDependency#tap returns a TapAlyssa Ross
Previously, this returned a String, but a Tap instance seems much more sensible. I couldn't find anywhere this method was actually used, so the change shouldn't break anything.
2017-01-04formula: make prefix_linked? use versioned prefixilovezfs
otherwise whenever prefix is unversioned, prefix_Linked will be false
2017-01-04formula: realpath prefix before computing abvilovezfs
versioned prefix is a directory, but unversioned is a symlink, so realpath it before computing abv
2017-01-04Merge pull request #1777 from alyssais/tests_tab_versionMike McQuaid
tests: remove temporary tab homebrew_version override
2017-01-04Use docs.brew.sh links.Mike McQuaid
2017-01-04tab: set homebrew_version in Tab.emptyAlyssa Ross
2017-01-04tests: remove temp tab homebrew_version overrideAlyssa Ross
This had to be added in #1750 to work around special-casing for tabs generated with Homebrew versions < 1.1.6. Now that 1.1.6 is the current version, we can remove this hack.
2017-01-03audit: deprecate env :std/:userpaths for strict.Mike McQuaid
This should apply only for new formulae but we should start gradually phasing it out for older ones too.
2017-01-03Merge pull request #1677 from MikeMcQuaid/formula-prefix-optMike McQuaid
formula: make prefix usually return opt_prefix.
2017-01-03Merge pull request #1768 from MikeMcQuaid/deprecate-homebrew-versions-devel-only1.1.6Mike McQuaid
Deprecate Homebrew/versions, Homebrew/devel-only.
2017-01-03cask: remove licenseAlyssa Ross
See https://github.com/Homebrew/brew/pull/1771#issuecomment-270179479.
2017-01-03Deprecate Homebrew/versions, Homebrew/devel-only.Mike McQuaid
Don't use Homebrew/versions in a test and remove them both from the OFFICIAL_TAPS list (i.e. `brew search`).
2017-01-03Use util/github insted of open-uri in GitHubReleaseDownloadStrategyMasayuki Morita
2017-01-03Move error messages in GitHubReleaseDownloadStrategy to raise argumentMasayuki Morita
2017-01-02Merge pull request #1766 from MikeMcQuaid/update-report-incoming-renamesMike McQuaid
update-report: handle homebrew/versions imports.
2017-01-02Merge pull request #1760 from reitermarkus/version-file-separatorVĂ­tor GalvĂŁo
Disallow file separator in version strings.
2017-01-02update-report: handle homebrew/versions imports.Mike McQuaid
Imports from homebrew/versions are migrated from that tap and then renamed immediately when they hit homebrew/core. This did not trigger our previous rename detection so address these to improve the output and handle migration correctly.
2017-01-02bottles: --force-bottle feigns or_later.Mike McQuaid
When reproducing issues with software that hasn’t been bottled yet on your version of macOS it can sometimes be helpful to use `or_later` bottle functionality i.e. just use the bottle for the latest version of macOS available. This maps well to the existing `--force-bottle` argument so it will now act as if the latest bottle has a `or_later` ending.
2017-01-02Disallow file separator in version strings.Markus Reiter
2017-01-02Merge pull request #1745 from vitorgalvao/depends-on-archMarkus Reiter
cask depends_on arch: remove everything but 64-bit intel
2017-01-02New feature: GitHubReleaseDownloadStrategyMasayuki Morita
GitHubReleaseDownloadStrategy downloads tarballs from GitHub Release assets. To use it, add ":using => GitHubReleaseDownloadStrategy" to the URL section of your formula. This download strategy uses GitHub access tokens (in the environment variables GITHUB_TOKEN) to sign the request. This strategy is suitable for corporate use just like S3DownloadStrategy, because it lets you use a private GttHub repository for internal distribution. It works with public one, but in that case simply use CurlDownloadStrategy.
2017-01-02cask depends_on arch: remove everything but 64-bit intelVĂ­tor GalvĂŁo
2017-01-01tests: optlink fake kegs in uninstall testAlyssa Ross
2017-01-01keg: check installed dependencies iff optlinkedAlyssa Ross
2017-01-01keg: keg_only kegs can have installed dependentsAlyssa Ross
2017-01-01keg: update installed dependency resolutionAlyssa Ross
Closes #1525. (See there for a motivation for this change.)
2016-12-31rubocop_todo: autogenerate update.Mike McQuaid
2016-12-31ENV/super: fix set_cpu_flags stub.Mike McQuaid
It should accept arguments. Fixes https://github.com/Homebrew/homebrew-core/issues/8362
2016-12-31Merge pull request #1757 from alyssais/moved_formulaMike McQuaid
keg: handle dependencies of moved/renamed formulae
2016-12-31Merge pull request #1759 from reitermarkus/bsexecMarkus Reiter
Remove `:bsexec` parameter from `SystemCommand`.
2016-12-31keg: test dep fallback with unknown formulaeAlyssa Ross
2016-12-31keg: handle dependencies of moved/renamed formulaeAlyssa Ross
In #1497 I switched from Keg#to_formula for comparing kegs to formulae to comparing the name and tap in the keg's tab to the name and tap of the formula. However, this fails to match if the name and tap of the formula have changed since the keg was installed, so it's clearly better to use Keg#to_formula where possible, and fall back to the information in the tab when #to_formula can't be used.
2016-12-31Merge pull request #1758 from MikeMcQuaid/no-duplicate-formulaeMike McQuaid
formula, ARGV: don't output duplicate formulae.
2016-12-31Merge pull request #1750 from alyssais/fallback_dependenciesMike McQuaid
keg: fall back for dependencies of buggy tabs
2016-12-31Merge pull request #1756 from alyssais/nil_dependentsMike McQuaid
keg: don't return nil dependencies
2016-12-31Merge pull request #1752 from alyssais/uninstalling_dependenciesMike McQuaid
keg: fix fallback dependencies with multiple kegs
2016-12-31formula, ARGV: don't output duplicate formulae.Mike McQuaid
If you specify a formula more than once or it exists in the Cellar with an alias name and the main name (e.g. `qt` and `qt5`) you can see the same formula showing up more than once. Instead, resolve these output lists of formulae such that they are unique based on their `name`. This doesn't use `full_name` as it's `name` that's use for the `Cellar`.