0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-08-24 23:48:07 +02:00
Giteabot e11176192a
Fix a bug where lfs gc never worked. (#35198) (#35255)
Backport #35198 by @lunny

Fix #31113

After #22385 introduced LFS GC, it never worked due to a bug in the INI
library: fields in structs embedded more than one level deep are not
populated from the INI file.

This PR fixes the issue by replacing the multi-level embedded struct
with a single-level struct for parsing the cron.gc_lfs configuration.

Added a new test for retrieving cron settings to demonstrate the bug in
the INI package.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2025-08-12 10:57:50 +03:00
..
2023-12-19 09:29:05 +00:00
2023-07-04 18:36:08 +00:00
2025-03-31 01:53:48 -04:00
2024-05-03 09:13:48 +00:00
2025-01-03 00:32:02 +08:00
2025-03-31 01:53:48 -04:00
2023-06-18 16:10:44 +00:00
2023-10-10 18:47:49 +08:00
2025-03-24 03:53:30 +00:00
2023-02-20 16:18:26 -06:00