Commit Graph

89 Commits (fc2d75f86d77b022ece848acf2581c14ef21d43b)

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