Jeremy Stanley
36e1de0d5c
Block access to Gitea's archive feature
...
Crawlers have been hitting the archive URLs in Gitea, which can
result in massive cached archive files filling the disk faster than
the daily cron clears them out. This feature is an attractive
nuisance anyway for many projects, particularly Python-based source
repositories for which users mistakenly assume that a tarball of the
worktree is a suitable substitute for an sdist package, which leads
to a lot of confusion if build backends like PBR or setuptools-scm
are relied on.
Fortunately, Gitea now has a way to turn off this functionality. Add
a test to make sure these URLs return a 404 in order to prevent any
accidental future regression. Disable the archive cleanup cron as
well, since it's just a no-op at this point.
Change-Id: I0912243f40f2101bf1f3133fbf306def10aa5f83
2025-06-05 19:51:02 +00:00
..
2023-05-24 13:17:54 -07:00
2022-11-21 15:29:56 +11:00
2022-10-11 10:53:02 +11:00
2025-05-28 15:13:32 -07:00
2025-01-17 15:35:32 +00:00
2025-01-27 17:15:53 +00:00
2025-01-21 15:41:07 -08:00
2024-11-25 18:44:02 +00:00
2025-04-11 08:17:16 -07:00
2019-02-06 15:43:19 -08:00
2024-06-20 09:52:50 -07:00
2024-07-09 09:12:13 +10:00
2020-05-05 15:00:04 -05:00
2021-03-24 22:23:13 +00:00
2022-11-03 10:07:20 +11:00
2025-01-28 12:56:36 -08:00
2025-04-24 21:00:45 +00:00
2023-05-24 13:42:47 -07:00
2025-06-05 19:51:02 +00:00
2022-11-23 08:26:28 +11:00
2022-03-08 09:46:59 +11:00
2023-05-03 14:42:08 -07:00
2025-03-20 09:32:28 -07:00
2025-05-28 09:48:02 -07:00
2025-02-13 08:30:37 -08:00
2020-10-19 14:06:57 +11:00
2025-04-21 11:07:22 -07:00
2024-06-10 08:15:44 -07:00
2020-05-20 13:17:09 -07:00
2025-01-17 07:54:54 -08:00
2020-05-20 14:27:14 +10:00
2025-03-06 15:47:56 +00:00
2020-04-16 12:45:36 -05:00
2024-03-12 19:17:09 +00:00
2019-10-29 08:29:17 +09:00
2023-01-12 21:48:22 +11:00
2025-03-20 09:32:28 -07:00
2025-04-11 14:48:47 -07:00
2021-03-22 22:56:26 +00:00
2025-02-05 09:29:24 -08:00
2024-11-06 09:32:21 -08:00
2024-04-05 13:40:14 -07:00
2025-04-21 11:07:22 -07:00
2023-04-19 09:53:10 +10:00
2022-11-23 08:26:28 +11:00
2023-05-24 13:17:54 -07:00
2025-03-20 09:32:28 -07:00
2024-03-18 15:49:43 -07:00
2025-04-29 19:42:35 +00:00
2025-01-28 15:46:51 -08:00
2023-03-09 16:37:32 +11:00
2023-08-24 12:59:13 -07:00
2024-06-11 08:30:11 -07:00
2024-12-23 15:14:09 +00:00
2024-12-12 18:40:33 +00:00
2020-10-28 09:26:14 +00:00
2023-01-12 21:50:17 +11:00
2025-03-20 09:29:16 -07:00
2025-03-24 12:58:12 -07:00
2021-02-10 13:49:12 +11:00
2021-02-10 13:49:12 +11:00
2022-12-06 11:04:08 -06:00
2022-09-28 10:38:41 -07:00
2025-04-29 16:22:10 -07:00
2023-05-24 13:42:47 -07:00
2020-09-03 09:23:05 +10:00
2020-09-03 09:28:16 +10:00
2022-11-21 11:44:07 +11:00
2025-01-28 15:39:43 -08:00
2024-11-25 08:30:13 -08:00
2025-04-01 19:16:07 +02:00
2018-08-23 21:34:42 +10:00
2025-03-04 07:32:46 -08:00
2024-05-14 19:49:32 +00:00
2023-05-24 13:42:47 -07:00
2022-11-03 16:40:54 +11:00
2019-11-21 19:08:30 +00:00
2025-05-28 09:48:02 -07:00
2025-02-17 15:15:27 -08:00
2023-06-06 23:45:46 +00:00
2025-02-17 15:15:27 -08:00
2022-03-04 14:17:51 -08:00
2023-04-26 10:40:30 -07:00
2023-04-26 10:40:30 -07:00
2024-10-14 11:32:49 -07:00
2020-04-28 08:33:05 -05:00
2020-04-23 14:34:28 -05:00
2025-01-26 06:46:22 -08:00
2020-04-23 14:34:28 -05:00