23290 Commits

Author SHA1 Message Date
Logicer
06f415e819 Dont ask to create PAT if one already exists 2021-07-19 10:28:11 +10:00
Logicer
5b7921ff68 Add support for GitHub Oauth tokens from keychain 2021-07-18 21:47:11 +10:00
Carlo Cabrera
d696250ddb
Fix ELF architecture offset for x86_64
The current offset results in ELF binaries returning an `#arch` of
`:dunno`.

Also, skip the `check_binary_arches` audit on the generic OS.
2021-07-18 16:55:57 +08:00
Carlo Cabrera
171859d3ad
Fix typos
Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com>
2021-07-18 15:54:52 +08:00
Carlo Cabrera
3325b79726
dev-cmd/pr-automerge: deprecate --autosquash 2021-07-18 15:36:19 +08:00
Carlo Cabrera
488ccfdf70
formula_cellar_checks: check keg for mismatched arches
There have been a few instances I've noticed that we've been silently
installing binaries built for x86_64 on ARM. There's probably more that
I haven't found yet, so it seems useful to check this with an audit.
2021-07-18 11:44:37 +08:00
Carlo Cabrera
822170a766
cmd/search: add repology
I often find myself checking Repology to quickly reference how other
package managers handle certain things, so it seems useful to be able to
do so with `brew search`.

While we're here, let's fix the query URL for MacPorts.
2021-07-18 09:22:34 +08:00
Carlo Cabrera
080bd8bd4a
dev-cmd/pr-publish: pass --autosquash by default
It's too easy to forget to, and the consequences of forgetting to pass
`--autosquash` are worse (i.e. almost always permanent) than forgetting
to pass `--no-autosquash` (i.e. just do `pr-publish --no-autosquash`
when your command fails).

