| Age | Commit message (Collapse) | Author |
|
Handle the case where an if/unless is detected and then write off this
line for option handling.
|
|
|
|
|
|
Update jenkins.brew.sh links.
|
|
These previously, incorrectly pointed to bot.brew.sh.
Fixes #2703.
|
|
|
|
Otherwise `brew tests` fails with the latest. See the failing
Homebrew/homebrew-test-bot `master` build as an example.
|
|
|
|
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.
|
|
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.
|
|
Currently you just get `Could not find start commit!` which is not as
explicit as it could be.
|
|
audit: fix versioned alias errors in homebrew/core introduced in a7c6a57
|
|
|
|
|
|
|
|
This fixes #2657 which in turn were caused by an oversight in #2664
|
|
audit: fix full versioned alias name resolution in taps
|
|
Remove `to_s` from some `Pathname`s.
|
|
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.
|
|
audit: Port audit_homepage method to rubocop and add tests
|
|
|
|
audit: fix dependency option detection.
|
|
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:.
|
|
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.
|
|
|
|
Attempt to improve Travis CI. This time without any vendoring gems
nonsense.
|
|
This reverts commit 3e4547f52e7ebec633f8bfefc8a396d944edf908, reversing
changes made to 6edf9382bcc1240ad6f97c8b752cfe56cef9965d.
|
|
This reverts commit 8d948e4b0b55912c592d34cb5ea83c649b1f9d5e, reversing
changes made to 2372872974d1049c2beafe7dedb7f8f882502058.
|
|
Tweak our Travis CI configuration and the one we suggest for taps to
be faster and use caching.
|
|
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.
|
|
audit: Allow skipping/selective running of cops and cops refactor
|
|
|
|
|
|
|
|
Also refactor audit cops into two "departments"
- FormulaAudit
- FormulaAuditStrict
|
|
|
|
|
|
audit: formally ban go get usage
|
|
The status code of the last redirect should be 2xx to be deemed successful.
|
|
There's been an informal ban for a while but let's
be punchier because this crops up still.
|
|
Make sure that `if build.with?` isn't caught.
|
|
Update this to the current latest Travis CI supports (which we're using)
|
|
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.
|
|
This was removed in #2540 but this call site was note updated to use
the `search_taps` method instead.
|
|
audit: audit_components method to rubocops and tests
|
|
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.
|
|
Hide sensitive tokens from install/test/post.
|
|
More deprecations.
|
|
|
|
audit: flip GNU mirror preference.
|