Jose Diaz-Gonzalez
e67b96780d
refactor: unify command declaration across codebase
2020-02-10 01:40:30 -05:00
Jose Diaz-Gonzalez
1cb586b2e7
refactor: standardize command naming
...
This standardization makes it somewhat easier to read stacktraces as the command names are all uniform, so it will be slightly easier to scan trace output.
2020-02-09 22:41:39 -05:00
Jose Diaz-Gonzalez
fc5544ac70
refactor: use a single method for running the ps:*all commands
...
This reduces the duplication at the cost of slightly more complexity.
2019-06-10 13:05:57 -04: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
ed190527ce
feat: allow overriding the scheduler globally
...
Being able to override globally is useful for cases where a user will _always_ want their applications to be globally distributed
2018-09-30 21:36:53 -04:00
Jose Diaz-Gonzalez
06f8237196
fix: get the global scheduler if no app is specified
2018-07-04 15:31:03 -04:00
Jose Diaz-Gonzalez
78503ed178
feat: handle case where old, renamed containers may still be running during ps:restore
2018-04-06 22:53:02 -04:00
Jose Diaz-Gonzalez
7a4ab91ecf
fix: skip undeployed apps when parallel is not available
2018-01-12 01:33:29 -05:00
Jose Diaz-Gonzalez
f0ee6288fb
feat: ensure we don't try to restore an app that wasn't deployed
2018-01-12 01:12:14 -05:00
Jose Diaz-Gonzalez
7330a849a5
fix: drop will-cite
2018-01-11 22:35:38 -05:00
Jose Diaz-Gonzalez
226a3da87d
fix: use correct parameter for APP name
2018-01-11 00:12:41 -05:00
Jose Diaz-Gonzalez
58332d707b
fix: ignore correct rule
2018-01-08 04:49:42 -05:00
Jose Diaz-Gonzalez
652530a4b4
fix: ignore shellcheck rule
2018-01-08 04:45:34 -05:00
Jose Diaz-Gonzalez
b6e7fb5839
refactor: ensure parallel runs properly for non-restorable apps and moreutils parallel
...
Refs #3023
2018-01-08 04:41:26 -05:00
Jose Diaz-Gonzalez
06fa58ff47
chore: remove extra space
...
[ci skip]
2017-01-13 17:29:51 -07:00
Jose Diaz-Gonzalez
815c612261
feat: add support for using parallel to restore apps
...
By using parallel, we take advantage of the fact that a server may have multiple cores, thus enabling restores to complete faster.
Refs #2463
2017-01-08 20:49:14 -07:00
Jose Diaz-Gonzalez
831fdeb030
fix: allow ps_start to fail during a ps:restore
...
Instead of blocking the start of each app based on whether the previous app started, we simply log and continue.
Closes #2463
2017-01-08 20:17:23 -07:00
Michael Hobbs
987c5cfb9c
use declare for description variable
2016-03-08 15:30:34 -05:00
Michael Hobbs
aa2415eeb8
more style/function tweaks
2016-03-03 22:11:35 -08:00
Michael S. Hobbs
89f289b433
subcommand restructure and bashstyle refactor. closes #1579
2016-03-03 22:11:35 -08:00