Commit Graph
957 Commits
Author SHA1 Message Date
Mike McQuaidandGitHub bada451a81 Merge pull request #5240 from MikeMcQuaid/rubocop-bump
RuboCop 0.60.0
2018-11-04 11:48:51 +00:00
Mike McQuaid 737b84b54b brew style --fix fixes. 2018-11-02 17:29:23 +00:00
Shaun Jackman f70a2c67da pull --bottle: Fix bug in any_bottle_tag
Utils::Bottles.tag is a symbol, whereas bottle_tags is an array of strings.
2018-11-01 09:28:31 -07:00
Mike McQuaidandGitHub 422257067c Merge pull request #5216 from GauthamGoli/audit-args-fix
audit: Don't mutate args
2018-10-31 08:44:49 +00:00
Gautham Goli 840fbd69fb audit: Don't mutate args 2018-10-31 10:50:03 +05:30
commitay 32b1f13bd0 bump-formula-pr: run audit by default 2018-10-30 13:22:36 +10:00
Steven Peters 7116b74705 dev-cmd/bottle: require arg for --root-url 2018-10-29 14:54:37 -07:00
Mike McQuaidandGitHub 322075130e Merge pull request #5196 from commitay/keg-only-style
audit: make `keg_only_style` non-strict
2018-10-27 14:55:29 +01:00
Mike McQuaidandGitHub fa9a59fe1e Merge pull request #5192 from commitay/unstable
audit: remove deleted formulae from unstable whitelist
2018-10-27 14:53:59 +01:00
commitay de529c8225 audit: make keg_only_style non-strict 2018-10-27 22:52:20 +10:00
commitay 1d89027409 audit: remove deleted formulae from unstable whitelist 2018-10-27 20:50:10 +10:00
commitay 823f2234f1 audit: make throttled a regular audit 2018-10-27 10:44:09 +10:00
commitay 17e55ead73 audit: check for bottle do blocks in new formulae 2018-10-24 20:48:26 +10:00
Gautham Goli f7013d1738 man: Restore args after generating man pages from respective cmd parsers 2018-10-24 01:33:55 +05:30
Mike McQuaid 5e68a0872e audit: remove heroku formula.
This was removed in https://github.com/Homebrew/homebrew-core/pull/33233.
2018-10-21 12:46:02 +01:00
commitay d38c8fb8c5 audit: disallow devel specs in core 2018-10-20 21:43:33 +10:00
Mike McQuaidandGitHub 2e4176a57f Merge pull request #5130 from commitay/versioned-formula
audit: use `versioned_formula` instead of `formula.versioned_formula?`
2018-10-20 11:55:32 +01:00
Mike McQuaidandGitHub 303f9579d6 Merge pull request #5075 from EricFromCanada/cmd-help-new
docs: conversion & review of Homebrew::CLI::Parser help in dev-cmd/
2018-10-20 11:53:55 +01:00
commitay 78a21c8bbf audit: use versioned_formula instead of formula.versioned_formula? 2018-10-20 13:43:55 +10:00
commitayandGitHub 598909577c Merge pull request #5091 from commitay/versioned-keg-only
audit: check versioned formulae for `keg_only :versioned_formula`
2018-10-20 13:40:37 +10:00
EricFromCanada 388781f6a7 dev-cmd/: remove colons from command specs.
These aren't needed when converting Parser-based help text to man page or Markdown formats.
Includes regenerated docs.
2018-10-19 13:12:55 -04:00
EricFromCanada 7fb425a5c6 man.rb: avoid showing comma when an option has no long version.
Specifically, `brew ruby -e "<ruby code>"`.
2018-10-19 13:12:55 -04:00
EricFromCanada 63b3d400e0 dev-cmd/: add Parser-based help text for remaining commands.
`brew ruby` now accepts only `-e`, verbose, and debug arguments.
2018-10-19 13:12:55 -04:00
EricFromCanada ddf057f3dd dev-cmd/: edit help text and descriptions. 2018-10-19 13:12:11 -04:00
EricFromCanada 20167e5f1b Adjust comments to tidy API docs output. 2018-10-18 21:42:43 -04:00
commitay 0a3ad268a0 audit: check versioned formulae for keg_only :versioned_formula 2018-10-17 23:52:42 +10:00
Markus Reiter b7ea9e1830 Allow access to lock directory inside tests. 2018-10-17 14:23:02 +02:00
Mike McQuaidandGitHub 662641557e Merge pull request #5085 from alyssais/bump_formula_pr-no_fork
bump-formula-pr: gracefully handle unforkable repositories
2018-10-12 11:05:08 +01:00
commitay c2bf97bdee audit: use core_tap instead of official_tap 2018-10-12 09:12:12 +10:00
Alyssa Ross 864475e14f bump-formula-pr: use GitHub error message info
This saves an API call, and is more accurate, because the repo API
doesn't actually say whether forking is enabled, but this error message
does.

