aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd
AgeCommit message (Collapse)Author
2016-11-26tap-new: cleanup and update Travis configuration.Mike McQuaid
- Use macOS Sierra 10.12 and Xcode 8. - Add indentation.
2016-11-23audit: allow deprecated options on new @ formulae.Mike McQuaid
As these may be migrations from another tap where we want to migrate options across correctly.
2016-11-21Merge pull request #1542 from woodruffw/deprecate-utils-jsonMike McQuaid
compat: deprecate Utils::JSON in favor of corelib JSON.
2016-11-20Replace Utils::JSON with corelib JSON calls.William Woodruff
2016-11-20audit: check formula name against blacklisted names.William Woodruff
2016-11-18Merge pull request #1528 from MikeMcQuaid/audit-devel-revisionMike McQuaid
audit: don't check devel version_scheme/revision.
2016-11-18Merge pull request #1530 from MikeMcQuaid/audit-homebrew-prefix-test-pathMike McQuaid
audit: check for HOMEBREW_PREFIX test path usage.
2016-11-18audit: check for HOMEBREW_PREFIX test path usage.Mike McQuaid
This is also not allowed. As seen in https://github.com/Homebrew/homebrew-core/pull/6996.
2016-11-18Merge pull request #1512 from zmwangx/bump-formula-pr-user-supplied-messageMike McQuaid
bump-formula-pr: add --message option
2016-11-17tests: ignore test files in test/vendor/bundleJosh Hagins
2016-11-17bump-formula-pr: add --message optionZhiming Wang
For user-supplied PR message.
2016-11-17audit: don't check devel version_scheme/revision.Mike McQuaid
These are formulae-wide so doesn't make sense to iterate through these for specs and get weird results. As seem in https://github.com/Homebrew/homebrew-core/pull/6952.
2016-11-16Move test files back directly to `test/`.Markus Reiter
2016-11-16Rename `fs_leak_log` to `fs_leak.log` and move to `tmp`.Markus Reiter
2016-11-16Update `.rubocop_todo.yml`.Markus Reiter
2016-11-16Reorder and rename test files.Markus Reiter
2016-11-16Merge pull request #1522 from MikeMcQuaid/audit-one-previous-commit1.1.1Mike McQuaid
audit: only check previous formula version.
2016-11-16audit: only check previous formula version.Mike McQuaid
For calculating the stable/devel versions this should be sufficient as it's looking at `origin/master` so for a e.g. unmerged pull request this will stop complaining about mistakes outside the pull request itself. This will silence all warnings for historic version mistakes (i.e. before these audit checks were all enabled) which is normally a bad thing but as this case would rely on modifying history to complete is a good one.
2016-11-16audit: check that there are any stable revisions.Mike McQuaid
Fixes the exception if `revision_map[formula.stable.version]` is `nil`.
2016-11-15audit: fix "version should not decrease" (again).Mike McQuaid
- output the max version and current version to make the message more obvious. - Don't compare the development spec version to the formula version and then complain the formula version is lower (it should always be!)
2016-11-13Rename single line block parameters to `acc/elem`.Markus Reiter
2016-11-13audit: fix "version should not decrease" check.Mike McQuaid
Fix the "version should not decrease" check so it correctly handles `version_scheme`s. Fixes #1489.
2016-11-06Merge pull request #1449 from ilovezfs/bottle-improve-relocatability-checkMike McQuaid
bottle: improve relocatability check
2016-11-06bottle: improve relocatability checkilovezfs
Given how common it is for formulae to hard-code `etc` and `var`, check for those paths (`/usr/local/etc` and `/usr/local/var`) when determing relocatability.
2016-11-03audit: Escape interpolated string in regexpBaptiste Fontaine
This avoids issues with names containing special characters like e.g. [ Fixes #1431
2016-11-03Correct a few typosMandar Gokhale
...and update man pages where applicable
2016-11-02Merge pull request #1424 from MikeMcQuaid/audit-more-test-systemMike McQuaid
audit: check more unscoped test calls.
2016-11-02audit: restore check that was lost in #927Steven Peters
This audit check ensures that certain build dependencies are explicitly marked either as `:build` or `:run`. It seems to have been lost in #927. It was also adjusted in #1290.
2016-11-02audit: stricter test system calls check.Mike McQuaid
Ensure that the name is suffixed with whitespace or quotes.
2016-11-02audit: check more unscoped test calls.Mike McQuaid
Also check `def test`, `shell_output`, `pipe_output` and method calls using parentheses.
2016-11-02Merge pull request #1369 from MikeMcQuaid/boneyard-reasonMike McQuaid
boneyard-formula-pr: add reason argument.
2016-10-30boneyard-formula-pr: add reason argument.Mike McQuaid
Used to provide a user-facing reason why this formula was boneyarded.
2016-10-30audit: don't check new formulae revision/versions.Baptiste Fontaine
2016-10-30audit: check the version does not decrease.Mike McQuaid
This will prevent brew upgrade from working correctly.
2016-10-30Merge pull request #1402 from MikeMcQuaid/audit-system-testMike McQuaid
audit: check test system calls are fully scoped.
2016-10-30Merge pull request #1367 from MikeMcQuaid/audit-check-master-branchMike McQuaid
audit: check for master branch tar/zipballs.
2016-10-30Revert "audit: check the version does not decrease."Mike McQuaid
2016-10-30Merge pull request #1400 from reitermarkus/move-bundle-pathMarkus Reiter
Move `test/vendor/bundle` to `vendor/bundle`.
2016-10-29audit: check test system calls are fully scoped.Mike McQuaid
This doesn't matter for everything but it does for the binaries that are installed. Have a limited name/alias check when not installed and a better one that iterates bin/sbin if installed.
2016-10-29audit: check for master branch tar/zipballs.Mike McQuaid
These have unstable checksums and aren't the tagged, stable releases we require.
2016-10-29Merge pull request #1366 from MikeMcQuaid/audit-check-version-decreaseMike McQuaid
audit: check the version does not decrease.
2016-10-29Move `vendor/bundle` up one level to `HOMEBREW_LIBRARY_PATH`.Markus Reiter
2016-10-29update-test: fix --to-tag failure on new tag.Mike McQuaid
Without this updating to a tag will always have the same start commit and end commit as there's been no updates to `master` since the tag was created.
2016-10-25Merge pull request #1365 from MikeMcQuaid/audit-stable-url-betaMike McQuaid
audit: check for alpha/beta/rc usage in URLs.
2016-10-25bottle: fix nonexistent pyc bugZhiming Wang
We were deleting pyc files *after* replace_locations_with_placeholders and recording changed_files, meaning that some of the recorded files were to be deleted. The correct order is the opposite. A sample failed session: https://bot.brew.sh/job/Homebrew%20Core/10080/version=el_capitan/testReport/junit/brew-test-bot/el_capitan/bottle_buku/.
2016-10-24keg_relocate: refactor relocate_text_filesJosh Hagins
Replace relocate_text_files with three methods that clarify intent: replace_locations_with_placeholders, replace_placeholders_with_locations and replace_text_in_files, the first two calling the third.
2016-10-24keg_relocate: cache files rewritten during brew bottleJosh Hagins
`brew bottle` replaces instances of the Homebrew prefix, cellar, and repository with placeholders in all text files. Cache these files in INSTALL_RECEIPT.json so that we don't have to check every single text file for placeholders on install.
2016-10-24Don’t use bare percent literals.Markus Reiter
2016-10-24audit: check for alpha/beta/rc usage in URLs.Mike McQuaid
Stable URLs should not use unstable versions.
2016-10-24audit: check the version does not decrease.Mike McQuaid
This will prevent `brew upgrade` from working correctly.