| Age | Commit message (Collapse) | Author |
|
This is not a command designed for end-users.
|
|
This adds >1m to every build on every node and it can't actually be
affected/fixed by formula PRs.
|
|
|
|
This job takes almost a minute and it's not useful for all core taps
to run this.
|
|
We're not really getting any more PRs here and this code makes this file
harder to follow and refactor.
|
|
|
|
This means that we do not need to read formulae or evaluate Ruby at
upload time.
|
|
Closes #1028.
|
|
|
|
|
|
Replace `homebrew` with `brew`, `homebrew-core`, or `legacy-homebrew`
depending on context.
|
|
Replace `homebrew` with `brew`, `homebrew-core`, or `legacy-homebrew`
depending on context.
|
|
Closes #115.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
Noted, `brew tap foo` will not fail if the tap is already installed.
|
|
Pulls 'brew linkage' in to main brew repo as a dev-cmd, and has test-bot
use it to detect dylib breakage, which usually means a revision bump is
needed. Checks all dependents, not just those with a 'test do' block
defined, since we can do this without formula support.
Closes #107.
Signed-off-by: Andrew Janke <andrew@apjanke.net>
|
|
|
|
https://github.com/Homebrew/brew/commit/e70a3552d3faddd0afd2535a03c31b8c50be901a seems to have
exacerbated the problem where taps stick around and then `brew uses` gets executed
on a whole host of taps, which is currently breaking almost every PR for formulae
that would be used cross-tap, as well as causing lengthier CI builds.
Examples from the last week or so include sqlite, V8, protobuf, and so on. Whilst it
may be true that cross-tap formulae failing can show problems that need looking at,
a lot of the time the failures are unrelated to the build in question and just
leave contributors confused on what needs to be done, or why their PR is failing
for something that seems entirely unrelated.
You can see the taps failing to vanish locally by doing something like:
```
brew tap homebrew/fuse
brew tap homebrew/versions
cd $(brew --prefix) && git clean -ffdx --exclude=/Library/Taps/
brew tap
...
homebrew/core
homebrew/fuse
homebrew/versions
```
This is a very simple proposal to handle the problem, but there's no real reason
I couldn't write this functionality into untap itself and then we call that in
test-bot. Just didn't necessarily want to jump immediately to expanding the untap
command to solve what is more-or-less a CI problem.
|
|
Also enables sandbox for --interactive and --debug use of install
and test, using automatic retention.
Closes #66.
Signed-off-by: Andrew Janke <andrew@apjanke.net>
|
|
Closes #92.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
|
|
We're not sure this is working as it was intended to, and the primary
end product so far has been making every Ruby 1.8.7 build, which is the Ruby
we use on Mavericks for compatibility, take 5-15 minutes longer per build
than 2.x Rubies.
Cumulatively this is responsible for the vast majority of CI slowness over the
last couple months as Mavericks plays catch-up and everything else waits for it
to do so.
We may revisit this in future, but for now the harm is greater than the "risk".
This technically reverts https://github.com/Homebrew/brew/commit/7b26c585c2a26ec0dad201852ca4934c77fcc493.
|
|
Fix bug introduced in a2c23dfec569c6e73d90cb20c7d4c26cced258d5. Moving
this method apparently made it inaccessible from `Homebrew::Step`.
|
|
The method `fix_encoding!` is private to `Homebrew::Step` but is also
required by the `Homebrew.sanitize_output_for_xml` method for truncating
overly long logs. Move `fix_encoding!` into the `Homebrew` module to
make it accessible from both this method and the `Homebrew::Step` class.
This amends commit 343091c828d1e572829b86253d79b326c1986bcd.
|
|
test-bot: revise Step output transcoding and XML character filtering
|
|
This reverts commit ceed6636d6986bb2b993ba4680ae484deb76ae29.
```
==> git clean -ffdx
HEAD is now at ceed663 test-bot: revise Step output transcoding and XML character filtering
Removing Library/Homebrew/test/.bundle/
Removing Library/Homebrew/test/fs_leak_log
Removing Library/Homebrew/test/vendor/
Error: invalid regular expression: /[^
-uD7FFuE000-uFFFDu{10000}-u{10FFFF}]/
```
Using Ruby 1.8.
|
|
Closes #24.
Signed-off-by: Andrew Janke <andrew@apjanke.net>
|
|
Closes #50425.
Signed-off-by: Misty De Meo <mistydemeo@github.com>
|
|
|
|
|
|
Fixes Homebrew/homebrew#50651
|
|
We should remove PR lock files in the test tap rather than HOMEBREW_REPOSITORY.
|
|
This reverts commit 51e4e6490bda0d981afd1787a6392ab588b0601c. This did
not work as intended, as the `git` command is executed in the context of
the tap the current job operates on, never for Homebrew/homebrew itself.
|
|
Wipe everything from the Homebrew prefix except for the `Library/Taps`
directory to avoid having to refetch `homebrew/core` every time.
|
|
|
|
|
|
Closes Homebrew/homebrew#50635.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
All formulae are in taps now.
|
|
This reverts commit 7032591bd44a8f50aaa55574ac97cd5cb7261460 and
commit 946c6deb4b5168ad2ec15e62aa6e81181e9e246c.
|
|
|
|
Ref:
- http://www.w3.org/TR/xml/#charsets
- http://stackoverflow.com/a/14323524
Closes Homebrew/homebrew#50092.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
|
|
If it's not a tap, we test formula on CoreTap. This can happen
if we run test on a fork, e.g. Linuxbrew or future Homebrew/brew.
Closes Homebrew/homebrew#49844.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
Core tap will be separated from core code in the near future.
It makes sense to rename it to CoreTap.
|
|
Closes Homebrew/homebrew#49620.
|
|
|
|
After formula updates its bottle block, remove itself from changed
formulae list. Therefore, if it's requested next time as dependency, it
will be installed from bottle just created.
Closes Homebrew/homebrew#48121.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
|
|
Otherwise, we may get incorrect result when preforming set operations on
list of formula names.
|
|
|
|
|