ktec-subtrac 0.1.52 → 0.1.54

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.markdown CHANGED
@@ -23,7 +23,7 @@ Install jeos (hardy)
23
23
  ## install apache2, python and some modules
24
24
  sudo apt-get install apache2 libapache2-mod-python libapache2-mod-python-doc \
25
25
  libapache2-svn python-setuptools subversion python-subversion \
26
- libapache2-dav graphviz htmldoc enscript
26
+ graphviz htmldoc enscript
27
27
  # enable mod_rewrite
28
28
  sudo a2enmod rewrite
29
29
 
@@ -47,7 +47,8 @@ Install jeos (hardy)
47
47
  sudo easy_install http://trac-hacks.org/svn/clientsplugin/0.11
48
48
  sudo easy_install http://trac-hacks.org/svn/emailtotracscript/trunk
49
49
  sudo easy_install http://trac-hacks.org/svn/finegrainedpageauthzeditorplugin/0.11
50
- sudo easy_install http://trac-hacks.org/svn/themeengineplugin/0.11 http://trac-hacks.org/svn/crystalxtheme/0.11
50
+ sudo easy_install http://trac-hacks.org/svn/themeengineplugin/0.11
51
+ sudo easy_install http://trac-hacks.org/svn/crystalxtheme/0.11
51
52
  sudo easy_install http://trac-hacks.org/svn/tagsplugin/tags/0.6
52
53
 
53
54
  ## install gems and update
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :minor: 1
3
- :patch: 52
3
+ :patch: 54
4
4
  :major: 0
data/bin/subtrac CHANGED
@@ -22,13 +22,21 @@ end
22
22
 
23
23
  command :create do |c|
24
24
  c.syntax = 'subtrac create [options]'
25
+ c.summary = 'Provides access to subtrac create menu.'
26
+ c.description = 'Provides access to subtrac create menu.'
27
+ c.example 'subtrac create', 'Provides access to subtrac create menu.'
28
+ c.when_called Subtrac::Commands::Create
29
+ end
30
+
31
+ command :create_project do |c|
32
+ c.syntax = 'subtrac create_project [options]'
25
33
  c.summary = 'Creates a new Subversion repository and associated Trac site for to specified project and client.'
26
34
  c.description = 'Creates a new Subversion repository and associated Trac site for the specified project and client.'
27
35
  c.example 'subtrac create -p new_project -c subtrac', 'Creates a new project called "new_project" in the "subtrac" client group.'
28
36
  c.option '-p','--project PROJECT', 'Name of project to create.'
29
37
  c.option '-c','--client CLIENT', 'Name of client to create the project for.'
30
38
  c.option '-t','--template TEMPLATE', 'Name of template to use when creating the project.'
31
- c.when_called Subtrac::Commands::Create
39
+ c.when_called Subtrac::Commands::CreateProject
32
40
  end
33
41
 
34
42
  command :create_template do |c|
@@ -10,8 +10,6 @@ module Subtrac
10
10
  list_of_templates = Dir.entries(File.join(Config.svn_dir,"templates"))
11
11
 
12
12
  # The new and improved choose()...
13
- #choices = %{#{list_of_templates}} # %w{ruby python perl}
14
- say("\nThis is the new mode (default)...")
15
13
  choose do |menu|
16
14
  menu.prompt = "Which template would you like to use for this project? "
17
15
  list_of_templates.each do |t|
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
3
  [attachment]
4
- max_size = 262144
4
+ max_size = 26214400
5
5
  render_unsafe_content = false
6
6
 
7
7
  [browser]
@@ -49,6 +49,20 @@ always_notify_reporter = false
49
49
  always_notify_updater = true
50
50
  ignore_domains =
51
51
  mime_encoding = base64
52
+ <% if enable_smtp then %>
53
+ smtp_always_bcc = <%= smtp_always_bcc %>
54
+ smtp_always_cc = <%= smtp_always_cc %>
55
+ smtp_default_domain = <%= smtp_default_domain %>
56
+ smtp_enabled = <%= smtp_enabled %>
57
+ smtp_from = <%= smtp_from %>
58
+ smtp_from_name = <%= smtp_from_name %>
59
+ smtp_password = <%= smtp_password %>
60
+ smtp_port = <%= smtp_port %>
61
+ smtp_replyto = <%= smtp_replyto %>
62
+ smtp_server = <%= smtp_server %>
63
+ smtp_subject_prefix = <%= smtp_subject_prefix %>
64
+ smtp_user = <%= smtp_user %>
65
+ <% else %>
52
66
  smtp_always_bcc =
53
67
  smtp_always_cc =
54
68
  smtp_default_domain =
@@ -61,6 +75,7 @@ smtp_replyto = trac@localhost
61
75
  smtp_server = localhost
62
76
  smtp_subject_prefix = __default__
63
77
  smtp_user =
78
+ <% end %>
64
79
  ticket_subject_template = $prefix #$ticket.id: $summary
65
80
  use_public_cc = false
66
81
  use_short_addr = false
@@ -35,3 +35,6 @@ group_bind = <%= ldap_group_bind %>
35
35
  bind_user = <%= ldap_bind_user %>
36
36
  bind_passwd = <%= ldap_bind_passwd %>
37
37
  <% end %>
38
+
39
+
40
+
data/subtrac.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{subtrac}
5
- s.version = "0.1.52"
5
+ s.version = "0.1.54"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Keith Salisbury"]
9
- s.date = %q{2009-06-02}
9
+ s.date = %q{2009-06-04}
10
10
  s.default_executable = %q{subtrac}
11
11
  s.email = %q{keithsalisbury@gmail.com}
12
12
  s.executables = ["subtrac"]
@@ -28,7 +28,7 @@ Gem::Specification.new do |s|
28
28
  "lib/subtrac/apache/vhost.conf.erb",
29
29
  "lib/subtrac/client.rb",
30
30
  "lib/subtrac/commands.rb",
31
- "lib/subtrac/commands/create.rb",
31
+ "lib/subtrac/commands/create_project.rb",
32
32
  "lib/subtrac/commands/create_template.rb",
33
33
  "lib/subtrac/commands/install.rb",
34
34
  "lib/subtrac/common/favicon.ico",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ktec-subtrac
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.52
4
+ version: 0.1.54
5
5
  platform: ruby
6
6
  authors:
7
7
  - Keith Salisbury
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-06-02 00:00:00 -07:00
12
+ date: 2009-06-04 00:00:00 -07:00
13
13
  default_executable: subtrac
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -45,7 +45,7 @@ files:
45
45
  - lib/subtrac/apache/vhost.conf.erb
46
46
  - lib/subtrac/client.rb
47
47
  - lib/subtrac/commands.rb
48
- - lib/subtrac/commands/create.rb
48
+ - lib/subtrac/commands/create_project.rb
49
49
  - lib/subtrac/commands/create_template.rb
50
50
  - lib/subtrac/commands/install.rb
51
51
  - lib/subtrac/common/favicon.ico