Dmitry Verkhoturov and Umputun
0c3053d4ad
CloseIdleConnections on http clients
...
Without this, go.uber.org/goleak reports
leaking goroutine caused by HTTP client
on many tests when ran one by one.
2022-04-29 10:51:49 -05:00
Dmitry Verkhoturov and Umputun
ba86db1263
replace errors package with fmt.Errorf
...
https://gist.github.com/Peltoche/60b8b81dfbf70164d0e2b88988003229
was used for it, thanks to @Peltoche for publishing it.
2022-04-26 00:25:09 -05:00
Dmitry Verkhoturov and Umputun
39c141c98d
increase timeout for backup and restore and remap 15m->60m
...
Resolves #1297
2022-03-25 15:55:37 -05:00
Dmitry Verkhoturov and Umputun
8d42d0714f
bump backend dependencies
...
Also, switch from fork github.com/umputun/go-flags back to original
github.com/jessevdk/go-flags.
2022-01-31 14:24:33 -06:00
Dmitry Verkhoturov and Umputun
90e537358d
update golangci-lint to 1.43.0, fix found issues
2021-11-23 15:00:40 -06:00
Dmitry Verkhoturov and Umputun
513c8f353d
sticter golangci config, fix discovered issues
2020-04-19 16:21:09 -05:00
Umputun
781d90e98b
switch to lgr
2019-01-07 22:32:50 -06:00
Umputun
80467c39af
switch utils commands to basic auth, remove secret passing
2018-12-30 18:00:32 -06:00
Umputun
b8ed722b2e
increase wrtie timeout to allow long exports
2018-12-24 00:19:12 -06:00
Umputun
126edb39f0
allow short form -s (--site) for backup and restore
2018-12-14 21:26:02 -06:00
Umputun
add715a111
move common options to shared cmd
2018-09-05 16:42:46 -05:00
Umputun
1b3904a307
populate common params to commands
2018-09-05 02:13:57 -05:00
Umputun and GitHub
84e7770359
Feature/admin-migrator ( #198 )
...
* auth with a secret as admin
* get rid of separate migrator service
* clean sanitize dbg prints
* fix dbg logging and set migrator routes
2018-09-03 23:13:29 -05:00
Umputun
3cc6762ebf
add comments
2018-09-02 23:14:29 -05:00
Umputun
8b3821e797
simplify cmds
2018-08-30 00:23:36 -05:00
Umputun and GitHub
ba6bab5b91
Feature/cmd ( #195 )
...
* support flags commands, move to cmd
* fix target name
* test for happy path importer
* add export cmd
* fix wrong import, lint warns
* increase test timeout
* add sellp to allow main test server to start
* implement all cmds
* handle backup/restore errors
* fix import status check, hide secret from logs
* backup cmd err tests
* randimize test port
* avoid dup code in Last controller
* add target to make all bin archives
* remove container in make
* add smiple scripts to simplify commands, update readme
* add docs on dockerless, enforce app user
* add restore info
* move last to lastCommentsScope const
2018-08-26 21:45:04 -05:00