aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd
AgeCommit message (Collapse)Author
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.
2016-10-23dev-cmd/man: use SOURCE_PATH instead of HOMEBREW_LIBRARYJosh Hagins
Don't Repeat Yourself.
2016-10-22Merge pull request #1345 from MikeMcQuaid/rubocop-styleMike McQuaid
Update Rubocop style.
2016-10-22Merge pull request #1310 from MikeMcQuaid/changelogMike McQuaid
Add `brew release-notes` developer command.
2016-10-22Update Rubocop style.Mike McQuaid
Another look at the current Rubocop rules and how they fit with our existing and desired future style. Almost all of these changes were automatic. Split some rules between formulae/brew where brew doesn't have millions of cases that need fixed.
2016-10-22Add `brew release-notes` developer command.Mike McQuaid
Outputs the merged pull requests on Homebrew/brew between two Git refs.
2016-10-18audit: don't complain about trailing whitespace.Mike McQuaid
This is handled by `brew style` now.
2016-10-15Merge pull request #1290 from maxnordlund/patch-1Mike McQuaid
Fix wrong ordering on when clauses in audit.rb
2016-10-15Fix when clause ordering.Max Nordlund
2016-10-15Rename tap-readme command to tap-new.Mike McQuaid
Write the README but also a `.travis.yml` file (and in future perhaps a `Jenkinsfile`).
2016-10-14Fix wrong ordering on when clauses in audit.rbMax Nordlund
It looks like a rebase/merge conflict remmenet.
2016-10-12Deprecate apr requirement.Mike McQuaid
It's not used on enough configurations now that there's little point in keeping it around. See e.g. `:autoconf` for prior art.
2016-10-05audit: forbid `deprecated_option` in new formulaeJonathan Chang
2016-10-04Merge pull request #1145 from reitermarkus/module-functionMarkus Reiter
Use `module_function` for `Homebrew` module.
2016-10-03Merge pull request #1193 from MatzFan/fix_verbose_testsMike McQuaid
fix tests failing when verbose set
2016-10-02update-test: fix tag updating, skip core tap.Mike McQuaid
Fix updating the `stable` branch used for tagged updates and ensure that the core tap isn’t retapped (the slowest part by far of this test).
2016-10-02Fix `Tty.gray`.Markus Reiter
2016-10-02Merge pull request #823 from reitermarkus/refactoring-ttyMarkus Reiter
Refactor Tty.
2016-10-02Remove `private_class_method` from commands.Markus Reiter
2016-10-02Use `module_function` for commands.Markus Reiter
2016-10-01Merge pull request #1169 from reitermarkus/rubocop-separate-configsMike McQuaid
Use separate RuboCop configs for formulae and core code.
2016-10-01Add `Formatter` module.Markus Reiter
2016-10-01Refactor Tty.Markus Reiter