Jose Diaz-Gonzalez
792b36d5cc
feat: add ps:startall command
2018-04-26 17:34:06 -04:00
Jose Diaz-Gonzalez
ed7d5623ad
fix: attempt to pass shellcheck on os x
2017-03-26 04:38:35 -06:00
Pedro Valentim
85e5bd7c86
Fix remote name when using --remote option with apps:create
2017-03-20 13:11:14 +00:00
Kazuhiro NISHIYAMA
fec2f8e38e
Remove unused variable
2017-01-20 00:26:51 +09:00
Jose Diaz-Gonzalez
67f05b8eed
fix: show error message when there is no DOKKU_REMOTE_HOST available
2017-01-14 14:02:14 -07:00
Jose Diaz-Gonzalez
0f5dec1797
refactor: rename variable usage to DOKKU_REMOTE_HOST
...
This allows us to make it a local variable
2017-01-14 14:00:21 -07:00
Jose Diaz-Gonzalez
24c4f25dd0
fix: set DOKKU_GIT_REMOTE to a default of dokku
2017-01-14 13:58:45 -07:00
Jose Diaz-Gonzalez
6e00064cb3
fix: Properly parse flags in the dokku client
...
- Respect the --app flag
- Respect the --trace flag
- Skip the second argument after both --app and --remote flags
- The `--global` flag should be set as is when specified after a “valid” command
- Fix issues when checking if the --app flag should be passed via ssh
- Use APP as the variable name for the current app
2017-01-09 02:33:45 -07:00
Jose Diaz-Gonzalez
e107c19dbf
chore: remove extra local declarations
2017-01-09 01:31:10 -07:00
Justin Clark
13c78e8e9a
Add exceptions back to dokku_client.sh for plugins that should not be passed an app name implicitly
2017-01-09 01:30:49 -07:00
Jose Diaz-Gonzalez
5ddcf06ce9
feat: add the ability to specify a remote via the --remote flag
...
Closes #2523
2017-01-09 01:15:22 -07:00
Jose Diaz-Gonzalez
70f3e3407f
chore: prefix functions with fn-
2017-01-09 00:44:13 -07:00
Jose Diaz-Gonzalez
332c429e31
refactor: make variables local and move them into correct functions
2017-01-09 00:37:54 -07:00
Jose Diaz-Gonzalez
b23c602079
chore: remove extra whitespace in client
...
[ci skip]
2017-01-09 00:36:35 -07:00
Guillaume Wuip
8d14d15acc
Fix obvious missing "git"
2016-06-26 21:09:31 +02:00
Guillaume Wuip
3cc1b42160
Fix has_dokku_remote
...
`git remote show <remote>` seems to really check if the remote is a git repo
whereas we just want to know if a remote named "dokku" is present
2016-06-26 21:06:42 +02:00
Guillaume Wuip
2a76f7c3b3
Allow apps:destroy when not in a project
2016-06-26 14:33:20 +02:00
Michael Hobbs
8bbb210a10
remove git push from client. closes #2210
2016-05-26 15:32:41 -07:00
Michael Hobbs
4204d210c1
port --app syntax to dokku_client. closes #1638
2016-03-04 12:38:23 -08:00
Jose Diaz-Gonzalez
a765789c4d
Allow customizing ssh port for the default client
...
Closes #1942
2016-03-02 22:01:52 -05:00
Justin Clark
86b4987588
Depreciate and remove dokku backup plugin, replace with documentation
2016-03-02 15:56:33 -08:00
Paul McLanahan
1b6973665a
(client) Add dokku git remote when specifying app name
...
Previously the client would only add the git remote
for you if it was generating a random name for you.
2016-02-24 12:17:23 -05:00
Dan Callahan
344d48e01b
Resolve SC2029: 'this expands on client side'
...
https://github.com/koalaman/shellcheck/wiki/SC2029
This patch addes inline directives where this is the desired behavior,
instead of globaly excluding the check.
2015-11-03 21:40:31 -06:00
Jose Diaz-Gonzalez
4ce9f210b3
Quiet output from ssh command to remove Connection closed messages
2015-10-16 03:03:24 -04:00
Jose Diaz-Gonzalez
5d08b56e3f
Minor lint fixes
2015-10-16 03:03:05 -04:00
Jose Diaz-Gonzalez
27a2478a33
Follow bashstyle where possible
2015-09-16 16:06:31 -07:00
Alan Justino
b4b4e266b2
Hoping Travis to like it this time...
2015-09-10 00:18:34 -03:00
Alan Justino
ad9d331257
Fix: appname was not correctly detected
2015-09-08 11:24:03 -03:00
Jose Diaz-Gonzalez
2a469df5e4
Merge pull request #1207 from rockymadden/client-appname-as-arg-bug
...
Fixed bug with client commands taking verb, appname, and also arguments.
2015-06-25 10:06:02 -04:00
Rocky Madden
587de65441
When parsing args when handling verbs, appname can be included as an argument causing bugs with commands that accept a verb, appname, and also arguments.
2015-05-22 18:21:54 -06:00
Rocky Madden
7a6450f0f0
Fixed lint issue.
2015-05-22 17:07:54 -06:00
Rocky Madden
a90090bacd
Handle for installs in /usr/local/bin and the like.
2015-05-22 16:58:26 -06:00
Loïc Guitaut
d701c99c72
TTY option for SSH
...
When using commands requiring a TTY (such as Rails console), this
script won’t work.
So enabling a TTY resolves the issue.
2015-04-08 00:29:00 +02:00
Loïc Guitaut
61136e2591
Better detection of dokku remote
...
Previously this script was matching for a remote named 'dokku' even
when DOKKU_HOST is provided and completely custom. I have a case where
I have 2 remotes with dokku, one on a staging server and another on a
production server.
So by matching for 'dokku@$DOKKU_HOST' instead, the script can determine
correctly which remote to use.
2015-03-30 11:25:33 +02:00
Michael Hobbs
66f7fa3192
lintball
2015-02-07 11:49:35 -08:00
Michael Hobbs
959c51eb50
refactor function defs to be posix-like. remove usage of force positional argument in tests. support --force like arguments in client"
2015-02-07 11:35:04 -08:00
Michael Hobbs
2ff2ca55c1
drop support for create/delete in favor of standard apps:create and apps:destroy
2015-01-17 16:24:50 -08:00
Michael Hobbs
666f2d7434
add random app generator in bash. support create and delete verbs. tested on bash 4.3.18 and 3.2.53
2015-01-16 18:46:55 -08:00
Michael Hobbs
161111aab5
lintball client. add tests. add help message
2015-01-16 15:19:14 -08:00
Jose Diaz-Gonzalez
e35493e248
unquote variables
2015-01-16 17:07:51 -05:00
Jose Diaz-Gonzalez
dc64759a97
Use doublequotes to prevent whitespace problems
2015-01-16 16:57:26 -05:00
Jose Diaz-Gonzalez
45120c5e43
Pull DOKKU_HOST from dokku remote host if not otherwise set
2015-01-16 16:57:26 -05:00
Jose Diaz-Gonzalez
7f99fcb844
Use double-square brackets in if test
2015-01-16 16:57:26 -05:00
Jose Diaz-Gonzalez
d8fa69c5f4
formatting
2015-01-16 16:57:26 -05:00
Jose Diaz-Gonzalez
1eb01db8f9
Add ability to alias dokku_client.sh as dokku command locally
2015-01-16 16:57:26 -05:00
Jose Diaz-Gonzalez
aec4543b61
Properly retrieve and parse the app name from git remote
2015-01-16 16:57:26 -05:00
Jose Diaz-Gonzalez
3e05a8c8ac
formatting
2015-01-16 16:57:26 -05:00
Jose Diaz-Gonzalez
0af71abe12
Exit with exit code from ssh command
2015-01-16 16:57:26 -05:00
Jose Diaz-Gonzalez
34895630fd
Add DOKKU_TRACE support to turn on command tracing
2015-01-16 16:57:25 -05:00
Jose Diaz-Gonzalez
cd65704c5e
Force usage of bash to run command
2015-01-16 16:57:25 -05:00