| Age | Commit message (Collapse) | Author |
|
- Use macOS Sierra 10.12 and Xcode 8.
- Add indentation.
|
|
As these may be migrations from another tap where we want to migrate
options across correctly.
|
|
compat: deprecate Utils::JSON in favor of corelib JSON.
|
|
|
|
|
|
audit: don't check devel version_scheme/revision.
|
|
audit: check for HOMEBREW_PREFIX test path usage.
|
|
This is also not allowed.
As seen in https://github.com/Homebrew/homebrew-core/pull/6996.
|
|
bump-formula-pr: add --message option
|
|
|
|
For user-supplied PR message.
|
|
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.
|
|
|
|
|
|
|
|
|
|
audit: only check previous formula version.
|
|
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.
|
|
Fixes the exception if `revision_map[formula.stable.version]` is `nil`.
|
|
- 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!)
|
|
|
|
Fix the "version should not decrease" check so it correctly handles
`version_scheme`s.
Fixes #1489.
|
|
bottle: improve relocatability check
|
|
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.
|
|
This avoids issues with names containing special characters like e.g. [
Fixes #1431
|
|
...and update man pages where applicable
|
|
audit: check more unscoped test calls.
|
|
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.
|
|
Ensure that the name is suffixed with whitespace or quotes.
|
|
Also check `def test`, `shell_output`, `pipe_output` and method calls
using parentheses.
|
|
boneyard-formula-pr: add reason argument.
|
|
Used to provide a user-facing reason why this formula was boneyarded.
|
|
|
|
This will prevent brew upgrade from working correctly.
|
|
audit: check test system calls are fully scoped.
|
|
audit: check for master branch tar/zipballs.
|
|
|
|
Move `test/vendor/bundle` to `vendor/bundle`.
|
|
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.
|
|
These have unstable checksums and aren't the tagged, stable releases
we require.
|
|
audit: check the version does not decrease.
|
|
|
|
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.
|
|
audit: check for alpha/beta/rc usage in URLs.
|
|
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/.
|
|
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.
|
|
`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.
|
|
|
|
Stable URLs should not use unstable versions.
|
|
This will prevent `brew upgrade` from working correctly.
|