Sam Ford
270313f649
Pypi: Restore regex support
...
We recently updated the `Pypi` strategy to use the PyPI JSON API and
the default strategy behavior no longer relies on a regex, so the initial implementation didn't include regex handling. This restores
support for a `livecheck` block regex by updating the `DEFAULT_BLOCK`
logic to handle an optional regex. This allows us to use a regex to
omit parts of the `info.version` value without having to duplicate
the default block logic in a `strategy` block only to use a regex.
This isn't currently necessary for any existing formulae using the
`Pypi` strategy but we have a few that needed a custom regex with
the previous strategy approach, so they may need this functionality
in the future. Besides that, restoring regex support to `Pypi`
ensures that `livecheck`/`strategy` blocks work in a fairly
consistent manner across strategies.
2024-12-08 14:29:44 -05:00
..
2024-08-10 13:49:10 -07:00
2024-12-02 10:13:04 -05:00
2024-09-16 05:46:14 +01:00
2024-11-22 21:04:51 -08:00
2024-11-18 12:59:56 +11:00
2024-10-05 14:05:59 -04:00
2024-05-09 14:43:53 +01:00
2024-12-06 16:06:09 +08:00
2024-10-02 10:03:12 -07:00
2024-11-05 11:24:13 -05:00
2024-12-08 14:29:44 -05:00
2024-10-11 14:55:37 -04:00
2024-06-21 19:25:51 -04:00
2024-12-02 10:13:04 -05:00
2024-08-22 21:48:12 -07:00
2024-11-19 08:39:55 +00:00
2024-10-20 11:29:30 -04:00
2024-12-04 02:57:08 +08:00
2024-04-21 14:16:25 -07:00
2024-03-21 19:58:22 -04:00
2024-03-31 18:38:03 -07:00
2024-12-05 14:26:30 -05:00
2024-02-19 13:57:27 +00:00
2024-02-19 13:57:27 +00:00
2024-11-24 20:50:38 -05:00
2024-03-07 16:20:20 +00:00
2024-02-19 13:57:27 +00:00
2024-05-07 19:31:28 +01:00
2024-03-10 10:22:55 -04:00
2024-03-21 17:52:48 -04:00
2024-08-10 17:52:26 -07:00
2024-02-19 13:57:27 +00:00
2024-09-02 12:03:06 -04:00
2024-07-14 08:49:39 -04:00
2024-02-19 13:57:27 +00:00
2024-02-19 13:57:27 +00:00
2024-03-07 16:20:20 +00:00
2024-03-06 15:10:14 +01:00
2024-11-08 15:49:00 -05:00
2024-02-19 13:57:27 +00:00
2024-09-24 10:15:34 +01:00
2024-04-11 17:58:08 +01:00
2024-09-02 12:03:06 -04:00
2024-03-17 22:47:37 -07:00
2024-09-24 10:15:34 +01:00
2024-09-30 23:11:44 +10:00
2024-02-19 13:57:27 +00:00
2024-05-28 12:34:30 +09:00
2024-09-24 10:15:34 +01:00
2024-03-07 16:20:20 +00:00
2024-02-19 13:57:27 +00:00
2024-12-02 10:13:04 -05:00
2024-11-21 18:34:11 -08:00
2024-09-27 10:17:04 +08:00
2024-03-30 11:29:34 -07:00
2024-09-25 21:15:53 +08:00
2024-03-07 16:20:20 +00:00
2024-08-14 19:08:31 -07:00
2024-10-02 10:03:12 -07:00
2024-09-24 10:15:34 +01:00
2024-02-19 13:57:27 +00:00
2024-02-19 13:57:27 +00:00
2024-12-02 10:13:03 -05:00
2024-02-19 13:57:27 +00:00
2024-11-24 00:03:31 +01:00
2024-02-19 13:57:27 +00:00
2024-10-31 15:15:02 +08:00
2024-05-13 08:48:41 -04:00
2024-09-24 10:15:34 +01:00
2024-08-10 13:49:10 -07:00
2024-02-19 13:57:27 +00:00
2024-09-04 22:54:20 +02:00
2024-10-23 16:51:01 +01:00
2024-02-19 13:57:27 +00:00
2024-12-05 14:01:37 +00:00
2024-11-24 15:49:49 -08:00
2024-02-19 13:57:27 +00:00
2024-12-02 10:13:04 -05:00
2024-08-28 13:53:01 +01:00
2024-08-08 09:34:32 +01:00
2024-09-17 12:43:28 +09:00
2024-12-04 18:01:10 +08:00
2024-02-19 13:57:27 +00:00
2024-02-19 13:57:27 +00:00
2024-02-19 13:57:27 +00:00
2024-10-27 15:45:46 +00:00
2024-03-30 20:24:06 -07:00
2024-08-05 09:17:23 -07:00
2024-07-09 20:01:43 -04:00
2024-09-24 10:15:34 +01:00
2024-02-19 13:57:27 +00:00
2024-11-18 00:13:12 +08:00
2024-03-07 16:20:20 +00:00
2024-02-19 13:57:27 +00:00
2024-07-24 11:39:09 -04:00