22406 Commits

Author SHA1 Message Date
Dawid Dziurla
77a360b6ec
Merge pull request #11079 from iMichka/newdeps
formula auditor: skip uses_from_macos audit for linux-only formula
2021-04-08 23:33:51 +02:00
Michka Popoff
3714ebd06d
formula auditor: skip uses_from_macos audit for linux-only formula 2021-04-08 23:09:08 +02:00
Bo Anderson
2f041abf2b
dev-cmd/bottle: don't take uniq of arguments 2021-04-08 22:07:47 +01:00
Bo Anderson
093e6e4f79
Merge pull request #11065 from Bo98/cellar-non-host
software_spec: fix handling of default non-host Cellar
2021-04-08 21:44:11 +01:00
Mike McQuaid
1980a6a5a5
dev-cmd/bottle: avoid outputting new default bottle domain. 2021-04-08 17:58:24 +01:00
Bo Anderson
20d86c0185
Refactor some tag handling into a Utils::Bottles::Tag class 2021-04-08 17:23:57 +01:00
Mike McQuaid
f2e3967158
Merge pull request #11074 from hyuraku/dev-cmd/tests_fix_option_bug
tests: fix a option bug
2021-04-08 13:06:48 +01:00
hyuraku
a3063882e6 tests: fix a option bug 2021-04-08 20:23:50 +09:00
Mike McQuaid
558dddd78c
Merge pull request #11072 from MikeMcQuaid/github_packages_uploaded_org
github_packages: fix "Uploaded to" organisation.
2021-04-08 12:14:25 +01:00
Mike McQuaid
eb25bf3668
github_packages: fix "Uploaded to" organisation.
This is hardcoded to Homebrew but we've started uploading bottles to
the Linuxbrew org.
2021-04-08 11:48:46 +01:00
Mike McQuaid
a2251a16ff
Default download to GitHub Packages
Now that all bottles (without existing `sha256` mismatches) have been
uploaded to GitHub Packages make it the default download location.

Will give this a few days testing before we make a tag and make this
default for everyone.

No migration has been done for Linuxbrew packages yet; those will be
done after we have fully migrated over Homebrew.
2021-04-08 11:33:03 +01:00
Mike McQuaid
4cbc34d31d
Merge pull request #11071 from MikeMcQuaid/linuxbrew-url-fix
Fix Linuxbrew URL handling
2021-04-08 11:12:39 +01:00
Mike McQuaid
598c230e12
Fix Linuxbrew URL handling
After this `HOMEBREW_BOTTLE_DOMAIN=https://ghcr.io/v2/linuxbrew/core`
will work as expected.

While we're here, do a bit of cleanup of constant usage; we don't want
some of these leaking outside the `GitHubPackages` class.

In doing so `docker://` will continue to work for `ghcr.io` but won't
work for arbitrary other Docker hosts; this isn't something we want to
support yet.
2021-04-08 10:54:28 +01:00
Mike McQuaid
0ff9bf6cb4
github_packages: fix source for Linuxbrew bottles.
Addresses https://github.com/Homebrew/brew/pull/11056#issuecomment-815261503
2021-04-08 10:22:30 +01:00
Mike McQuaid
aafc5b6e98
github_packages: rewrite more invalid versions.
Needed for `picat` and `srmio`.
2021-04-08 09:32:23 +01:00
Sean Molenaar
b927ecfd85
Fix formulae method loading
Co-authored-by: nandahkrishna <me@nandahkrishna.com>
2021-04-08 10:16:57 +02:00
Sean Molenaar
4427fa283f
formula: allow plists to be generated 2021-04-08 10:16:57 +02:00
Mike McQuaid
55223555ba
Merge pull request #10989 from hyuraku/paralell_tests_cache_on_ci
cache parallel tests log on ci
2021-04-08 08:46:19 +01:00
BrewTestBot
279a0683af
Update RBI files for nokogiri. 2021-04-08 06:04:09 +00:00
BrewTestBot
6fd8c7469b
brew vendor-gems: commit updates. 2021-04-08 06:03:20 +00:00
dependabot[bot]
47269d1ccf
build(deps): bump nokogiri from 1.11.2 to 1.11.3 in /Library/Homebrew
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.11.2 to 1.11.3.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.11.2...v1.11.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-08 06:01:03 +00:00
Shaun Jackman
e160c4a401 GHCR: Authorization bearer requires a token 2021-04-07 20:42:12 -07:00
Bo Anderson
2ed3339478
software_spec: fix handling of default non-host Cellar 2021-04-08 02:21:31 +01:00
BrewTestBot
e2b8fbca08
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2021-04-08 00:23:45 +00:00
Markus Reiter
c8997a0d8b
Don't forward options if none are given. 2021-04-08 00:12:49 +02:00
Markus Reiter
050ff9913f
Merge pull request #11028 from reitermarkus/extract-plist-strategy
Add `extract_plist` strategy.
2021-04-07 22:30:24 +02:00
Markus Reiter
731e25e0cc
Merge pull request #11041 from xxyzz/man
Supports .gz man page
2021-04-07 21:48:28 +02:00
Bo Anderson
1777a03aac
Merge pull request #11060 from Bo98/bottle-keep-old
dev-cmd/bottle: don't fail on --keep-old with unchanged values
2021-04-07 20:47:17 +01:00
Bo Anderson
1bb651469f
dev-cmd/bottle: don't fail on --keep-old with unchanged values 2021-04-07 20:26:36 +01:00
Markus Reiter
ba87bfc4e4
Only suggest adding livecheck it auto-detection fails. 2021-04-07 19:19:20 +02:00
Mike McQuaid
7b8d97aead
github_packages: quiet skopeo inspect
We want this to fail so don't print out the (expected) `stderr` output.
2021-04-07 17:34:05 +01:00
Mike McQuaid
1435018e11
Merge pull request #11057 from MikeMcQuaid/github_packages_more_fixes
More GitHub Packages bulk upload fixes
2021-04-07 17:26:03 +01:00
Mike McQuaid
8800b85f64
More GitHub Packages bulk upload fixes
- replace invalid non-ASCII characters from the descriptions
- handle invalid macOS versions on attempting to load old formulae from
  old bottles
