aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd
AgeCommit message (Collapse)Author
2017-04-30Merge pull request #2562 from DomT4/you_shall_not_pass_go_getMike McQuaid
audit: formally ban go get usage
2017-04-29pull: fix status code check in check_bintray_mirrorZhiming Wang
The status code of the last redirect should be 2xx to be deemed successful.
2017-04-28audit: formally ban go get usageDominyk Tiller
There's been an informal ban for a while but let's be punchier because this crops up still.
2017-04-27audit: tweak dependency option audit.Mike McQuaid
Make sure that `if build.with?` isn't caught.
2017-04-27tap-new: bump Xcode to 8.3.Mike McQuaid
Update this to the current latest Travis CI supports (which we're using)
2017-04-26audit: fix audit of new formulae.Mike McQuaid
When auditing new formulae without `--new-formula` the `audit_revision_and_version_scheme` method fails ungracefully. Instead, set some better defaults so fewer checks are needed. Fixes #2551.
2017-04-25audit: fix use of search_tap method.Mike McQuaid
This was removed in #2540 but this call site was note updated to use the `search_taps` method instead.
2017-04-24Merge pull request #2465 from GauthamGoli/audit_components_port_rubocopMike McQuaid
audit: audit_components method to rubocops and tests
2017-04-23Fix audit version_scheme and revision checks.Mike McQuaid
Another attempt at fixing `brew audit` issues around detecting `revision` and `version_scheme` changes correctly. First done in #1754 and #2086 (reverted in #2099 and #2100). To ease future debugging a `ph` helper has been added to print a hash and a series of RSpec tests to verify that the `revision`, `version_scheme` and `version` formula version audits behave as expected. Fixes #1731.
2017-04-23Merge pull request #2524 from MikeMcQuaid/more-env-filtering-fixesMike McQuaid
Hide sensitive tokens from install/test/post.
2017-04-22Merge pull request #2522 from MikeMcQuaid/more-deprecationsMike McQuaid
More deprecations.
2017-04-22Port audit_components method to rubocops and add corresponding testsGautham Goli
2017-04-22Merge pull request #2526 from MikeMcQuaid/audit-gnu-mirror-flipMike McQuaid
audit: flip GNU mirror preference.
2017-04-22Hide sensitive tokens from install/test/post.Mike McQuaid
Hide these tokens to avoid malicious subprocesses e.g. sending them over the network. Also, support using these tokens with environment filtering and clear `HOMEBREW_PATH` from subprocesses to stop them sniffing it. Finally, use `HOMEBREW_PATH` to detect Homebrew’s user’s PATH for e.g. `brew doctor` etc.
2017-04-22More deprecations.Mike McQuaid
Deprecate more methods. Internal APIs have been verified to be unused elsewhere and removed. External APIs have had deprecation methods added. Existing deprecations have been either upgraded to produce warnings or no longer deprecated and the reasoning documented.
2017-04-22Merge pull request #2484 from MikeMcQuaid/unversion-formula-tap-matchMike McQuaid
audit: lookup unversioned formulae with Formulary.
2017-04-22audit: flip GNU mirror preference.Mike McQuaid
Now that both the primary and mirror URLs use HTTPS we can flip these around so the primary URL is the primary URL and we don't have problems with waiting for mirror propagation.
2017-04-22audit: lookup unversioned formulae with Formulary.Mike McQuaid
This means that if e.g. the unversioned formulae exists in another tap this audit won't produce a false positive.
2017-04-22tests: reduce some noise.Mike McQuaid
- Tweak the way offline skipping happens - Skip more tests that break when offline - Hide more stdout output from tests.
2017-04-22Merge pull request #2482 from MikeMcQuaid/audit-dependency-optionsMike McQuaid
audit: ensure default dependencies don't use options.
2017-04-21audit: ensure dependencies don't use options.Mike McQuaid
Option dependencies are nasty as they cause unnecessary builds from source.
2017-04-21audit: new formulae should not require patches.Mike McQuaid
We may under some circumstances accept these anyway but it's better to nudge people into the right behaviours on local `audit`s.
2017-04-20Merge pull request #2274 from rwhogg/fuse-requirementMike McQuaid
Port OsxfuseRequirement to Linux
2017-04-19audit: fix swapped audit messagesSteven Peters
2017-04-18Merge pull request #2478 from MikeMcQuaid/audit-skip-methodsMike McQuaid
audit: allow skipping audit methods.
2017-04-18create: use GitHub metadata where available.Mike McQuaid
GitHub provides a description and homepage field so let `brew create` use them where possible. Also, detect GitHub repositories based on `releases` as well as `archive`s.
2017-04-18audit: allow skipping audit methods.Mike McQuaid
Add `--only` and `--except` methods which can be used to selectively enable or disable audit groups.
2017-04-17Merge pull request #2477 from MikeMcQuaid/audit-more-universalMike McQuaid
audit: check for more universal usage.
2017-04-17Merge pull request #2473 from MikeMcQuaid/audit-language-module-requirementsMike McQuaid
audit: deprecate language module requirements.
2017-04-15Only run Linux-specific tests on LinuxBob W. Hogg
2017-04-10audit: don't recommend version aliases on --devel.Mike McQuaid
As requested in #11462 by @neutric as this produces confusing, incorrect output.
2017-04-10audit: deprecate language module requirements.Mike McQuaid
Make `brew audit` complain about language module requirements because they provide a crappy user experience compared to vendoring and we’re not really fixing bugs in them any more.
2017-04-10audit: check for more universal usage.Mike McQuaid
Also check for `ENV.universal_binary` and `build.universal?`. The prior is still required for `wine` and the latter should never be required any longer.
2017-04-05Merge pull request #2242 from GauthamGoli/audit_custom_copsMike McQuaid
Port audit_desc audit rules to a cop
2017-04-04audit: fix core formula alias check.Mike McQuaid
Was missing a formula object being passed.
2017-04-02Document all short flags.Mike McQuaid
2017-04-02man: strip </?var> from Markdown output.Mike McQuaid
2017-03-30Merge pull request #2414 from sjackman/update-test-fetch-shallowMike McQuaid
update-test: Use git fetch --tags --depth=1
2017-03-30Merge pull request #2399 from MikeMcQuaid/unversioned-formulae-checkMike McQuaid
audit: check for unversioned formulae.
2017-03-30Merge pull request #2392 from MikeMcQuaid/cleanup-tapsMike McQuaid
Update all references to taps.
2017-03-29audit: Fix cctools invocation check regular expression.William Woodruff
Additionally, ignore the cctools formula itself, since it obviously needs to check cctools invocations.
2017-03-28Merge pull request #1828 from woodruffw/audit-cctoolsWilliam Woodruff
audit: Check for invocations of cctools.
2017-03-28update-test: Use git fetch --tags --depth=1Shaun Jackman
Use git fetch --tags --depth=1 to fetch fewer commits.
2017-03-28update-test: improve error handling.Mike McQuaid
Fail if the start or end commit are missing and retry finding the previous tag by fetching all tags if they are missing. This should fix CI on the current Homebrew/brew `master` branch. Closes #2404.
2017-03-26audit: bump whitelisted elm-format version to 0.6.0-alphailovezfs
2017-03-26audit: check for unversioned formulae.Mike McQuaid
If we're adding a versioned formulae we want to ensure that there's also an unversioned one too.
2017-03-26Merge pull request #2393 from raza15/raza2Mike McQuaid
updating the exception for "kibana" for the "@" naming scheme. File changed: audit.rb
2017-03-26Update all references to taps.Mike McQuaid
- Remove taps that are (or will shortly be) deprecated. - Remove commands that are only relevant to the boneyard (which will shortly be removed).
2017-03-26indentingRaza Hussain
2017-03-26changing if conditionRaza Hussain