deprec-core 3.1.4 → 3.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +1 -1
- data/lib/deprec-core/deprec.rb +11 -1
- data/lib/deprec-core/version.rb +1 -1
- metadata +1 -1
data/CHANGELOG
CHANGED
data/lib/deprec-core/deprec.rb
CHANGED
@@ -72,6 +72,17 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
72
72
|
|
73
73
|
_cset :backup_dir, '/var/backups'
|
74
74
|
|
75
|
+
# XXX We *probably* want these set
|
76
|
+
# Must be set for the password prompt from git to work
|
77
|
+
# default_run_options[:pty] = true
|
78
|
+
# ssh_options[:forward_agent] = true
|
79
|
+
|
80
|
+
# SCM
|
81
|
+
_cset :scm, "git"
|
82
|
+
_cset :user, "deploy"
|
83
|
+
_cset :deploy_via, :remote_cache
|
84
|
+
_cset :branch, "master"
|
85
|
+
|
75
86
|
# XXX rails deploy stuff
|
76
87
|
_cset :apps_root, '/srv' # parent dir for apps
|
77
88
|
_cset(:deploy_to) { File.join(apps_root, application) } # dir for current app
|
@@ -80,7 +91,6 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
80
91
|
|
81
92
|
# XXX more rails deploy stuff?
|
82
93
|
|
83
|
-
_cset :user, ENV['USER'] # user who is deploying
|
84
94
|
_cset :group, 'deploy' # deployment group
|
85
95
|
_cset(:group_src) { group } # group ownership for src dir
|
86
96
|
_cset :src_dir, '/usr/local/src' # 3rd party src on servers lives here
|
data/lib/deprec-core/version.rb
CHANGED