| Age | Commit message (Collapse) | Author |
|
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.
|
|
Don't Repeat Yourself.
|
|
Update Rubocop style.
|
|
Add `brew release-notes` developer command.
|
|
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.
|
|
Outputs the merged pull requests on Homebrew/brew between two Git refs.
|
|
This is handled by `brew style` now.
|
|
Fix wrong ordering on when clauses in audit.rb
|
|
|
|
Write the README but also a `.travis.yml` file (and in future perhaps a
`Jenkinsfile`).
|
|
It looks like a rebase/merge conflict remmenet.
|
|
It's not used on enough configurations now that there's little point in
keeping it around. See e.g. `:autoconf` for prior art.
|
|
|
|
Use `module_function` for `Homebrew` module.
|
|
fix tests failing when verbose set
|
|
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).
|
|
|