| Age | Commit message (Collapse) | Author |
|
|
|
Closes #35128.
|
|
|
|
Closes #38479.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
|
|
|
|
|
|
|
|
This reverts commit bcd34ded9e4b17b8658b7ae947cd392a4e5942c0.
Closes #38658.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
|
|
At the moment, every time I pull a new formulae from a tap, I have to
fetch it with the fully qualified name, `brew fetch
homebrew/versions/duck123 `, which is fine, but then I also have to
install, test, and audit it in the same way, which isn’t fixed until I
tap repair, which gets a bit onerous.
This just adds a step to `brew pull` where it does the tap repair
automatically for taps.
Closes #37788.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Closes #38571.
|
|
Otherwise e.g. --debug will be interpreted as a (bad) tap argument.
Closes #38569.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Without this, `brew audit <some formula>` may ask people to change:
system "./script.sh foo-*"
into:
system "./script.sh", "foo-*"
These are not the same. In the first example the shell expansion occurs
while it doesn’t in the second one, breaking the build.
Closes #38540.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Discussion: https://github.com/Homebrew/homebrew/issues/37945
Patch by @jacknagel.
Closes #38492.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
It’s Christmas. New stable OS X version, new Swift version, new Xcode,
new CLT and a new Clang version.
Closes #38468.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Closes #38361.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
|
|
|
|
|
|
Moves from None to Release, but comments out the standard release
CFLAGS so we can continue using our own.
Bumped Libgit2 as an example/test to play with.
Closes #37332, hopefully.
Closes #37361.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
brew deps will fail silently if a formula has dependencies which live in
taps that have not yet been tapped. Delay checking brew deps until after
tap dependencies are discovered.
Closes #38424.
|
|
test-bot expects the dependencies returned from SoftwareSpec#deps to
satisfy is_a?(TapDependency) if they come from a tap which might need to
be tapped.
|
|
Formulas that build python things and which are tested with system
Python will encounter test failures unless system Python is configured
to add Homebrew's site-packages to sys.path. This change makes sure that
configuration is performed in the test environment.
Both lines are needed; the first reads and processes .pth files and the
second makes sure that Homebrew's site-packages is read before the
system extras, so that formulas depending on Homebrew/python/numpy get
the Homebrew/python version and not the old system version.
Closes #38466.
|
|
This is a more standard way to pass fd in UNIX world.
At the same time, it helps to remove a few hacks and
simplifies the code in the sandbox.
Closes #38434.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
Closes #38475.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
Closes #37059.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Closes #37057.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Per requirements.rb:
> XXX If the satisfy block returns a Pathname, then make sure that it
> remains available on the PATH. This makes requirements like
> satisfy { which("executable") }
> work, even under superenv where "executable" wouldn't normally be on the
> PATH.
> This is undocumented magic and it should be removed, but we need to add
> a way to declare path-based requirements that work with superenv first.
Fixes homebrew/homebrew-python#170.
Closes #38448.
|
|
|
|
This means e.g. `elixir` will show up as using `erlang`.
|
|
|
|
Closes #38413.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Closes #38404
|
|
This prevents a downgrade attack.
Closes #38433.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
|
|
|
|
Fixes the bottle regex problem seen in
https://github.com/Homebrew/homebrew-versions/pull/678.
I don’t know whether it’s a good regex, or an awful regex, but it works
and passes `brew tests` and a bottled install. Open to improvements if
anyone has them.
Closes #38333.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
by analogy to similar code in formula.rb.
Permits #37877. Closes #38330.
|
|
Excludes the PyPy paths from the unbrewed list, since we do the same
with Python.
Closes #38399.
|
|
|
|
Comparing PkgVersion and Version objects can produce nonsensical
results. For example, equality is not symmetric:
irb(main):002:0> PkgVersion.new("1.0", 0) == Version.new("1.0")
=> false
irb(main):003:0> Version.new("1.0") == PkgVersion.new("1.0", 0)
=> true
Rather than attempt to deal with subclass-superclass equality, let's use
composition and punt on the problem altogether.
|
|
Closes #38302.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
|
|
|
|
|
|
A hyphen is not a valid character in a Ruby symbol, and the bottle
tag should be a valid Ruby symbol for its use in the bottle stanza.
Closes #38235.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Change [a-z_]+(32)? to [-a-z0-9_]+
The Linuxbrew bottle tag is x86_64-linux.
Closes #32687.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
|
|
Closes #38209.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|