Mike McQuaid
ebdb879fe4
Add --help
to all developer commands.
...
Also, flag those that we never want to be in a manpage.
2016-09-08 09:05:00 +01:00
Mike McQuaid
665c56538e
test-bot: separate tap/core no formula handling.
...
`e.tap` calls the tap method which wants a block on
`FormulaUnavailableError` so the previous approach is 👎 .
2016-09-07 12:47:23 +01:00
Mike McQuaid
f9fe5b6798
test-bot: handle missing tap in exception.
...
Handle the case where a `FormulaUnavailableError` does not contain a tap
reference so fall back to `CoreTap` in this case.
2016-09-07 11:40:28 +01:00
Mike McQuaid
d1ba4f44c0
Merge pull request #833 from DomT4/death_by_xcode
...
xcode: die unless Xcode/CLT up-to-date on prerelease macOS
2016-09-07 09:51:06 +01:00
Mike McQuaid
f1cc1265af
Refactor MacOS check_development_tools usage.
...
Better use the abstraction layer so e.g. Linux could have similarly
fatal checks for these things.
2016-09-07 09:11:06 +01:00
Mike McQuaid
159ba9b012
test-bot: put exception, retry on missing formula.
...
This will be useful in debugging (and recovering from) the situation
where sometimes formulae can't be found when specifying multiple on the
command-line.
2016-09-07 08:42:00 +01:00
Mike McQuaid
4d123e6227
Merge pull request #857 from MikeMcQuaid/update-report-link-more
...
update-report: also link docs, completions.
2016-09-07 08:23:40 +01:00
Mike McQuaid
b21d724618
test-bot: tweak cleaning behaviour again.
...
Always run `git clean -ffdx` on HOMEBREW_REPOSITORY. Also, ensure that
if we can't find a formula that's logged.
2016-09-06 12:00:08 +01:00
Mike McQuaid
1160d0e347
update-report: also link docs, completions.
...
These are more files in the HOMEBREW_REPOSITORY that we want to link to
the HOMEBREW_PREFIX.
2016-09-06 09:04:51 +01:00
Mike McQuaid
3ebc5a88e8
utils: split link_path_manpages method.
...
Pull more logic into the more generic `link_src_dst_dirs` to be used to
do more linkage.
2016-09-06 09:04:51 +01:00
Mike McQuaid
c676189455
test-bot: git clean less in cleanup_*.
...
There's edge-cases which is breaking tap CI.
2016-09-06 08:44:11 +01:00
Markus Reiter
42e45a3d5f
Merge pull request #806 from reitermarkus/refactor-cask-scopes
...
Add `cask_files` method to `Tap` class.
2016-09-06 00:34:23 +02:00
Tim D. Smith
7303a55cc0
Merge pull request #866 from tdsmith/audit-libressl
...
Catch system libressl in openssl audit as well
2016-09-05 14:25:51 -07:00
Markus Reiter
c20a7fa859
Remove homebrew-fonts
hack from search.
2016-09-05 21:43:03 +02:00
Markus Reiter
89a63fb177
Add cask_files
method to Tap
class.
2016-09-05 21:43:03 +02:00
Mike McQuaid
0a098ae55d
test-bot: never cleanup homebrew/core.
...
Otherwise weird things happen and formulae can't be found.
2016-09-05 20:17:49 +01:00
Misty De Meo
b2ac693d47
Formula: include Utils::Shell
2016-09-05 14:45:35 +10:00
Misty De Meo
e40d70c761
Utils::Shell: convert to use module_function
2016-09-05 14:45:29 +10:00
Tim D. Smith
a4b4b9cd90
Catch LibreSSL libtls as well
...
Update the description to reflect that we may be talking about either crypto library and neither is okay. :)
2016-09-04 16:28:51 -07:00
Mike McQuaid
dfcbefff73
Merge pull request #201 from gregory-nisbet/feature-env-shells
...
--env: support more shells, allow explicit shell selection
2016-09-04 21:23:33 +01:00
Mike McQuaid
3acaecca8b
test-bot: use UPSTREAM_BOTTLE_KEEP_OLD.
...
This is set by Jenkins to indicate a downstream bottle upload job needs
to use `brew bottle --keep-old`.
2016-09-04 20:07:37 +01:00
Mike McQuaid
2e5e9286f7
Merge pull request #870 from MikeMcQuaid/revert-keep-old
...
bottle: revert --keep-old changes.
2016-09-04 19:05:55 +01:00
Mike McQuaid
e5869b1e9a
Merge pull request #859 from MikeMcQuaid/preinstall-update-whitespace
...
update-report: add newline if preinstall updated.
2016-09-04 18:59:38 +01:00
Mike McQuaid
81747364e7
Merge pull request #869 from MikeMcQuaid/test-bot-cleanup-all-taps
...
test-bot: cleanup all repositories.
2016-09-04 18:59:16 +01:00
ilovezfs
de65f28d3c
Merge pull request #376 from ilovezfs/bump-formula-pr-audit
...
bump-formula-pr: audit formula before opening PR
note that it was made opt-in not opt-out
2016-09-04 10:28:27 -07:00
Mike McQuaid
201abcc8db
Merge pull request #868 from MikeMcQuaid/tap-constants-at
...
tap_constants: allow formulae to have @ in name.
2016-09-04 14:14:07 +01:00
Mike McQuaid
cf505fa6ce
Revert "bottle: fix --keep-old JSON generation."
...
This reverts commit 5e9bb877d54fc1803a866f49997f3e819c3ca650.
2016-09-04 13:22:08 +01:00
Mike McQuaid
44ae0080e1
Revert "bottle: allow --keep-old to ignore same sha256s."
...
This reverts commit ec1437499a178a09805854469c5162d749270f3e.
2016-09-04 13:22:06 +01:00
Mike McQuaid
14236c3950
test-bot: cleanup all repositories.
...
The test bot currently only focuses on doing cleanup on the current tap
and the HOMEBREW_REPOSITORY. This should be extended to cover all
repositories as e.g. a syntax error in homebrew/core can break the CI
for all the other taps.
2016-09-04 11:26:38 +01:00
Mike McQuaid
0c44ce2a38
tap_constants: allow formulae to have @ in name.
...
Follow-up from #812 to fix handling fully-qualified versioned formulae
names.
Allows pulling https://github.com/Homebrew/homebrew-core/pull/971 .
2016-09-04 11:15:32 +01:00
Mike McQuaid
d8a2a90dac
test-bot: add missing @tap check.
2016-09-04 11:04:36 +01:00
Mike McQuaid
f19ad51734
Merge pull request #861 from MikeMcQuaid/test-bot-no-tests-with-formulae
...
test-bot: don't run brew tests etc. when formulae.
2016-09-04 10:58:35 +01:00
Tim D. Smith
bf18808930
Catch system libressl in openssl audit as well
...
The regex didn't match libcrypto.35.dylib, and it should have.
2016-09-03 22:13:09 -07:00
Mike McQuaid
1feda75081
test-bot: don't run brew tests etc. when formulae.
...
If there's formulae changes or the specified argument is a formula then
don't waste time running e.g. `brew tests`.
2016-09-03 20:24:47 +01:00
Mike McQuaid
ec1437499a
bottle: allow --keep-old to ignore same sha256s.
...
It should refuse to change existing ones but it should allow them to be
the same and silently ignore.
2016-09-03 20:20:52 +01:00
Mike McQuaid
2682b59b7f
update-report: add newline if preinstall updated.
...
Fixes #858 .
2016-09-03 19:36:34 +01:00
ilovezfs
f5a462bca1
bump-formula-pr: audit formula before opening PR
2016-09-03 10:47:04 -07:00
Mike McQuaid
5e9bb877d5
bottle: fix --keep-old JSON generation.
...
Ensure that the JSON file contains all the bottle checksums when using
`--keep-old`. This avoids having to use the formula DSL when merging and
relies on existing integrity checks.
This change does nothing differently if `--keep-old` is not passed.
2016-09-03 17:30:26 +01:00
Mike McQuaid
327f5ca177
Merge pull request #807 from ilovezfs/partial_order_compliance
...
audit: detect partial component order compliance
2016-09-03 15:07:30 +01:00
Tim D. Smith
d39eeac0d5
Merge pull request #845 from tdsmith/usr-local-sdkroot
...
Don't reject -L/usr/local/lib when SDKROOT is defined
Closes #844 . Fixes Homebrew/homebrew-fuse#62 .
2016-09-02 17:55:37 -07:00
Mike McQuaid
51bdd859ae
Merge pull request #850 from MikeMcQuaid/cask-root
...
brew.sh: allow cask to be run as root.
2016-09-02 07:43:14 +01:00
Mike McQuaid
283706e72a
utils: fix link_path_manpages message indentation.
...
Otherwise looks weird with multiple items.
2016-09-01 20:53:25 +01:00
Mike McQuaid
0cfe51b328
brew.sh: allow cask to be run as root.
...
It also uses `sudo` for legitimate things e.g. installing `.pkg`s
systemwide.
2016-09-01 20:35:12 +01:00
Mike McQuaid
a607a83749
Merge pull request #846 from vladshablinsky/pinned_not_eligible
...
formula: pinned keg is not eligible for cleanup
2016-09-01 20:32:14 +01:00
Mike McQuaid
0dc0bc1617
Merge pull request #773 from reitermarkus/report-cask-coverage
...
Also report Cask coverage.
2016-09-01 20:31:40 +01:00
Markus Reiter
0f84fe7168
Merge pull request #847 from penman/docs_build_options
...
docs: add missing </pre>
2016-09-01 20:56:10 +02:00
Dominyk Tiller
8a3a4b83fd
audit: banish http://http.debian.net for secure mirrors
2016-09-01 17:29:03 +01:00
Dominyk Tiller
4422bd1f34
audit: enforce https for Debian's anonscm
2016-09-01 17:29:03 +01:00
Alyssa Ross
cd1f761668
docs: add missing </pre>
2016-09-01 16:39:21 +01:00
Vlad Shablinsky
6cff426b4f
formula: pinned keg is not eligible for cleanup
...
If formula is pinned it shouldn't be eligible for cleanup.
Otherwise we can encounter the following behaviour:
1. Install <formula>
2. Pin <formula>
3. <formula> gets outdated
4. Install <other_formula> that depends on <formula>, which requires
up-to-date installation of <formula>. Thus, <formula> gets updated.
5. Now, if we cleanup <formula> we don't remove pin, so it points to
the keg which doesn't exist any longer. The right behaviour is not
to cleanup pinned kegs, which is done in this commit.
Also see #831 for further info.
2016-09-01 17:46:28 +03:00