| Age | Commit message (Collapse) | Author |
|
create: remove :x11 dep from new formula template
|
|
bump-formula-pr: fix removal of old mirrors
|
|
brew create: add meson support
|
|
Updated homepage 404 check to use explicit parameters and return the …
|
|
|
|
Previously, old mirrors are only removed if the requested spec is
stable, and if the mirror lines only have two leading spaces. This leads
to stale mirror line(s) when the formula a stable block like
stable do
url "http://example.com/v1.0.tar.gz"
mirror "http://example.net/v1.0.tar.gz"
end
where the mirror line is lead by four spaces.
In this commit, we discard the /(^ mirror .*\n)?/ pattern, and instead
create a pattern with the exact url and flexible leading spaces for each
mirror of the requested spec.
|
|
|
|
audit: handle a nil revision map.
|
|
Deprecate 32-bit options.
|
|
These were formerly supported but as it has been a very long time since
32-bit software was necessary on macOS these have been deprecated with
a `brew audit` warning and a future `odeprecated`.
|
|
meson is quickly gaining popularity as build system, in combination with
ninja. Several Gnome projects for example are currently transitioning
from autotools to meson, mostly because it allows for Visual Studio
builds, which is impossible to accomplish with autotools.
In order to facilitate generating meson based Formulas, I added support
for meson to brew-create.
|
|
|
|
|
|
Forbid their use in Homebrew/core which only supports macOS. This may
be added to more/all official taps in future.
|
|
|
|
Fixes #1688.
|
|
Also, add TODOs for deprecating this properly at a later point.
|
|
zmwangx/bump-formula-pr-download-to-correct-version
bump-formula-pr: use correct version in download path when --version is specified
|
|
When a --version is specified, use this specified version in the name of
the downloaded file rather than the default that is parsed from the URL.
For instance,
brew bump-formula-pr --devel \
--url=http://www.zsh.org/pub/development/zsh-5.2-test-2.tar.gz \
--version=5.2-test-2 zsh
should download to $HOMEBREW_CACHE/zsh-5.2-test-2.tar.gz (correct
behavior after this commit) rather than
$HOMEBREW_CACHE/zsh-2.tar.gz (wrong behavior before this commit).
|
|
Make its behavior more consistent with that of bump-formula-pr.
|
|
Make its behavior more consistent with that of bump-formula-pr.
|
|
Pretty sure no-one cares about this except me but this works
consistently across a variety of different taps and is faster than the
old version.
|
|
- 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.
|