1312 Commits

Author SHA1 Message Date
Mike McQuaid
8975dfb6ff
Merge pull request #7238 from Homebrew/dependabot/bundler/Library/Homebrew/unf_ext-0.0.7.7
build: bump unf_ext from 0.0.7.6 to 0.0.7.7 in /Library/Homebrew
2020-03-29 19:36:51 +01:00
hyuraku
6f622cd525 audit whether GitHub prerelease ot not 2020-03-28 16:57:47 +09:00
Tom Schoonjans
6f7302e4bc keg_only_whitelist: add libsigc++@2 2020-03-27 08:01:01 +00:00
Mike McQuaid
fa8fe0fc39
Merge pull request #7200 from dawidd6/create-ruby
create: add --ruby option
2020-03-24 13:50:35 +00:00
Jonathan Chang
7c752e487f pr-publish: wording fixes 2020-03-24 12:31:58 +11:00
Jonathan Chang
5f53180b7c
Merge pull request #7202 from jonchang/pr-publish
Add new `pr-publish` command
2020-03-24 12:24:27 +11:00
Mike McQuaid
5e63d0cef7
Merge pull request #7184 from dawidd6/cli-parser-comma-array-name-chomp
cli/parser: chomp '=' from comma_array flag name
2020-03-23 13:21:51 +00:00
Dawid Dziurla
e3b472380d
bump-formula-pr: remove trailing '=' from --mirror in help message 2020-03-23 10:59:27 +01:00
Michka Popoff
cdb9d0fbe4 Revert "Merge pull request #7203 from hyuraku/audit_whether_prerelease-or-not"
This reverts commit 081f6cdcd514396b1d396ce7d0eb40291a1a317c, reversing
changes made to 12d3a2a2d269e0a26565eb3e63552803f826f366.

This fails on some formulae with:
Error: Not Found

