Commit Graph

1906 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
09b656e37e refactor: standardize plugin trigger calls 2020-02-22 06:39:33 -05:00
Jose Diaz-Gonzalez
cff51b8ec9 fix: add missing parenthesis 2020-02-22 04:59:53 -05:00
Jose Diaz-Gonzalez
e5a9d29215 refactor: use Println in favor of Fprintln for os.Stdout 2020-02-22 04:32:51 -05:00
Jose Diaz-Gonzalez
009e37d840 refactor: remove ps command
`ps` should be replaced by `enter` with a specified container id.
2020-02-22 00:42:19 -05:00
Jose Diaz-Gonzalez
1ba5269779 fix: use correct command name 2020-02-19 01:02:12 -05:00
Jose Diaz-Gonzalez
94357b961e refactor: deprecate nginx:validate
The command function move was to fix circular import issues...
2020-02-19 01:00:47 -05:00
Jose Diaz-Gonzalez
579d430303 refactor: rename nginx:show-conf to nginx:show-config 2020-02-19 01:00:47 -05:00
Jose Diaz-Gonzalez
93080498f6 fix: correct calls to docker build and import common functions 2020-02-18 23:05:52 -05:00
Jose Diaz-Gonzalez
00f3d498a2 fix: fetch app image before variable use 2020-02-18 05:43:45 -05:00
Jose Diaz-Gonzalez
de84a038d2 feat: inject a com.dokku.dyno label
This is useful for external tools that monitor based on container labels.
2020-02-18 01:33:40 -05:00
Jose Diaz-Gonzalez
11e9cd13ae chore: drop com.dokku.network label
It isn't necessary, we know the network is the network...
2020-02-18 01:33:05 -05:00
Jose Diaz-Gonzalez
8e4dc1c2d0 feat: label released images
This will allow us to properly handle cases where the labeled image isn't actually the correct image due to invalid builds.
2020-02-18 01:32:26 -05:00
Jose Diaz-Gonzalez
9f32747c98 Merge pull request #3861 from dokku/3821-fix-clone-rename
Fix app clone and rename calls
2020-02-18 00:42:25 -05:00
Jose Diaz-Gonzalez
d978f98c23 chore: drop extra log output 2020-02-17 22:16:40 -05:00
Jose Diaz-Gonzalez
fdf09adcd5 fix: ignore errors when getting all properties 2020-02-17 21:48:33 -05:00
Jose Diaz-Gonzalez
02e2fa73f5 fix: drop extra s 2020-02-17 21:47:42 -05:00
Jose Diaz-Gonzalez
7389bb3f03 fix: properly handle returned errors 2020-02-17 20:42:29 -05:00
Jose Diaz-Gonzalez
2e774f0806 feat: unify apps:rename and apps:clone
- add --skip-deploy to apps:rename
- add all missing validation to rename command
- fix log output to be a bit more logical
2020-02-17 19:23:07 -05:00
Jose Diaz-Gonzalez
8987ec6704 refactor: move cache and rebuild handling to plugin triggers 2020-02-17 19:18:12 -05:00
Jose Diaz-Gonzalez
63f4ec3867 feat: call clone/destroy prop commands as necessary 2020-02-17 19:08:39 -05:00
Jose Diaz-Gonzalez
d336d7c5c2 feat: add prop clone command 2020-02-17 18:48:06 -05:00
Jose Diaz-Gonzalez
ebd27cd666 chore: drop unused and unspecified arg 2020-02-17 18:43:42 -05:00
Jose Diaz-Gonzalez
b1ae58f968 chore: re-arrange commands to be in alphabetical order 2020-02-17 18:40:55 -05:00
Jose Diaz-Gonzalez
0b40414170 refactor: use normal if statement instead of && calls 2020-02-17 18:27:11 -05:00
Jose Diaz-Gonzalez
799a5713c2 chore: remove duplicate docker_cleanup call
This is already called during apps_destroy
2020-02-17 06:23:14 -05:00
Jose Diaz-Gonzalez
5dd297bb49 refactor: move pre-receive hook modification to post-app-clone-setup trigger 2020-02-17 06:21:08 -05:00
Jose Diaz-Gonzalez
5801fd98a4 refactor: move pre-receive hook modification to post-app-rename-setup trigger 2020-02-17 06:20:20 -05:00
Jose Diaz-Gonzalez
9d3538d587 fix: move ps_rebuild to post-app-rename 2020-02-17 06:17:58 -05:00
Jose Diaz-Gonzalez
3a961d2de7 feat: move URLS and VHOST modifications to post-app-rename-setup 2020-02-17 06:17:13 -05:00
Jose Diaz-Gonzalez
c2c2e2ccbd refactor: call proxy-clear-config from post-app-rename-setup 2020-02-17 06:14:48 -05:00
Jose Diaz-Gonzalez
0740636d53 feat: call ps_rebuild from post-app-rename-setup 2020-02-17 06:10:26 -05:00
Jose Diaz-Gonzalez
77f9862549 feat: add post-app-rename-setup trigger 2020-02-17 06:09:42 -05:00
Jose Diaz-Gonzalez
e19b52442b fix: remove deprecated egrep calls from codebase 2020-02-17 05:59:52 -05:00
Jose Diaz-Gonzalez
b04080bcb1 Merge pull request #3854 from dokku/remove-deprecated-code
Remove deprecated code
2020-02-17 05:51:20 -05:00
Jose Diaz-Gonzalez
848373def5 chore: remove all deprecated commands
This change removes all deprecated commands. In many cases, users have been warned for a number of releases before the commands have been removed. All commands that were removed have existing alternatives.
2020-02-12 02:03:03 -05:00
Jose Diaz-Gonzalez
d759c6c12d Merge pull request #3682 from dokku/3588-tty-default-lang
Force tty check to run with the default language
2020-02-10 05:14:24 -05:00
Jose Diaz-Gonzalez
0c388615cc Merge pull request #3853 from dokku/add-missing-hooks
Add missing hooks to events plugin
2020-02-10 04:44:42 -05:00
Jose Diaz-Gonzalez
e30d9fdba3 Merge pull request #3852 from dokku/standardize-plugin-code
Standardize plugin code
2020-02-10 04:44:16 -05:00
Jose Diaz-Gonzalez
53f520d5c6 fix: add missing hooks to events plugin 2020-02-10 04:43:57 -05:00
Jose Diaz-Gonzalez
35252444e1 fix: correct command name 2020-02-10 03:43:06 -05:00
Jose Diaz-Gonzalez
aa6a651f1d tests: correct test issues 2020-02-10 02:54:31 -05:00
Jose Diaz-Gonzalez
7357579af2 refactor: standardize trigger code 2020-02-10 02:40:59 -05:00
Jose Diaz-Gonzalez
4a60497d3e feat: add tests for all help commands 2020-02-10 01:56:50 -05:00
Jose Diaz-Gonzalez
7a1537e38e fix: correct tests 2020-02-10 01:41:31 -05:00
Jose Diaz-Gonzalez
e67b96780d refactor: unify command declaration across codebase 2020-02-10 01:40:30 -05:00
Jose Diaz-Gonzalez
ef7894fdfa refactor: standardize help generation 2020-02-10 00:37:00 -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
58de433afa fix: omit 2nd value from range 2020-02-09 20:47:20 -05:00
Jose Diaz-Gonzalez
37c83e1c52 refactor: DRY up reports in golang
This unifies all the report-handling code so that plugins only need to worry about the data they wish to represent, and not the logic of actually returning it.
2020-02-09 20:37:03 -05:00
Jose Diaz-Gonzalez
ab509a7424 feat: ensure network exists before attempting to attach it to a container
This will give better feedback to developers than a potentially generic error.
2020-02-09 01:21:42 -05:00