aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd
AgeCommit message (Collapse)Author
2017-06-02audit: fix false negative for formulae options.Mike McQuaid
Handle the case where an if/unless is detected and then write off this line for option handling.
2017-06-02Re-revert "Fix operator spacing."Markus Reiter
2017-05-31audit: Port audit_caveats method to rubocop and add testsGautham Goli
2017-05-30Merge pull request #2704 from MikeMcQuaid/jenkins-brew-shMike McQuaid
Update jenkins.brew.sh links.
2017-05-30Update jenkins.brew.sh links.Mike McQuaid
These previously, incorrectly pointed to bot.brew.sh. Fixes #2703.
2017-05-30audit: Port audit_text method to rubocop and add testsGautham Goli
2017-05-29tests: install specific Bundler version.Mike McQuaid
Otherwise `brew tests` fails with the latest. See the failing Homebrew/homebrew-test-bot `master` build as an example.
2017-05-29Fixup all RuboCop warnings.Mike McQuaid
2017-05-29Use parallel RuboCopMike McQuaid
This requires updating to Rubocop 0.49.0 which will require some fixes to rules, in Homebrew/brew and Homebrew/homebrew-core but opening this for now so I remember.
2017-05-29update-test: tweak more edge cases.Mike McQuaid
Don't try to `fetch --depth=1` unless we've confirmed the repository is already shallow. Otherwise this can discard history from a full clone. Additionally, if the repository wasn't shallow but there's no tags found assume that Git is too old and try a naive sort if on Linux where `sort` is able to sort versions.
2017-05-29update-test: improve no tags found messaging.Mike McQuaid
Currently you just get `Could not find start commit!` which is not as explicit as it could be.
2017-05-21Merge pull request #2658 from JCount/audit-fix-versioned-aliases-homebrew-coreJCount
audit: fix versioned alias errors in homebrew/core introduced in a7c6a57
2017-05-22Change error messages.Markus Reiter
2017-05-22Use `FormulaVersions` for checksum check.Markus Reiter
2017-05-22Add the same check for Formulae.Markus Reiter
2017-05-21audit: fix versioned alias errors in homebrew/core introduced in a7c6a57JCount
This fixes #2657 which in turn were caused by an oversight in #2664
2017-05-20Merge pull request #2644 from JCount/audit-fix-tap-versioned-aliasesMike McQuaid
audit: fix full versioned alias name resolution in taps
2017-05-18Merge pull request #2537 from reitermarkus/pathname-to_strMarkus Reiter
Remove `to_s` from some `Pathname`s.
2017-05-17audit: fix full versioned alias name resolution in tapsJCount
This fixes an issue where audit would prompt for the creation of an already existing versioned alias while at the same time declaring the existing alias invalid.
2017-05-15Merge pull request #2631 from GauthamGoli/audit_homepage_rubocop1.2.1Mike McQuaid
audit: Port audit_homepage method to rubocop and add tests
2017-05-14Port audit_homepage method to rubocop and add testsGautham Goli
2017-05-14Merge pull request #2627 from MikeMcQuaid/audit-fix-option-detectionMike McQuaid
audit: fix dependency option detection.
2017-05-13audit: fix dependency option detection.Mike McQuaid
Instead of trying to do this all with a single regex give up and do a two stage process. Eventually I'll end up implementing a full ruby parser here :troll:.
2017-05-09audit: more checks for versioned aliases.Mike McQuaid
Check that a required versioned alias has a valid name (rather than assuming it’s fine based on it’s existence alone) and check for the presence of invalid version aliases. This should handle the case where someone bumps a formula but forgets to rename the alias that’s mentioned in #2596.
2017-05-08Remove `to_s` from some `Pathname`s.Markus Reiter
2017-05-08Travis CI tweaks.Mike McQuaid
Attempt to improve Travis CI. This time without any vendoring gems nonsense.
2017-05-07Revert "Merge pull request #2597 from MikeMcQuaid/vendor-gems"Mike McQuaid
This reverts commit 3e4547f52e7ebec633f8bfefc8a396d944edf908, reversing changes made to 6edf9382bcc1240ad6f97c8b752cfe56cef9965d.
2017-05-07Revert "Merge pull request #2602 from MikeMcQuaid/travis-ci-tweaks"Mike McQuaid
This reverts commit 8d948e4b0b55912c592d34cb5ea83c649b1f9d5e, reversing changes made to 2372872974d1049c2beafe7dedb7f8f882502058.
2017-05-07Travis CI tweaksMike McQuaid
Tweak our Travis CI configuration and the one we suggest for taps to be faster and use caching.
2017-05-07Vendor all Homebrew's gems.Mike McQuaid
Homebrew's actually ended up using a fair few gems. While we want to avoid Bundler at runtime (and this PR still does that, in fact uses Bundler even less at runtime than it did before) writing our own version to use at build-time seems redundant.
2017-05-03Merge pull request #2531 from GauthamGoli/audit_cops_options_refactorMike McQuaid
audit: Allow skipping/selective running of cops and cops refactor
2017-05-03Add `--only-cops`,`--except-cops` options for brew style and simplify cop namesGautham Goli
2017-05-02audit: match start of string, not lineDominyk Tiller
2017-05-02audit: whitelist 'Firefox' in keg_only_styleDominyk Tiller
2017-05-02Add `--only-cops`,`--except-cops` options for brew auditGautham Goli
Also refactor audit cops into two "departments" - FormulaAudit - FormulaAuditStrict
2017-05-02Let cops run without --strict flagGautham Goli
2017-05-01audit: add audit_keg_only_styleDominyk Tiller
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.