Commit Graph

69 Commits (f48fda8eefa4d47e335f01ac92366b9373950e0e)

Author SHA1 Message Date
6543 a180d945eb
Dump should only copy regular files and symlink regular files (#20015) (#20021) 3 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) 4 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
mrsdizzie e14cad79c9 Include custom configuration file in dump (#6516) 6 years ago
glaszig dbba46c216 support custom file name in `gitea dump` command (#6474) 6 years ago
Zsombor 656456441c Add flag to skip repository dumping (#5695) 6 years ago
Morgan Bazalgette 2b52f77e1b General refactor of the cmd package (#3328) 7 years ago
Guillaume Dube 8798cf4e3b Set session and indexers' data files rel to AppDataPath (#2192) 7 years ago
Jonas Östanbäck b1b8c5e9f4 Set TMPDIR enviroment variable for dump command (#1915) 8 years ago
Bo-Yi Wu 22295944df refactor: show command help message. (#1486) 8 years ago
Lunny Xiao 341b3a0349 bug fix for dump when data directoryis not exist (#1025) 8 years ago
Lunny Xiao 35548a9d4e remove unused fixme on dump command (#1065) 8 years ago
Gabriel Jackson bf6f61cc69 Cleanup log messaging 8 years ago
Lunny Xiao a8048c19f3 Update xorm and fix dump command (#692) 8 years ago
Manuel Kuhlmann e698654902 Add data directory excluding sessions to dump (#587) 8 years ago
Lunny Xiao 980dd0bf51 Update xorm and dependencies vendor for feature to dump to other database (#565) 8 years ago
Joubert RedRat ce21ed6c34 Remove remaining Gogs reference on locales and cmd (#430) 8 years ago
Bwko 4ff0db0246 Catch os... errors 8 years ago
Bo-Yi Wu 5054020c1f fix gofmt error. 8 years ago
Sandro Santilli 4247304f5a Update import paths from github.com/go-gitea to code.gitea.io (#135) 8 years ago
Matthias Loibl 5cd093aa46 Use cli Flags directly and not some helper funcs 8 years ago
Thomas Boerger 5b5af7daee
Made linter happy in cmd folder 8 years ago
Rémy Boulanouar 2d68bd1ef9 Change import reference to match gitea instead of gogs (#37) 8 years ago