See the discussion at Homebrew/homebrew-core#80717.
2021-07-18 05:33:35 +08:00
Rylan Polster
9f15432742
Fix tests 2021-07-17 14:08:38 -04:00
Rylan Polster
aaaf92b905
update-report: still report homebrew/core changes if they are updated 2021-07-17 12:48:02 -04:00
Rylan Polster
672f6dc3d7
formula: fix latest_version_installed? for HOMEBREW_JSON_CORE 2021-07-16 12:14:15 -04:00
Rylan Polster
a1ecb02736
update-report: don't try to report Homebrew/core if not needed 2021-07-16 11:35:51 -04:00
Eric Knibbe
fba8dd6705
Merge pull request #11713 from EricFromCanada/version-new-suffix
version: check for both cases in suffix
2021-07-16 08:48:04 -04:00
Mike McQuaid
d79cd8bd28
Merge pull request #11726 from hyuraku/installed_dependents-reject_build_formula
installed_dependents: reject build formula
2021-07-16 13:42:03 +01:00
EricFromCanada
5519a0b379
version: check for both cases in suffix 2021-07-16 08:28:15 -04:00
Mike McQuaid
ba8c4ce89f
installed_dependents: tweak comment. 2021-07-16 13:13:12 +01:00
hyuraku
2888d050f7 reject build and test dependency 2021-07-16 21:02:38 +09:00
Rylan Polster
a4e093ded0
Merge pull request #11715 from Rylan12/json-improvements
Improvements to JSON bottle handling
2021-07-16 01:50:59 -04:00
Rylan Polster
4ed44aa682
Fix style 2021-07-16 01:50:24 -04:00
Nanda H Krishna
83821cf4df
Merge pull request #11719 from nandahkrishna/commands
commands: remove `diy`, add `lc` alias for `livecheck`
2021-07-15 23:32:15 +05:30
hyuraku
a61d1a7072 repair CaskDependent#runtime_dependencies 2021-07-15 23:49:41 +09:00
hyuraku
3a6c998ad7 repair style and comment 2021-07-15 22:40:32 +09:00
hyuraku
5de162f71a installed_dependents: reject build formula 2021-07-15 21:48:21 +09:00
Rylan Polster
2524e80196
Revert outdated changes to brew info 2021-07-14 18:20:23 -04:00
Rylan Polster
fb04053833
info: show accurate bottle information 2021-07-14 18:16:23 -04:00
BrewTestBot
c9ddbc3780
Update RBI files for rubocop-ast. 2021-07-14 18:09:38 +00:00
BrewTestBot
f455c3a3a9
brew vendor-gems: commit updates. 2021-07-14 18:07:33 +00:00
dependabot[bot]
44677fe373
build(deps): bump rubocop-ast from 1.7.0 to 1.8.0 in /Library/Homebrew
Bumps [rubocop-ast](https://github.com/rubocop-hq/rubocop-ast) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/rubocop-hq/rubocop-ast/releases)
- [Changelog](https://github.com/rubocop/rubocop-ast/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-ast/compare/v1.7.0...v1.8.0)

---
updated-dependencies:
- dependency-name: rubocop-ast
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-14 18:03:20 +00:00
Nanda H Krishna
5ec685951e
commands: remove diy, add lc for livecheck 2021-07-14 21:55:38 +05:30
Rylan Polster
bcbb47e717
Add HOMEBREW_UPDATE_TO_TAG to messaging 2021-07-14 11:16:50 -04:00
Rylan Polster
042ae4ccfc
Improve messaging 2021-07-14 11:07:33 -04:00
Rylan Polster
5649d339d7
Show message when developer mode is turned on 2021-07-14 11:01:46 -04:00
Rylan Polster
3e01e02a02
Improvements based on code review 2021-07-14 10:19:29 -04:00
Rylan Polster
c5df900936
BottleAPI: support :all bottles 2021-07-14 10:14:48 -04:00
Mike McQuaid
82c5756690
dev-cmd/bottle: use native Ruby.
Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
2021-07-14 11:45:03 +01:00
Mike McQuaid
721ed8542b
dev-cmd/bottle: fixup macOS symlink permissions.
These can be changed on macOS but not on Linux so we need to make them
consistent in both places for `all:` bottles to have consistent
checksums.

I investigated adding to `cleaner.rb` to fix these symlink permissions
on installation but it seems it already happens by default when
extracting so there's no need.
2021-07-14 10:31:25 +01:00
Rylan Polster
98713e9cd1
BottleAPI: only fetch dependencies if they are outdated locally 2021-07-14 02:39:32 -04:00
Rylan Polster
a0f7711ab6
update: don't update homebrew/core for preinstall if using JSON 2021-07-14 02:13:23 -04:00
Rylan Polster
41b0bf7bbb
Add developer command 2021-07-14 01:55:00 -04:00
Rylan Polster
91fffeeff6
info: show latest version 2021-07-14 00:26:09 -04:00
BrewTestBot
dff24049de
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2021-07-14 00:11:21 +00:00
Dawid Dziurla
2a9f962747
Merge pull request #11691 from dawidd6/fetch-bottle-tag
fetch: add --bottle-tag flag
2021-07-13 18:51:42 +02:00
Dawid Dziurla
793371a348
fetch: add --bottle-tag flag 2021-07-13 18:03:04 +02:00
Mike McQuaid
bd627d86ca
Merge pull request #11709 from hyuraku/formula_auditor_repiar-audit_versioned_keg_only
formula_auditor:repiar audit_versioned_keg_only
2021-07-13 16:29:44 +01:00
hyuraku
57911f479a formula_auditor: repair audit_specs 2021-07-13 21:55:47 +09:00
hyuraku
2e80eb060e formula_auditor:repiar audit_versioned_keg_only 2021-07-13 21:20:49 +09:00
Rylan Polster
e344cb6aff
Merge pull request #11648 from Rylan12/homebrew-json
Install formulae from JSON files
2021-07-13 02:54:49 -04:00
Rylan Polster
1973e72015
BottleAPI: fix tests 2021-07-13 02:29:03 -04:00
BrewTestBot
e5e2674c15
Update RBI files for rubocop-rails. 2021-07-12 18:10:12 +00:00
BrewTestBot
d0fea51e8b
brew vendor-gems: commit updates. 2021-07-12 18:08:06 +00:00