See:
https://github.com/Homebrew/homebrew-core/pull/52031
2020-03-22 23:53:59 +01:00
Mike McQuaid
081f6cdcd5
Merge pull request #7203 from hyuraku/audit_whether_prerelease-or-not
audit whether prerelease or not
2020-03-22 17:28:35 +00:00
hyuraku
fa80296ab4 repair notation 2020-03-22 23:25:13 +09:00
hyuraku
a6fcc94249 repair style 2020-03-22 22:18:00 +09:00
hyuraku
f6b260d7c4 audit whether prerelease or not 2020-03-22 22:00:32 +09:00
Jonathan Chang
86f245effb dev-cmd: new pr-publish command 2020-03-22 13:35:15 +11:00
Dawid Dziurla
a3eefda0f9
create: add --ruby option 2020-03-21 15:41:27 +01:00
Mike McQuaid
08c2225de9
Merge pull request #7182 from samford/throttle-aswcli@1
audit: throttle awscli@1 instead of awscli
2020-03-16 13:13:20 +00:00
Sam Ford
e835ccb5cc
audit: throttle awscli@1 instead of awscli 2020-03-15 21:25:21 -04:00
Gautham G
badcaa15e4
ARGV: Deprecate ARGV.keep_tmp? 2020-03-15 13:24:48 +00:00
Issy Long
202cc04456
Merge pull request #7165 from dawidd6/bump-version-equal
bump-formula-pr: ignore --version argument if equal to detected version
2020-03-15 11:04:52 +00:00
Mike McQuaid
1e265247ca
rubocop: apply autofixes. 2020-03-13 21:16:18 +00:00
Dawid Dziurla
8db863ff7e
bump-formula-pr: ignore --version argument if equal to detected version 2020-03-13 17:09:58 +01:00
Mike McQuaid
2afeffc91b
man: include full help from external commands.
Inspired by https://github.com/Homebrew/brew/issues/7148
2020-03-11 12:22:46 +00:00
Mike McQuaid
f63d2d7887
man: be more exact about global options.
Make clear these don't necessarily apply to all subcommands
(see https://github.com/Homebrew/brew/issues/7121).
2020-03-11 12:16:47 +00:00
Mike McQuaid
78140cef4a
Merge pull request #7073 from alexreg/issue-7068
audit: ignore group write bit
2020-03-06 14:08:45 +00:00
Alexander Regueiro
68047abc0e audit: ignore group write bit 2020-03-05 23:01:41 +00:00
Mike McQuaid
e3ac94fc5d
dev-cmd: use more and cleanup new args APIs. 2020-03-05 09:40:15 +00:00
Mike McQuaid
f6631d6449
Merge pull request #7019 from iMichka/python2doc
brew: remove most traces of python@2
2020-03-04 11:21:07 +00:00
Mike McQuaid
10ba0d5a66
Merge pull request #7092 from dawidd6/bump-push-with-token
bump-formula-pr: return remote url with token in it
2020-03-02 18:42:57 +00:00
Dawid Dziurla
456f3b1923
bump-formula-pr: return remote url with token in it 2020-03-02 18:50:42 +01:00
EricFromCanada
b80af7837a bump-formula-pr: add missing URL escapes 2020-02-28 13:02:55 -05:00
Mike McQuaid
2eb908a9fb
dev-cmd/extract: allow maintainers to extract to core.
I was wanting to do this today to add `ruby@2.6` and it's a social
rather than technical requirement (i.e. we don't want users to mess
with their homebrew/core unless they know what they are doing) so allow
overriding with `HOMEBREW_DEVELOPER` set.
2020-02-27 10:36:10 +00:00
Mike McQuaid
cf02ac9d46
Merge pull request #7066 from alebcay/extract-handle-versions
extract: handle versioned formulae names
2020-02-25 19:31:38 +00:00
Mike McQuaid
2e1a9f8bb6
Merge pull request #7051 from EricFromCanada/bump-formula-mirrors
bump-formula-pr: improve mirror handling
2020-02-25 16:17:12 +00:00
Issy Long
6d5f6ce96c
Revert "pull: use homebrew remote if HOMEBREW_FORCE_HOMEBREW_ON_LINUX"
- This reverts commit 9fb1876101a1abac8e3bfcc9f4f6fadbf0921c7c and commit
f8863c8a3bbef32dc65c9b95a57b54d7fc26c27e.
- The `JENKINS_HOME` envvar appears to be unset on the Linux Jenkins
master that holds the BinTray credentials.
- It's bed time, we're too tired to be fixing forward!
2020-02-24 22:56:33 +00:00
Dawid Dziurla
f8863c8a3b
pull: fix remote on jenkins 2020-02-24 23:26:28 +01:00
EricFromCanada
6f5cd0e7fe bump-formula-pr: support add multiple mirror URLs with --mirror 2020-02-24 13:07:46 -05:00
EricFromCanada
a24477dad6 bump-formula-pr: fix output when listing guesses 2020-02-24 13:07:46 -05:00
EricFromCanada
7ec2ffda93 bump-formula-pr: warn when removing mirrors 2020-02-24 13:07:46 -05:00
EricFromCanada
0132b905bf bump-formula-pr: automatically mirror Apache & GNU projects 2020-02-24 13:07:46 -05:00
EricFromCanada
50cc9db0f2 bump-formula-pr: also infer mirrors when a checksum is provided 2020-02-24 13:07:46 -05:00
Mike McQuaid
5974714453
pull: add more docs comment context. 2020-02-24 11:41:29 +00:00
Dawid Dziurla
9fb1876101
pull: use homebrew remote if HOMEBREW_FORCE_HOMEBREW_ON_LINUX 2020-02-23 21:49:23 +01:00
Caleb Xu
fa5faf3895 extract: handle versioned formulae names
Turn the output versioned formula from the form "name@version" to
"name-version", then following by appending the specific version
after it.

This solution ensures that separate extracted versions of a formulae
can exist alongside each other (e.g. 'python-2@2.7.17' and
'python-2@2.7.16').
2020-02-23 14:32:13 -05:00
Michka Popoff
c46a30b575 brew: remove most traces of python@2 2020-02-17 22:38:24 +01:00
Mike McQuaid
f31e01c3ad
test: set Git name and email.
Extract the code from `bottle.rb` into `utils/git.rb` and ensure it's
run before we run tests.

Should resolve issues like in
https://github.com/Homebrew/homebrew-core/pull/50328
2020-02-17 19:40:44 +00:00
Issy Long
b3abf3d7c9
dev-cmd/tap-new: Set up GitHub Actions CI instead of Azure
- We recently removed Azure as a supported CI provider
  (Homebrew/homebrew-test-bot PR 325), so `brew test-bot` won't run on
  Azure any more.
- Homebrew CI is moving towards GitHub Actions as the standard.
2020-02-15 17:39:33 +00:00
Issy Long
1ab843ba47
bump-formula-pr: Only delete Linux bottle line if it exists
- We have some Linux-only formulae that don't have bottles.
- Previously, bumping a Linux-only formula that didn't have a bottle
  line - eg, `adoptopenjdk` which is `bottle :unneeded` - would fail:

```
Error: inreplace failed
/app/linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/adoptopenjdk.rb:

expected replacement of /^    sha256 ".+" => :x86_64_linux\n/m with "\2"
```
2020-02-14 22:41:31 +00:00
Issy Long
1df8584d13
bump-formula-pr: Determine Linux-only formulae with depends_on :linux
- We used to use `# tag "linux"` in Homebrew/linuxbrew-core for the ~50
  Linux-only formulae. As of
  6578a4aa86,
  we're using `depends_on :linux` to have a consistent syntax between
  Linux and macOS.
- Therefore, we have to change the search string for Linux-only formulae
  that determines whether or not `brew bump-formula-pr` deletes the bottle
  line.
2020-02-13 21:28:12 +00:00
Mike McQuaid
dca717e699
Merge pull request #6969 from dawidd6/bottle-cellar-priority
bottle: prioritize HOMEBREW_CELLAR over :any over :any_skip_relocation
2020-02-11 12:31:09 +00:00
Dawid Dziurla
c80107c8a2
bottle: prioritize HOMEBREW_CELLAR over :any over :any_skip_relocation 2020-02-10 21:39:36 +01:00