keithsalisbury-subtrac 0.1.11 → 0.1.12
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/lib/subtrac/templates/projects/blank/trac/wiki/WikiStart +5 -5
- data/lib/subtrac.rb +3 -2
- metadata +1 -1
data/VERSION.yml
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
[[PageOutline]]
|
2
2
|
= Welcome to the Saint Development Server =
|
3
3
|
|
4
|
-
This is the home of development for
|
4
|
+
This is the home of development for <%= client %>. This page is editable by design. That means YOU. If something is missing, fix it. This is what you make of it so get involved.
|
5
5
|
|
6
6
|
== Starting Points ==
|
7
7
|
|
8
|
-
* [
|
9
|
-
* [
|
8
|
+
* [<%= @APP_CONFIG[:urls][:svn] %>/ Browse all <%= client_name %> SVN Repositories]
|
9
|
+
* [<%= @APP_CONFIG[:urls][:svn] %>/<%= client_name %>/<%= project_name %> Browse the <%= project_name %> repository]
|
10
10
|
|
11
11
|
=== How to check this project out ===
|
12
12
|
|
13
13
|
Make sure you have subversion client installed, then you can check the project out using:
|
14
14
|
|
15
15
|
{{{
|
16
|
-
svn checkout http
|
16
|
+
svn checkout http://<%= @server_hostname %><%= @APP_CONFIG[:urls][:svn] %>/<%= client_name %>/<%= project_name %>/trunk <%= project_name %>
|
17
17
|
}}}
|
18
18
|
|
19
19
|
=== Using SVN ===
|
@@ -24,7 +24,7 @@ svn checkout http://#{@server_hostname}#{@APP_CONFIG[:urls][:svn]}/#{client_name
|
|
24
24
|
|
25
25
|
== Template Projects ==
|
26
26
|
|
27
|
-
This system allows you to set up a default template for different project types. All templates are available to browse in the [
|
27
|
+
This system allows you to set up a default template for different project types. All templates are available to browse in the [<%= @APP_CONFIG[:urls][:svn] %>/templates/svn/ Browse all Templates Repositories] area.
|
28
28
|
|
29
29
|
|
30
30
|
= About Trac =
|
data/lib/subtrac.rb
CHANGED
@@ -201,7 +201,7 @@ module Subtrac
|
|
201
201
|
|
202
202
|
unless !File.directory?(@install_dir)
|
203
203
|
# Ask if the user agrees (yes or no)
|
204
|
-
confirm_clean = agree("Err, that
|
204
|
+
confirm_clean = agree("Err, that directory's got stuff init. You sure you want me to overwrite? [Y/n]") if options.clean
|
205
205
|
end
|
206
206
|
|
207
207
|
# right lets install
|
@@ -249,7 +249,7 @@ module Subtrac
|
|
249
249
|
end
|
250
250
|
|
251
251
|
# creates a directory if it does not exist
|
252
|
-
def self.create_if_missing
|
252
|
+
def self.create_if_missing(*names)
|
253
253
|
names.each do |name|
|
254
254
|
unless File.directory?(name)
|
255
255
|
puts "Creating directory called #{names}..."
|
@@ -402,6 +402,7 @@ module Subtrac
|
|
402
402
|
# do something with the file here
|
403
403
|
unless ['.', '..','.svn'].include? file
|
404
404
|
temp_file = File.join(temp_dir,file)
|
405
|
+
puts = binding
|
405
406
|
parse_template(File.join(project_template,"trac/wiki",file), temp_file, binding)
|
406
407
|
`trac-admin #{project_trac_dir} wiki import #{file} #{temp_file}` if SUBTRAC_ENV != 'test'
|
407
408
|
FileUtils.rm(temp_file)
|