| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
installer command accepts -applyChoiceChangesXML option to change
customize options on the GUI installer from the commandline.
(`man installer` for more detailed information)
The introduced option `choice` enables the choice changes to be supplied
via pkg stanza without tricks in preflight code.
|
|
When a formula depends on any requirements, they evaluated at most three times:
before locking, before installing dependent, before building formula.
When a non-fatal requirement is specified and thus evaluated three times,
mostly the same warning message is also emitted three times.
This change restricts printing the warning messages only when a bottle is
successfully installed or before building.
Since this timing is after the final dependency computation for each cases,
the warnings will be most useful to check what is not yet satisfied.
|
|
Fix flaky tests.
|
|
This isn't defined for formulae.
|
|
Clang has fully implemented OpenMP support as of LLVM 3.7, so if OpenMP
is required by a formula gcc is no longer the only choice of compiler.
Clang should be preferred over gcc because using gcc meant linking
against libstdc++, which is ABI incompatible with libc++. This may be
unnoticeable for some users, but it causes other builds to fail, e.g.
pstoedit when imagemagick was built with OpenMP. pstoedit is required
for the octave formula, so for some users this could be a significant
problem.
|
|
audit: don't check devel version_scheme/revision.
|
|
uninstall: ignore deprecations when uninstalling.
|
|
audit: check for HOMEBREW_PREFIX test path usage.
|
|
|
|
Handle `MethodDeprecatedError` because we want people to be able to
uninstall regardless of the content of their formula.
|
|
This is also not allowed.
As seen in https://github.com/Homebrew/homebrew-core/pull/6996.
|
|
bump-formula-pr: add --message option
|
|
utils/json: Replace OkJson with Ruby's core JSON.
|
|
Removes OkJson from vendor/, as Ruby has included its own JSON
parser in corelib since 1.9.x and Homebrew is now guaranteed to be
running on 2.x+.
|
|
|
|
Fix regression caused by #1364.
|
|
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.
|
|
cmd/list: follow aliases
|
|
|
|
This reverts commit 50c964df2ebda125366a94f0e8701eaeb0d98fa7.
|
|
This was causing the flaky tests that #1508 started skipping.
This is the second time that `Formula.installed`'s cache has bitten
me with intermittent test failures, and I'd like it to be the last,
so I've made it so the cache is cleared automatically when a tab is
created. This _should_ mean that the cache is cleared any time it
needs to be, with the exception of when a Keg is created artificially
with no tab. I don't think there's anything I can do to automatically
handle that use-case, though.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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`.
|
|
Closes #1514
|
|
|
|
uninstall: remove nil requireds/dependents
|
|
development_tools: don't create Versions from `nil`
|
|
This cause issues when e.g. using `debrew.rb` on a failing `system`
command in a formula.
|
|
These shouldn’t get here in the first place so this is a bit of a hack
pending a better fix.
|
|
These will be fixed properly later but this will avoid causing
unnecessary CI failures.
|
|
- 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!)
|
|
Warn developers when uninstalling a dependency
|
|
Add "null version" class, and return compiler versions/build versions as Version objects
|
|
Update RuboCop to 0.45.0.
|