To do this, the original GitHub error message had to be accessible on
the GitHub exceptions.
2018-10-11 16:39:29 +01:00
Alyssa Ross 23984273f3 bump-formula-pr: always use base if unforkable 2018-10-11 16:34:40 +01:00
Alyssa Ross f4a82236b7 bump-formula-pr: add --no-fork
GitHub seems to be discouraging forking private repositories[0]:

> By default, new organizations are configured to disallow the forking
> of private repositories.

bump-formula-pr tries to create its pull requests from a fork, so it
can't be used for private taps set up in this way.

I've added a --no-fork option that will create PRs in the tap repo
itself, rather than in a fork, to accommodate this use case.

[0]: https://help.github.com/articles/allowing-people-to-fork-private-repositories-in-your-organization/
2018-10-11 13:23:56 +01:00
Mike McQuaid 448096168b Update manpages
- dev-cmd/man: sort the `cmd_path`s (for APFS)
- update manpages based on latest content
2018-10-10 14:41:50 +01:00
Dominique OrbanandShaun Jackman ea0ef6bf81 audit: permit openblas for non-official taps
macOS provides Accelerate but not OpenBLAS
2018-10-09 14:57:30 -07:00
commitayandGitHub cd1cf8927e Merge pull request #5060 from commitay/openssl-versioned-whitelist
audit: remove `openssl@1.1` from unstable spec whitelist
2018-10-09 15:12:38 +10:00
Shaun Jackman 3f2803110a audit: Permit HEAD for non-official taps 2018-10-08 08:15:56 -07:00
commitay e9a82ad911 audit: remove openssl@1.1 from unstable spec whitelist 2018-10-08 11:14:48 +10:00
Markus Reiter 16618d0fc7 Use ActiveSupport’s #pluralize and #to_sentence. 2018-10-07 23:10:56 +02:00
Markus Reiter c4d418e126 Use ActiveSupport’s #second. 2018-10-07 23:10:56 +02:00
EricFromCanada b2b8f632bb docs: distinguish <code> and <var> in HTML output
Replace <var> tags with markup for italicized monospaced text in Markdown.
This requires the source to not combine bracketed and backticked text.
2018-10-06 00:51:13 -04:00
EricFromCanada dbea3cbe90 restore sorting of options after commands 2018-10-06 00:47:58 -04:00
EricFromCanada 997a207889 docs: fix Official External Commands section
Work around ronn's inability to nest indents within list items by modifying its output to add a line break and indent after lines ending with a colon that aren't a list item's first line. This allows `brew.1.md.erb` to join the commands' help text without extra line breaks, which avoids the issue where kramdown was turning any command specs containing pipe characters into tables in the HTML output.
2018-10-05 23:47:48 -04:00
Viktor Szakats a0d971a0d0 secure/fix URLs 2018-10-03 21:21:05 +00:00
Gautham Goli 38feaf1270 extract: Add option descriptions 2018-10-03 20:18:05 +05:30
Gautham Goli a03d2e0cd1 man: Correct option synopsis 2018-10-03 19:49:46 +05:30
Gautham Goli 7b0f27ca39 style: Fix style errors 2018-10-03 19:49:46 +05:30
Gautham Goli 604dfb4ae6 help: Let OptionParser generate help text for supported commands 2018-10-03 19:49:45 +05:30
Gautham Goli f60582ca48 man: Remove [] from command synopsis 2018-10-03 19:49:45 +05:30
Gautham Goli 3c74683d88 man: Format h3 tags in ronn output 2018-10-03 19:49:45 +05:30
Gautham Goli 446b1cb9e3 man: Seperate global options into a section 2018-10-03 19:49:45 +05:30