22231 Commits

Author SHA1 Message Date
Nanda H Krishna
e574f320fc
software_spec: remove debug statement 2021-04-09 21:34:00 +05:30
Mike McQuaid
bd3f1d28e7
Fix GitHub Packages filenames.
They don't need escaped like the Bintray ones did.

Fixes https://github.com/Homebrew/brew/issues/11090 (but note this may
require the cache entry to be cleared and the package to be
redownloaded).
2021-04-09 16:31:04 +01:00
Mike McQuaid
4633ec7bff
Formula#bottle_hash: various fixes/updates.
- remove `cellar` because it's no longer global
- remove `prefix` because it's no longer customisable
- add `cellar` for each bottle tag
- fix `url` for GitHub Packages
2021-04-09 15:44:37 +01:00
Mike McQuaid
6f071a06f8
Use JSON.pretty_generate
It's dramatically more human readable for very little difference in
space.
2021-04-09 15:44:37 +01:00
Mike McQuaid
d5733a4133
Remove some premature odisabled
See https://github.com/Homebrew/brew/pull/11075#discussion_r610602507
2021-04-09 14:12:40 +01:00
Mike McQuaid
576ec2c9a3
Merge pull request #9517 from SMillerDev/plist_generator
formula: allow plists to be generated
2021-04-09 13:59:55 +01:00
Mike McQuaid
1ab2726e76
Cleanup service plist code. 2021-04-09 13:30:43 +01:00
Mike McQuaid
d8a19abfce
Merge pull request #11087 from MikeMcQuaid/requirements_readd_missing
requirements: re-add missing `macos_requirement` require.
2021-04-09 10:39:01 +01:00
Mike McQuaid
1d34f7f2fa
Merge pull request #11077 from MikeMcQuaid/any_bottles
Support `all: SHA256` bottles.
2021-04-09 10:18:19 +01:00
Mike McQuaid
4b43c45d90
requirements: re-add missing macos_requirement require.
Fixes formulae.brew.sh build failure:
https://github.com/Homebrew/formulae.brew.sh/runs/2304509519?check_suite_focus=true
2021-04-09 10:17:03 +01:00
Mike McQuaid
271474820f
Merge pull request #11075 from MikeMcQuaid/deprecate_disable_delete
Deprecate, disable, delete code for next major/minor version.
2021-04-09 10:09:51 +01:00
Mike McQuaid
7a9e7f9204
Merge pull request #11073 from MikeMcQuaid/linuxbrew_github_packages
Default Homebrew on Linux to use GitHub Packages.
2021-04-09 10:07:40 +01:00
Mike McQuaid
0cb1645d25
bottles: support :all tag.
This allows the creation of bottles which will be used by any macOS
version, architecture or OS (i.e. macOS or Linux).

Add `TODO` stubs for where the bottle generation logic should be
implemented.
2021-04-09 09:50:16 +01:00
Mike McQuaid
6b5213286c
Rename "exact" tag match to "no_older_versions"
This is more specific about the behaviour we want to have in future.
2021-04-09 09:36:18 +01:00
Mike McQuaid
d73351251c
Deprecate, disable, delete code for next major/minor version.
Do the usual dance for bumping our major/minor version.
2021-04-09 09:30:36 +01:00
Mike McQuaid
bf199cf271
Default Homebrew on Linux to use GitHub Packages. 2021-04-09 09:17:25 +01:00
Mike McQuaid
bed11e5c42
bottle: use newly generated bottle file for mtime. 2021-04-09 09:06:31 +01:00
Shaun Jackman
ec3c9b9d7f
bottle: Set date to the mtime of the bottle file 2021-04-09 09:06:31 +01:00
Mike McQuaid
fa3af8d24d
Merge pull request #11080 from Bo98/bottle-uniq
dev-cmd/bottle: don't take uniq of arguments
2021-04-09 08:44:32 +01:00
BrewTestBot
aa2e4a44d4
Update RBI files for parallel_tests. 2021-04-09 06:04:34 +00:00
BrewTestBot
086b6e0dfe
brew vendor-gems: commit updates. 2021-04-09 06:03:42 +00:00
dependabot[bot]
483868e8d1
build(deps): bump parallel_tests in /Library/Homebrew
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 3.6.0 to 3.7.0.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Changelog](https://github.com/grosser/parallel_tests/blob/master/CHANGELOG.md)
- [Commits](https://github.com/grosser/parallel_tests/compare/v3.6.0...v3.7.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-09 06:01:18 +00:00
Bo Anderson
bf0f38c72b
Merge pull request #11083 from Bo98/ghp-bottle-tag
github_packages: fix bottle tag handling
2021-04-09 02:25:38 +01:00
Bo Anderson
342a697459
github_packages: fix bottle tag handling 2021-04-09 01:55:42 +01:00
BrewTestBot
218f9cd37f
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2021-04-09 00:20:52 +00:00
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