aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/audit.rb
AgeCommit message (Collapse)Author
2015-01-26audit: stop red-flagging devel-onlyDominyk Tiller
Currently the bot is failing certain devel-only formulae because it thinks having ` devel ` defined with an added ` head ` defined as well = a head-only formula. ``` ==> audit problems docker-machine: * Head-only (no stable download) ``` This is a pretty simple fix for that problem: ``` ==> brew style docker-machine 1 file inspected, no offenses detected ``` Closes #36197. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-22Deprecate GithubGistFormulaJack Nagel
Closes #36094.
2015-01-22Audit check for gnome unstable as stableJack Nagel
2015-01-06audit: improve ssl/tls detectionDominyk Tiller
I don’t know how maintainers are going to feel about this, to be honest. If it’s too clunky, perhaps we could externalise the entire two main blocks here and then require that file into the audit instead? Basically, I’m pushing changes here to better detect a wide-array of SSL/TLS available links that either have no auto-redirect in place or is a common linking error in formulae. I haven’t spotted any false positives yet, but obviously, feel free to try and break the changes and I’ll fix as necessary ;). IMO, this would allow us gradual updates without having to mass-update everything at once and stress the bot and inform users they have hundreds of updates pending when really it’s just style/basic changes. Closes #35551. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-05audit (strict): only run `brew style` with Ruby 2.Mike McQuaid
2015-01-04audit: also run `brew style` on `--strict`.Mike McQuaid
Closes #35465. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-02audit: system check fixed for multiple argumentsBaptiste Fontaine
Closes #35459. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-12-27Revert "audit (strict): check for use double-quotes."Jack Nagel
This reverts commit 8fe14451842dea92bca04116ba043421b4f44a6b. Conflicts: Library/Homebrew/cmd/audit.rb
2014-12-27Rename HEAD only tap.Mike McQuaid
2014-12-27audit: simplify test defined check.Mike McQuaid
2014-12-27audit: improve FileUtils check.Mike McQuaid
Match the parens properly and only interpolate once. Closes #35288. Closes #35291.
2014-12-27audit (strict): add require formula check.Mike McQuaid
2014-12-27audit (strict): check a test is present.Mike McQuaid
2014-12-27audit (strict): whitelist 32-bit in options check.Mike McQuaid
2014-12-27audit (strict): check for use double-quotes.Mike McQuaid
2014-12-27audit (strict): check for use of spaces in system.Mike McQuaid
2014-12-27audit: check for use of FileUtils methods.Mike McQuaid
2014-12-27audit: check options when in strict mode.Mike McQuaid
2014-12-27audit: add strict mode, argument.Mike McQuaid
2014-12-22Fix formula template comment auditJack Nagel
2014-12-22Deprecate appending the CVS module name to the URL stringJack Nagel
2014-12-19Deprecate made-up URL schemesJack Nagel
This deprecates URLs that begin with the following fake URL schemes: bzr:// cvs:// hg:// fossil:// svn+http:// Despite their appearance, they are not actually accepted by the corresponding tools. They exist only as hints to the download strategy detection code, and are stripped from the URL before the URL is handed off to the VCS program. This is not documented, and may lead one to believe it is a valid URL that can be used elsewhere, when it actually only works inside Homebrew. We have a better mechanism for specifying the download strategy that is straightforward and explicit: :using => :hg Recommend that instead. Closes #35114.
2014-12-18Deprecate UnsafeSubversionDownloadStrategyJack Nagel
2014-11-12One less place where Formula is reopenedJack Nagel
2014-11-12Exempt the head-only tap from the head-only audit warningJack Nagel
2014-10-29audit: compare file mode directlyJack Nagel
2014-10-29Rename "f" to "formula" in the installerJack Nagel
2014-10-18Deprecate insecure download strategiesJack Nagel
2014-10-17audit: call puts once instead of problems.size + 2 timesJack Nagel
2014-10-17audit: loop over deps onceJack Nagel
2014-10-17Audit devel and head depsJack Nagel
2014-10-13Reorganize post-install checks so we can share more codeJack Nagel
2014-10-13Simplify post-install audit outputJack Nagel
2014-10-13Remove audit whitelistJack Nagel
This is currently unnecessary.
2014-10-02Audit formulæ for easy-install.pth filesTim D. Smith
Closes #32860.
2014-10-01Post-install audit for shadowed header filesJack Nagel
2014-09-23audit: make `has_DATA?` ignore commented-out lineschdiza
Before this change, audit would detect commented-out lines containing the string 'DATA' as if there were no commenting. Then it could complain, e.g., problem "'DATA' was found, but no '__END__'", which would be a false alarm in that circumstance. Closes #32568. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-09-23Audit for outdated devel versionsJack Nagel
2014-09-14audit: access the homepage attribute onceJack Nagel
2014-09-02audit: fix line number typo.Mike McQuaid
Closes #32031.
2014-09-01audit: fix line number off-by-oneJack Nagel
2014-08-21Fix false positive audit warningJack Nagel
2014-07-31Hide the options data structure betterJack Nagel
2014-07-29Remove patch hacks from auditJack Nagel
2014-07-27audit 'def test'Adam Vandenberg
Closes #31120
2014-07-11audit: warn when using old-style patchesJack Nagel
2014-07-01Use predicate methods instead of inspecting the tags arrayJack Nagel
2014-06-19Only "extend self" once on the Homebrew moduleJack Nagel
2014-06-15Fix audit suggestionJack Nagel
2014-06-04audit: read formula text in binmodeJack Nagel