aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd/audit.rb
AgeCommit message (Collapse)Author
2017-07-28audit: Check for style violations when `--new-formula` is passedGautham Goli
2017-07-25audit: Update Urls Cop with more rules of audit_urls and corresponding testsGautham Goli
2017-07-21audit: Port audit_urls partially to rubocop and add corresponding testsGautham Goli
2017-07-15audit: Port audit_options rules for new formulae to rubocop and add testGautham Goli
2017-07-14audit: Port audit_options strict rules to rubocop and add testsGautham Goli
2017-07-13audit: Port audit_options non-strict rules to rubocop and add testsGautham Goli
2017-07-08Merge pull request #2843 from GauthamGoli/audit_conflicts_rubocopMike McQuaid
audit: Port audit_conflicts method to rubocop and add tests
2017-07-07audit: Port audit_conflicts method to rubocop and add testsGautham Goli
2017-07-07audit: don't suggest non-stable versioned alias.Mike McQuaid
Additionally handle the case where a formula has been installed as devel/HEAD rather than just e.g. `brew audit --devel`.
2017-06-30audit: Don't run audit methods when `--only-cops` is passedGautham Goli
2017-06-28audit: ask for full_index patchesMisty De Meo
2017-06-25Merge pull request #2790 from GauthamGoli/audit_legacy_patches_rubocopMike McQuaid
audit: Port audit_legacy_patches method to rubocop and add tests
2017-06-24audit: Port audit_legacy_patches method to rubocop and add testsGautham Goli
2017-06-23audit: don't use Fossies as a primary URL.Mike McQuaid
As requested in: https://github.com/Homebrew/homebrew-core/issues/14486#issuecomment-307753234
2017-06-16audit: Port audit_checksum method to rubocop and add testsGautham Goli
2017-06-10Autocorrect Rubocop Style/PerlBackrefs.Mike McQuaid
2017-06-09Revert "audit: Port audit_checksum method to rubocop and add tests"Mike McQuaid
2017-06-08audit: Port audit_checksum method to rubocop and add testsGautham Goli
2017-06-08audit: ensure curl always has an HTTP url.Mike McQuaid
This makes using `HOMEBREW_CURL` significantly nicer as then the system `curl` (that, on old versions, sucks at SSL) can download a version of `curl` that it can build from source.
2017-06-03audit: fix pypi strict audit capture group.Mike McQuaid
2017-06-03Merge pull request #2726 from MikeMcQuaid/audit-pypi-urlsMike McQuaid
audit: check pypi URLs
2017-06-03Merge pull request #2725 from MikeMcQuaid/audit-formulae-options-fixMike McQuaid
audit: fix false negative for formulae options.
2017-06-02audit: check pypi URLsMike McQuaid
#373 implemented as a strict check (thanks nijikon)
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-30audit: Port audit_text method to rubocop and add testsGautham Goli
2017-05-29Fixup all RuboCop warnings.Mike McQuaid
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-07Revert "Merge pull request #2597 from MikeMcQuaid/vendor-gems"Mike McQuaid
This reverts commit 3e4547f52e7ebec633f8bfefc8a396d944edf908, reversing changes made to 6edf9382bcc1240ad6f97c8b752cfe56cef9965d.
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