7e1e32b42e
fix(lfs): validate OID before building filesystem object path ( #39762 ) ( #39766 )
...
Backport #39762
Co-authored-by: Basavaraj S m <basavaraj@digiscrypt.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2026-10-13 17:19:59 -07:00
silverwind
66c672d0b7
refactor: drop two unmaintained dependencies, rename the byte size helpers ( #39083 )
2026-08-27 15:31:20 +00:00
Lunny Xiao
61b1a39efe
chore: Move import path from code.gitea.io/gitea to gitea.dev ( #37873 )
2026-05-26 15:49:31 -07:00
JonRB and Giteabot
d7a6133825
add additional ReplaceAll in pathsep to cater for different pathsep ( #34061 )
...
The doctor storage check reconstructs the lfs oid by producing a string
where the path separator is stripped
ab/dc/efg -> abdcefg. Windows however uses a backslash and thus the
ReplaceAll call doesn't produce the correct oid resulting in all lfs
objects being classed as orphaned.
This PR allows this to be more OS agnostic.
Closes #34039
---------
Co-authored-by: Giteabot <teabot@gitea.io >
2025-03-30 12:46:28 +08:00
Chongyi Zheng and Giteabot
e80466f734
Resolve lint for unused parameter and unnecessary type arguments ( #30750 )
...
Resolve all cases for `unused parameter` and `unnecessary type
arguments`
Related: #30729
---------
Co-authored-by: Giteabot <teabot@gitea.io >
2024-04-29 08:47:56 +00:00
yp05327
9cf0f0bb04
Fix gitea doctor will remove repo-avatar files when execute command storage-archives ( #30094 )
...
Fix #30037
2024-03-26 08:24:13 +00:00
Lunny Xiao
62f995203a
Move doctor package from modules to services ( #28856 )
2024-01-20 10:07:31 +08:00