- let `rubocop` auto-remove a no-longer needed `rubocop:disable`
- fix `skopeo` credentials argument
2021-04-07 17:03:44 +01:00
Mike McQuaid
c141dd4480
github_packages: don't allow linuxbrew- prefix.
Given https://github.com/Homebrew/linuxbrew-core/pull/22874 we no longer
need/want to allow a `linuxbrew-` repository prefix.
2021-04-07 16:34:59 +01:00
Nanda H Krishna
11de11025b
github_packages: fix image_formula_name issue 2021-04-07 19:33:16 +05:30
Bo Anderson
330158ba10
Merge pull request #11051 from Bo98/better-debrew-raise
debrew: make Debrew::Raise only catch uncaught exceptions
2021-04-07 14:39:59 +01:00
Mike McQuaid
4613d368d9
Merge pull request #11054 from MikeMcQuaid/github_packages_image_tag_cleanup
github_packages: remove invalid docker tag characters.
2021-04-07 14:00:01 +01:00
Bo Anderson
a78051d2e0
debrew: make Debrew::Raise only catch uncaught exceptions 2021-04-07 13:41:41 +01:00
Mike McQuaid
d707c0bbd8
github_packages: remove invalid docker tag characters.
Some versions have `+` in them.
2021-04-07 13:32:31 +01:00
Mike McQuaid
ee491928e4
github_packages: fix typo. 2021-04-07 13:20:24 +01:00
Mike McQuaid
b0ba92466f
github_packages: fix more bulk upload errors.
- replace `+` in formula names (because it's an invalid character)
- do a `skopeo inspect` first to avoid overwriting existing packages
2021-04-07 12:48:34 +01:00
Markus Reiter
a210b1a04e
Add extract_plist strategy. 2021-04-07 04:58:31 +02:00
Mike McQuaid
fd251c9109
github_packages: fix versioned bottle names.
`@` cannot be used in Docker image names. Use `/` instead (which we
already use in image names so has some precedent).

Make `mktemp` use `AT` (consistent with `Formula` subclasses), too.
2021-04-06 19:14:08 +01:00
Mike McQuaid
5cae3f4096
dev-cmd/bottle: fix license output.
Don't output the complex license object but instead use the same format
we use for `Formula#to_hash`.
2021-04-06 14:41:27 +01:00
Mike McQuaid
35daa145ca
Merge pull request #11044 from Bo98/pr-pull-no-commit
dev-cmd/pr-pull: don't cherry-pick on --no-commit
2021-04-06 13:53:14 +01:00
Bo Anderson
56b6918739
dev-cmd/pr-pull: don't cherry-pick on --no-commit 2021-04-06 13:30:07 +01:00
xxyzz
3c18e98432
test .gz man page 2021-04-06 16:52:56 +08:00
Mike McQuaid
480d943035
Merge pull request #11036 from sjackman/sj/ghcr-compact
GHCR: Use reject to remove empty hash values
2021-04-06 08:52:55 +01:00
Shaun Jackman
d6c0bbc7f4 GHCR: Add constant OS::CI_OS_VERSION
Rename constant OS::GLIBC_CI_VERSION to OS::CI_GLIBC_VERSION.
2021-04-05 22:39:41 -07:00
xxyzz
06d655bf50
match .gz man page files
Emacs cask has compressed man pages and they should be supported.
2021-04-06 11:19:05 +08:00