93 Commits (main)

Author SHA1 Message Date
h7x4 7a474d1c95
Don't store repo archives on `gitea dump` (#35467) 3 months ago
junoberryferry ec75bdbe68
Use github.com/mholt/archives replace github.com/mholt/archiver (#35390) 4 months ago
TheFox0x7 e9f5105e95
Migrate to urfave v3 (#34510) 6 months ago
TheFox0x7 ee3c82f874
Enable addtional linters (#34085) 9 months ago
Kemal Zebari 0606284fcf
Add --skip-db option to dump command (#30613) 2 years ago
wxiaoguang 654cfd1dfb
Refactor "dump" sub-command (#30240) 2 years ago
Anudeep Reddy 5380fd5d6d
fixed duplicate attachments on dump on windows (#28019) 2 years ago
JonRB 99a5595408
clarify aspects of the dump command (#26887) 2 years ago
wxiaoguang d0dbe52e76
Refactor to use urfave/cli/v2 (#25959) 2 years ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 2 years ago
wxiaoguang 2cdf260f42
Refactor path & config system (#25330) 3 years ago
Lunny Xiao d6dd6d641b
Fix all possible setting error related storages and added some tests (#23911) 3 years ago
wxiaoguang 4647660776
Rewrite logger system (#24726) 3 years ago
Lunny Xiao 377a0a20f0
Merge setting.InitXXX into one function with options (#24389) 3 years ago
Fredrik Eriksson cb1536471b
Add --quiet option to gitea dump (#22969) 3 years ago
Zettat123 df411819eb
Check LFS/Packages settings in dump and doctor command (#23631) 3 years ago
FuXiaoHei cdc9e91750
add path prefix to ObjectStorage.Iterator (#23332) 3 years ago
Jason Song c84238800b
Refactor `setting.Database.UseXXX` to methods (#23354) 3 years ago
wxiaoguang 294124d129
Close the temp file when dumping database to make the temp file can be deleted on Windows (#23249) 3 years ago
Lunny Xiao c53ad052d8
Refactor the setting to make unit test easier (#22405) 3 years ago
Jason Song 477a1cc40e
Improve utils of slices (#22379) 3 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 3 years ago
Johan Van de Wauw 49874b7aad
dump: Add option to skip index dirs (#21501) 3 years ago
Gusted b899b2df5a
Add Tar ZSTD support (#20493) 3 years ago
wxiaoguang 433443ffa9
Dump should only copy regular files and symlink regular files (#20015) 4 years ago
KN4CK3R e4274f640c
Allow package dump skipping (#19506) 4 years ago
zeripath 1e319ba41a
When dumping trim the standard suffices instead of a random suffix (#19440) 4 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 4 years ago
Gusted ff2fd08228
Simplify parameter types (#18006) 4 years ago
Gusted 4bbbf35654
Fix outType on gitea dump (#18000) 4 years ago
wxiaoguang 042cac5fed
Improve install code to avoid low-level mistakes. (#17779) 4 years ago
Lunny Xiao 69b61d4373
Fix bug on admin subcommand (#17533) 4 years ago
Lunny Xiao 63c0dc89ef
Rename db Engines related functions (#17481) 4 years ago
Eng Zer Jun f2e7d5477f
refactor: move from io/ioutil to io and os package (#17109) 4 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 4 years ago
Lunny Xiao 9f31f3aa8a
Add an abstract json layout to make it's easier to change json library (#16528) 4 years ago
luzpaz e0296b6a6d
Fix various documentation, user-facing, and source comment typos (#16367) 5 years ago
Johan Van de Wauw 6d2866f20c
dump: Add option to skip LFS/attachment files (#15407) 5 years ago
zeripath f0e15250b9
Migrate to use jsoniter instead of encoding/json (#14841) 5 years ago
zeripath 3477e616ab
Exclude the current dump file from the dump (#14606) 5 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 5 years ago
zeripath 742e21aeba
Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 5 years ago
Lunny Xiao 3878e985b6
Add default storage configurations (#12813) 5 years ago
6543 cfd8e8a489
gitea dump: include version & Check InstallLock (#12760) 5 years ago
zeripath 74bd9691c6
Re-attempt to delete temporary upload if the file is locked by another process (#12447) 5 years ago
PhilippHomann 684b7a999f
Dump: add output format tar and output to stdout (#10376) 6 years ago
Kyle Evans a5018d099d
cmd: dump: check value of skip-repository flag (#11254) 6 years ago
Kyle Evans 1bdffefc05
cmd: dump: add an -L/--skip-log option (#11253) 6 years ago
Lunny Xiao 9f40bb020e fix dump non-exist log directory (#9818) 6 years ago
Rychu 2b0e4e0cb8 Fixed errors logging in dump.go (#9218) 6 years ago