1705 Commits

Author SHA1 Message Date
Markus Reiter
4c3e8255cf
Compare Tag using standardized_arch. 2023-05-13 22:19:35 +02:00
Carlo Cabrera
0376c6c5c1
utils/github: use Pulls API to check open pull requests on CI
We currently use the search API to check for duplicate pull requests,
but this is not very reliable. Our `autobump.yml` workflow routinely
opens duplicate pull requests [1] because the search API often returns
incorrect results.

We can make this more reliable by using the Pulls API instead.
Unfortunately, querying the Pulls API is very slow (~10s vs less than a
second for the search API), so let's limit its usage to calls made
inside CI, which should help @BrewTestBot avoid opening duplicate PRs.
(Most recent dupes were authored by @BrewTestBot.)

[1] https://github.com/Homebrew/homebrew-core/pulls?q=is%3Apr+author%3ABrewTestBot+is%3Aunmerged+in%3Acomments+Duplicate
2023-05-10 13:08:32 +08:00
Markus Reiter
f7168bf234
Merge pull request #15336 from reitermarkus/version-head-null
Merge `HeadVersion` and `NullVersion` into `Version`.
2023-05-10 01:01:21 +02:00
Markus Reiter
4b787fdee2
Retry curl_headers on 400 codes. 2023-05-09 07:40:15 +02:00
Markus Reiter
e493d0cb04
Rescue ErrorDuringExecution instead of changing curl_headers return type. 2023-05-09 07:25:00 +02:00
Markus Reiter
8274920217
Rename OS::Mac::Version to MacOSVersion. 2023-05-09 05:08:38 +02:00
Sam Ford
16f3a05e45
Strategy#page_headers: Update for #curl_headers
`#curl_headers` was recently introduced into `Strategy#page_headers`
but only the call was modified and the method wasn't updated to
correctly work with the new return value, so all `HeaderMatch` checks
immediately started failing with an error.

