schlepptop
d04c04ac17
Fix deprecation warning in config_all but actually don't break the thing in the process
2020-07-18 16:20:00 +02:00
schlepptop
ed94d326d4
Fix deprecation warning in config_all but don't break the thing in the process
2020-07-17 16:11:29 +02:00
schlepptop
17be38e532
Fix deprecation warning in config_all
2020-07-17 16:03:12 +02:00
Jose Diaz-Gonzalez
f977edabb2
feat: add config:clear command
...
Closes #3537
2019-05-20 13:26:21 -07:00
Jose Diaz-Gonzalez
86795ddacc
tests: run mvdan/shfmt on test runs
...
While I do not agree with _every_ style change, this will force Dokku to have consistent formatting across all shell scripts, which is arguably a Good Thing™.
The command used to reprocess everything is:
```shell
shfmt -l -bn -ci -i 2 -w .
```
2019-01-07 01:25:55 -05:00
Jose Diaz-Gonzalez
f0ef1daa15
fix: route config_all to the config command
2017-12-13 17:37:29 -05:00
Jose Diaz-Gonzalez
3d065bf35c
Update functions
2017-12-13 17:17:10 -05:00
Jose Diaz-Gonzalez
5522cf63f7
fix: revert guard and pass app arg to config_export
2017-12-13 15:46:53 -05:00
Jose Diaz-Gonzalez
52d6143d97
fix: correct the guard around the config_export call in config_sub
2017-12-13 15:39:42 -05:00
Jose Diaz-Gonzalez
099653ca02
fix: add config_all alias for plugin usage
2017-12-02 13:55:34 -05:00
Kazuhiro NISHIYAMA
a3cd6f6e63
Fix typos
2017-11-03 12:42:00 +09:00
Alex Quick
eeb6e78fa4
[config] move to godotenv
2017-09-27 23:56:41 -04:00
Alex Quick
686428a41a
[config] lint fixes
2017-09-27 23:56:40 -04:00
Alex Quick
73e85b7df5
[config] preliminary Dockerfile support
2017-09-27 23:56:40 -04:00
Alex Quick
dd8e1fdf45
[config] no longer reenter dokku in config/functions
2017-09-27 23:56:40 -04:00
Alex Quick
294d4b1f29
[config] first cut of config rewritten in golang
...
still to do:
* Rework disk format to be okay with quotes
* Fix Dockerfile deployments
* Dedup code in the subcommands
* Add --encode
* Add deploytests for the new stuff
* Restore some log messages (should I make some helpers in common?)
* Restore some functions that may be used by 3d-party plugins
2017-09-27 23:56:39 -04:00
Oliver
d6443d7560
Return exit 1 in config:get if no ENV file exists
2016-10-08 19:15:39 +02:00
Michael Hobbs
ce3aa4b93e
remove calls to dokku binary for build/receive/release
2016-06-17 16:40:35 -07:00
Jose Diaz-Gonzalez
4917330b79
Make bash files executable
2016-05-18 14:12:40 -04:00
Michael Hobbs
64f83f976e
small refactor to support config_set for globals ( #2147 )
...
* initial pass at config refactor
* support --shell and make sure we unset config globals
2016-04-26 18:08:54 -07:00
Jose Diaz-Gonzalez
27ec5f0f6d
Do not restart stopped processes on config:set/unset
...
Closes #1889
2016-03-12 02:21:53 -05:00
Michael Hobbs
987c5cfb9c
use declare for description variable
2016-03-08 15:30:34 -05:00
Michael S. Hobbs
89f289b433
subcommand restructure and bashstyle refactor. closes #1579
2016-03-03 22:11:35 -08:00
Michael Hobbs
d1b87bd7b7
cleanup shellcheck SC2086
2016-02-23 07:50:06 -08:00
Michael Hobbs
9842d7498b
nginx-vhosts rewrite
2016-02-18 18:38:54 -08:00
Jose Diaz-Gonzalez
7c67350e15
Add shebang to config/functions so editors see it as a shell script
2016-02-08 23:30:36 -05:00
Jeroen van Baarsen
441272d54b
Add post config update hook
...
This adds a hook that will send in the $APP, action name and config vars.
By adding this, we allow plugin creators to handle this kind of events as well.
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com >
2015-12-16 20:21:56 +01:00
Jeroen van Baarsen
2d147cfd12
Remove shebang from config/functions
...
In order to be one step closer to lintian compliance, lets remove the shebang
from this file so it doesn;t have to be executable
See #1641
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com >
2015-12-10 21:55:43 +01:00
Persa Zula
fb5e5de6a3
Adds helpful information regarding whitespacing when setting config values
2015-10-05 21:57:00 -04:00
Michael Hobbs
b49cceefd7
don't use exit 0 in config functions
2015-09-28 17:44:10 -07:00
Michael Hobbs
fd44635e74
Merge remote-tracking branch 'origin/reduce-trace-output' into 1123_mh-nginx-novhost
2015-09-18 17:34:32 -07:00
Michael Hobbs
3e18d9aff9
create functions for app/global vhost detection. make VHOST setting more explicit
2015-09-18 16:48:18 -07:00
Arthur Schreiber
b6c4a750de
Support removing config variables that contain \n.
2015-09-18 15:32:33 +02:00
Jose Diaz-Gonzalez
27a2478a33
Follow bashstyle where possible
2015-09-16 16:06:31 -07:00
Michael Hobbs
8095df79f6
implement core plugin mgmt using plugn. add tests.
2015-09-15 02:17:28 -07:00
Jose Diaz-Gonzalez
ad72a137e1
Fix sourcing of functions
2015-09-15 02:16:40 -07:00
Jose Diaz-Gonzalez
95161a2a9f
Use dokku_log_fail in all cases where there is an exit 1
2015-09-04 00:17:45 -04:00
Jose Diaz-Gonzalez
7db481fe36
move last actions into functions
2015-09-01 14:30:32 -04:00
Jose Diaz-Gonzalez
7b5ea80ea4
Move get and set actions into functions
2015-09-01 00:52:40 -04:00
Jose Diaz-Gonzalez
b01d371c46
Move all functions into config/functions
2015-08-31 23:08:28 -04:00
Jose Diaz-Gonzalez
59a80f7857
Move config_create into config/functions
2015-08-31 23:06:45 -04:00
Jose Diaz-Gonzalez
99f1f1b6d3
Move config arg parsing into config/functions
2015-08-31 23:03:52 -04:00
Jose Diaz-Gonzalez
e7c035e207
Use config_export function instead of calling dokku as a subcommand
2015-08-30 01:55:14 -04:00