Commit Graph

20 Commits

Author SHA1 Message Date
Gabriel Pickenhayn
7dcf456525 [ADD] restore-sql 2024-05-07 14:48:44 +00:00
hugues de keyzer
bb2b3be3b4 allow hyphen-minus character in database names 2024-04-12 11:35:22 +02:00
Rémy Taymans
f1cf0dac23 Apply all suggestion made by Rémy Taymans. 2024-03-23 21:59:12 +01:00
Sylvain LE GAL
a73de5f240 [REF] apply f-string to improve readability 2024-03-23 20:53:57 +01:00
Sylvain LE GAL
853f37889c [FIX] 'CREATE DATABASE' is a command, not a request that requires result 2024-03-23 10:23:54 +01:00
Sylvain LE GAL
4a874957ed [REF] move postgres code into dedicated tools file 2024-03-23 10:16:32 +01:00
Sylvain LE GAL
748d5a54f6 [ADD] restoredb function 2024-03-02 23:59:36 +01:00
Rémy Taymans
a3a8af9a70 Fix listing containers during removal of containers
Removing a container can take some time to be performed. Listing
containers when a container is currently being removed may cause errors.
Because listing container and filtering them by name requires to fetch
data from the container that is currently being removed.
2023-11-09 16:27:29 +01:00
Rémy Taymans
debf57bac3 [ADD] dumpdb command 2023-07-12 08:32:57 +02:00
Sylvain LE GAL
8a79974232 [REF] Use f-string to make the code lighter
[FIX] execute_psql_command: make optional database argument working correctly
[FIX] execute_psql_command: avoid to have an error
2023-07-06 16:37:52 +02:00
Rémy Taymans
284417bb00 [ADD] psql command 2023-05-09 21:34:17 +02:00
Sylvain LE GAL
bdc9b606ec [IMP] Add postgresql custom configuration ; [ADD] extra setting into odoo_default_company key. (in config.yml file) ; [ADD] odoo_rpc_timeout extra settings ; [FIX] restore call to custom odoo.cfg file 2022-10-11 12:26:41 +02:00
Sylvain LE GAL
4500d9fe43 [REF] introduce exec_container command 2022-06-29 21:53:26 +02:00
Sylvain LE GAL
afcdeaa81d ADD a lot of logger to try to understand why it works locally and not on the CI 2022-06-29 21:16:27 +02:00
Sylvain LE GAL
a9f7fa3568 improve log 2022-06-29 21:03:06 +02:00
Sylvain LE GAL
798e27ab16 [IMP] add logger in execute_sql_file 2022-06-29 20:13:08 +02:00
Sylvain LE GAL
424131e9b2 [REF] Remove bind fucking mounts (postgres) replaced by nice volumes 2022-06-29 16:28:48 +02:00
Sylvain LE GAL
1ead68bef0 [REF] remove click-odoo that requires to import odoo that is a mess 2022-06-29 14:12:12 +02:00
Sylvain LE GAL
01b2a94cb4 [FIX] do not crash if postgres container exists in a exited status 2022-06-29 10:58:27 +02:00
Sylvain LE GAL
b37bfa8e31 [REF] create tools & cli folders 2022-06-27 01:57:31 +02:00