This commit includes changes that return `#page_headers` to a working
state. I've removed the `result.assert_success!` call because it
prevents a few checks from being retried with `GET` (`firefox-cn`,
`krisp`, `prepros`).
2023-05-08 23:08:05 -04:00
Markus Reiter
353818f508
Rename curl_head to curl_headers. 2023-05-06 03:41:35 +02:00
Markus Reiter
545a332fef
Use curl_head and curl_output for Livecheck strategies. 2023-05-06 03:40:09 +02:00
William Woodruff
ea6423094b
pypi: normalize name in pypi_info
Signed-off-by: William Woodruff <william@yossarian.net>
2023-04-27 10:14:17 -06:00
Douglas Eichelberger
1df469b348 Enable strict typing 2023-04-26 09:27:00 -07:00
Douglas Eichelberger
65a4d9f627 Fix visibility modifiers 2023-04-26 09:16:55 -07:00
Douglas Eichelberger
a69fc11459 Hoist public method 2023-04-26 09:16:55 -07:00
Douglas Eichelberger
7229d03133 Switch from module_function to eigenclass 2023-04-26 09:16:55 -07:00
Douglas Eichelberger
8f97dea167 Remove other activesupport use 2023-04-26 09:16:55 -07:00
Douglas Eichelberger
03ee70b1ae Remove kernel/reporting extension 2023-04-26 09:16:55 -07:00
Douglas Eichelberger
08af78a2a5 brew style --fix 2023-04-25 09:26:24 -07:00
Mike McQuaid
c343e545c0
Merge pull request #15307 from woodruffw-forks/die-pipgrip
utils/pypi: replace `pipgrip` with `pip`'s built in dependency resolution
2023-04-25 09:36:23 +01:00
Douglas Eichelberger
24cf6076e8 brew style --fix 2023-04-24 20:42:39 -07:00
William Woodruff
62df91f09c
pypi: document normalization
Signed-off-by: William Woodruff <william@yossarian.net>
2023-04-24 20:52:35 -06:00
William Woodruff
1f671862d5
pypi: brew style --fix
Signed-off-by: William Woodruff <william@yossarian.net>
2023-04-24 20:29:05 -06:00
William Woodruff
12613ea2b0
pypi: unused arg
Signed-off-by: William Woodruff <william@yossarian.net>
2023-04-24 20:27:31 -06:00
William Woodruff
57af1abb6c
pypi: namespacing
Signed-off-by: William Woodruff <william@yossarian.net>
2023-04-24 20:12:09 -06:00
William Woodruff
ce8834e43e
[WIP] pypi: more name normalization
Signed-off-by: William Woodruff <william@yossarian.net>
2023-04-24 20:11:24 -06:00
William Woodruff
6e798a7ab8
[WIP] pypi: hackety hack
Signed-off-by: William Woodruff <william@yossarian.net>
2023-04-24 17:56:33 -06:00
William Woodruff
92225e9ec0
[WIP] pypi: filter_map sadness
Signed-off-by: William Woodruff <william@yossarian.net>
2023-04-24 17:55:18 -06:00
William Woodruff
727a88d025
[WIP] pypi: hackety hack
Signed-off-by: William Woodruff <william@yossarian.net>
2023-04-24 17:53:09 -06:00
William Woodruff
48a604e31c
[WIP] pypi: hackety hack
Signed-off-by: William Woodruff <william@yossarian.net>
2023-04-24 17:33:17 -06:00
William Woodruff
0316b9659f
[WIP] pypi: hackety hack
Signed-off-by: William Woodruff <william@yossarian.net>
2023-04-24 17:28:53 -06:00
William Woodruff
953c24a7c4
[WIP] pypi: fix python executable
Signed-off-by: William Woodruff <william@yossarian.net>
2023-04-24 17:23:22 -06:00
William Woodruff
ab7af6355d
[WIP] pypi: cut out pipgrip
Signed-off-by: William Woodruff <william@yossarian.net>
2023-04-24 17:05:51 -06:00
Bo Anderson
5b3cf28bbc
utils/gems: don't silently install gems during tests 2023-04-24 17:05:38 +01:00
Bo Anderson
e6c188affe
utils/gems: run bundle clean when install not required 2023-04-24 15:51:12 +01:00
Douglas Eichelberger
df5c5842cc Fix tests 2023-04-17 11:30:12 -07:00
Douglas Eichelberger
7fdd75ad41 brew style --fix 2023-04-17 11:00:55 -07:00
Douglas Eichelberger
09c679e75f Refactor module_function to reduce rbi need 2023-04-17 10:37:59 -07:00
Razvan Azamfirei
a2b80e4ec2
fix origin_branch_name 2023-04-17 09:57:06 -04:00
Douglas Eichelberger
403f08db8b Remove delegation 2023-04-16 09:30:21 -07:00
Douglas Eichelberger
b90897e280 Create git_repo attr 2023-04-15 19:35:13 -07:00
Douglas Eichelberger
8307255ce8 Update call sites 2023-04-15 19:35:13 -07:00
Douglas Eichelberger
429f23dcc6 Create GitRepoPath 2023-04-15 19:35:12 -07:00
Bo Anderson
8c69c95417
Merge pull request #15204 from Bo98/portable-ruby-2.6.10_1
Portable Ruby 2.6.10_1
2023-04-12 16:13:36 +01:00
Bo Anderson
3697825784
search: remove remote searching 2023-04-12 13:16:19 +01:00
Bo Anderson
e2aae0fa63
Require Ruby 2.6.10 2023-04-12 13:15:34 +01:00
Bo Anderson
376440cf3e
Dynamically find gem groups 2023-04-10 16:54:48 +01:00
Bo Anderson
b84bed7385
Revert "Revert "Split prof gems into their own group""
This reverts commit 7b336ed8cd3eb20461fdc45ce67e5318e53920c4.
2023-04-10 16:54:48 +01:00
Markus Reiter
fbf474a3fd
Add curl_head method. 2023-04-06 10:22:24 +02:00
Douglas Eichelberger
200b5cad6a Minor YARD improvements 2023-04-05 10:06:45 -07:00
Douglas Eichelberger
c5ffec1a11 Enable types in dev-cmd, etc. 2023-04-04 22:23:46 -07:00
Mike McQuaid
7b336ed8cd
Revert "Split prof gems into their own group" 2023-04-04 08:49:27 +01:00