aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd
AgeCommit message (Collapse)Author
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-07Merge pull request #2841 from mistydemeo/formula_assertions_constantMike McQuaid
Define a custom assertion failure error for cross-version compat
2017-07-07test: use Test::Unit class.Mike McQuaid
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-07-02Merge pull request #2842 from GauthamGoli/audit_only_cops_optionMike McQuaid
audit: Don't run audit methods when `--only-cops` option is passed
2017-07-01Merge pull request #2829 from mislav/bump-formula-pr-unshallowilovezfs
Fix `bump-formula-pr` when working with a shallow git clone
2017-06-30audit: Don't run audit methods when `--only-cops` is passedGautham Goli
2017-06-29Define a custom assertion failure error for cross-version compatMisty De Meo
Fixes #2840.
2017-06-29Strip trailing newlineMislav Marohnić
2017-06-28audit: ask for full_index patchesMisty De Meo
2017-06-27Fix unshallowing taps in `bump-formula-pr`Mislav Marohnić
Never try to unhshallow full clones.
2017-06-27Fix `bump-formula-pr` when working with a shallow git cloneMislav Marohnić
Creating a fork and pushing to it doesn't work when the repository in question is a shallow clone. By default, Homebrew clones all taps in shallow mode unless `--full` was passed or $HOMEBREW_DEVELOPER was set.
2017-06-25Merge pull request #2823 from MikeMcQuaid/test-simplify-minitestMike McQuaid
test: simplify minitest inclusion.
2017-06-25test: simplify minitest inclusion.Mike McQuaid
The previous version seems needlessly complicated given we only support a single Ruby version. It was also blowing up on Bundler 1.15.X.
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-24Merge pull request #2816 from MikeMcQuaid/test-needs-linkMike McQuaid
test: require non-keg-only formulae to be linked.
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-23test: require non-keg-only formulae to be linked.Mike McQuaid
This can be overridden with `--force`. As mentioned in: https://github.com/Homebrew/homebrew-core/pull/14525#issuecomment-307838164
2017-06-16audit: Port audit_checksum method to rubocop and add testsGautham Goli
2017-06-12Merge pull request #2769 from MikeMcQuaid/rubocop-no-perl-backrefs1.2.3Mike McQuaid
rubocop: don’t allow Perl regex backrefs.
2017-06-12Merge pull request #2767 from MikeMcQuaid/rubocop-no-special-global-varsMike McQuaid
rubocop: don’t allow special global variables.
2017-06-12Autocorrect Rubocop Style/SpecialGlobalVars.Mike McQuaid
2017-06-10create: specify homebrew-core test requirements.Mike McQuaid
As requested in https://github.com/Homebrew/homebrew-core/pull/14419.
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-08Merge pull request #2746 from MikeMcQuaid/cleanup-testsMike McQuaid
tests: cleanup tests.
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-07tests: cleanup tests.Mike McQuaid
Remove pending tests that are never run on CI (i.e. require `--online`), remove fixtures for those tests and just make `--official-cmd-taps` run by `--online` instead.
2017-06-07edit: tweak default editors.Mike McQuaid
Add `atom` (not my editor of choice [TextMate for life!]) but widely used enough to probably warrant it. Also, reorder based on my best guestimates of current usage and cleanup the editor code while we're here.
2017-06-03release-notes: fix style complaint.Mike McQuaid
2017-06-03audit: fix pypi strict audit capture group.Mike McQuaid
2017-06-03release-notes: include PR author names.Mike McQuaid
Attribution is love.
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-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