aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd
AgeCommit message (Collapse)Author
2017-01-09Merge pull request #1806 from MikeMcQuaid/audit-virtualenv-setuptools1.1.7Mike McQuaid
audit: check virtualenv and setuptools resource.
2017-01-09audit: check virtualenv and setuptools resource.Mike McQuaid
`virtualenv_install_with_resources` will automatically define and install a `setuptools` resource so this is unnecessary. References https://github.com/Homebrew/homebrew-core/pull/8570
2017-01-09bump-formula-pr: check for URL presence.Mike McQuaid
If it's not there, produce a nicer error. Fixes #1805.
2017-01-07Allow `brew audit` to fake a Safari user-agent.Mike McQuaid
This allows us to detect if homepages such as e.g. `aiccu` which blocks `curl` are up or not.
2017-01-04Use docs.brew.sh links.Mike McQuaid
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.
2016-12-30audit: use new curl_args form.Mike McQuaid
This will use Curl’s default user agent to reduce homepage errors and provides a function that can be used for other audits to perform similar tests on URLs.
2016-12-29audit: improve reliability of homepage audit.Mike McQuaid
- Don't run on Yosemite where the system Curl is too old for some modern HTTPS homepages - Try up to 3 times in case of transient failures.
2016-12-29audit: don't allow openssl & libressl dependency.Mike McQuaid
Formulae should not depend on both OpenSSL and LibreSSL (even optionally). This is to avoid descending into madness where every formulae that could use LibreSSL has to have option and switching logic. Homebrew has standardised on OpenSSL and will do so everywhere that LibreSSL is not a hard requirement.
2016-12-23Merge pull request #1719 from zmwangx/strip-x11-from-new-formula-templateMike McQuaid
create: remove :x11 dep from new formula template
2016-12-23Merge pull request #1715 from zmwangx/bump-formula-pr-fix-removal-of-old-mirrorMike McQuaid
bump-formula-pr: fix removal of old mirrors
2016-12-23Merge pull request #1663 from tschoonj/meson-create-supportMike McQuaid
brew create: add meson support
2016-12-23Merge pull request #1693 from broder/homepage_checkMike McQuaid
Updated homepage 404 check to use explicit parameters and return the …
2016-12-22create: remove :x11 dep from new formula templateZhiming Wang
2016-12-22bump-formula-pr: fix removal of old mirrorsZhiming Wang
Previously, old mirrors are only removed if the requested spec is stable, and if the mirror lines only have two leading spaces. This leads to stale mirror line(s) when the formula a stable block like stable do url "http://example.com/v1.0.tar.gz" mirror "http://example.net/v1.0.tar.gz" end where the mirror line is lead by four spaces. In this commit, we discard the /(^ mirror .*\n)?/ pattern, and instead create a pattern with the exact url and flexible leading spaces for each mirror of the requested spec.
2016-12-20audit: fix 32-bit check.Mike McQuaid
2016-12-20Merge pull request #1695 from MikeMcQuaid/audit-revision-map-nilMike McQuaid
audit: handle a nil revision map.
2016-12-20Merge pull request #1698 from MikeMcQuaid/deprecate-32-bitMike McQuaid
Deprecate 32-bit options.
2016-12-20Deprecate 32-bit options.Mike McQuaid
These were formerly supported but as it has been a very long time since 32-bit software was necessary on macOS these have been deprecated with a `brew audit` warning and a future `odeprecated`.
2016-12-19brew create: add meson supportTom Schoonjans
meson is quickly gaining popularity as build system, in combination with ninja. Several Gnome projects for example are currently transitioning from autotools to meson, mostly because it allows for Visual Studio builds, which is impossible to accomplish with autotools. In order to facilitate generating meson based Formulas, I added support for meson to brew-create.
2016-12-19MarkupsDavid Broder-Rodgers
2016-12-18audit: handle a nil revision map.Mike McQuaid
2016-12-18audit: don't allow use of OS.mac?/OS.linux?.Mike McQuaid
Forbid their use in Homebrew/core which only supports macOS. This may be added to more/all official taps in future.
2016-12-18Updated homepage 404 check to use explicit parameters and return the status codeDavid Broder-Rodgers
2016-12-18create: handle Version::NULL correctly.Mike McQuaid
Fixes #1688.
2016-12-13audit: flag use of "fails_with :llvm".Mike McQuaid
Also, add TODOs for deprecating this properly at a later point.
2016-12-07Merge pull request #1629 from ↵Mike McQuaid
zmwangx/bump-formula-pr-download-to-correct-version bump-formula-pr: use correct version in download path when --version is specified
2016-12-06bump-formula-pr: use correct version in downloadZhiming Wang
When a --version is specified, use this specified version in the name of the downloaded file rather than the default that is parsed from the URL. For instance, brew bump-formula-pr --devel \ --url=http://www.zsh.org/pub/development/zsh-5.2-test-2.tar.gz \ --version=5.2-test-2 zsh should download to $HOMEBREW_CACHE/zsh-5.2-test-2.tar.gz (correct behavior after this commit) rather than $HOMEBREW_CACHE/zsh-2.tar.gz (wrong behavior before this commit).
2016-12-06boneyard-formula-pr: checkout last branch when doneZhiming Wang
Make its behavior more consistent with that of bump-formula-pr.
2016-12-06boneyard-formula-pr: use ohai to print messagesZhiming Wang
Make its behavior more consistent with that of bump-formula-pr.
2016-12-03tap-new: use latest Travis CI recommended config.Mike McQuaid
Pretty sure no-one cares about this except me but this works consistently across a variety of different taps and is faster than the old version.
2016-11-26tap-new: cleanup and update Travis configuration.Mike McQuaid
- Use macOS Sierra 10.12 and Xcode 8. - Add indentation.
2016-11-23audit: allow deprecated options on new @ formulae.Mike McQuaid
As these may be migrations from another tap where we want to migrate options across correctly.
2016-11-21Merge pull request #1542 from woodruffw/deprecate-utils-jsonMike McQuaid
compat: deprecate Utils::JSON in favor of corelib JSON.
2016-11-20Replace Utils::JSON with corelib JSON calls.William Woodruff
2016-11-20audit: check formula name against blacklisted names.William Woodruff
2016-11-18Merge pull request #1528 from MikeMcQuaid/audit-devel-revisionMike McQuaid
audit: don't check devel version_scheme/revision.
2016-11-18Merge pull request #1530 from MikeMcQuaid/audit-homebrew-prefix-test-pathMike McQuaid
audit: check for HOMEBREW_PREFIX test path usage.
2016-11-18audit: check for HOMEBREW_PREFIX test path usage.Mike McQuaid
This is also not allowed. As seen in https://github.com/Homebrew/homebrew-core/pull/6996.
2016-11-18Merge pull request #1512 from zmwangx/bump-formula-pr-user-supplied-messageMike McQuaid
bump-formula-pr: add --message option
2016-11-17tests: ignore test files in test/vendor/bundleJosh Hagins
2016-11-17bump-formula-pr: add --message optionZhiming Wang
For user-supplied PR message.
2016-11-17audit: don't check devel version_scheme/revision.Mike McQuaid
These are formulae-wide so doesn't make sense to iterate through these for specs and get weird results. As seem in https://github.com/Homebrew/homebrew-core/pull/6952.
2016-11-16Move test files back directly to `test/`.Markus Reiter
2016-11-16Rename `fs_leak_log` to `fs_leak.log` and move to `tmp`.Markus Reiter
2016-11-16Update `.rubocop_todo.yml`.Markus Reiter
2016-11-16Reorder and rename test files.Markus Reiter
2016-11-16Merge pull request #1522 from MikeMcQuaid/audit-one-previous-commit1.1.1Mike McQuaid
audit: only check previous formula version.
2016-11-16audit: only check previous formula version.Mike McQuaid
For calculating the stable/devel versions this should be sufficient as it's looking at `origin/master` so for a e.g. unmerged pull request this will stop complaining about mistakes outside the pull request itself. This will silence all warnings for historic version mistakes (i.e. before these audit checks were all enabled) which is normally a bad thing but as this case would rely on modifying history to complete is a good one.
2016-11-16audit: check that there are any stable revisions.Mike McQuaid
Fixes the exception if `revision_map[formula.stable.version]` is `nil`.