ktec-subtrac 0.1.36 → 0.1.38

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -88,8 +88,20 @@ Note: since gems and ubuntu don't entirely play nicely, its necessary to add the
88
88
  # Other things to setup
89
89
 
90
90
  ## Mount a shared host folder from the VM Guest
91
+
92
+ ### manually
91
93
  sudo mkdir /mnt/subtrac
92
94
  sudo mount.vboxsf pkg /mnt/subtrac/
95
+
96
+ ### automatically
97
+ sudo vi /etc/fstab
98
+
99
+ add the following line:
100
+
101
+ Shared /mnt/Shared vboxsf defaults,rw,uid=1000,gid=1000 0 0
102
+
103
+
104
+ This way i can install all the repos and trac on a mounted volume, which means all the data is separated from the appliance and can be part of my back up process.
93
105
 
94
106
  ## Setting up VM to use an internal loop back interface
95
107
 
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 1
4
- :patch: 36
4
+ :patch: 38
data/bin/subtrac CHANGED
@@ -12,9 +12,9 @@ program :description, 'subtrac will install and manage a collection of subversio
12
12
 
13
13
  command :install do |c|
14
14
  c.syntax = 'subtrac install [options]'
15
- c.summary = ''
15
+ c.summary = 'Install the base configuration for apache.'
16
16
  c.description = 'Installation of default files required to host multipe development projects.'
17
- c.example 'description', 'installs the default trac and svn setup'
17
+ c.example 'subtrac install --clean --default', 'install a clean installation with the default trac and svn setup.'
18
18
  c.option '-c','--clean', 'Performs a clean install'
19
19
  c.option '-d','--defaults', 'Accept all defaults'
20
20
  c.when_called Subtrac::Commands::Install
@@ -22,9 +22,9 @@ end
22
22
 
23
23
  command :create do |c|
24
24
  c.syntax = 'subtrac create [options]'
25
- c.summary = ''
26
- c.description = ''
27
- c.example 'description', 'creates a new project'
25
+ c.summary = 'Creates a new Subversion repository and associated Trac site for to specified project and client.'
26
+ c.description = 'Creates a new Subversion repository and associated Trac site for to specified project and client.'
27
+ c.example 'subtrac create', 'Creates a new project.'
28
28
  c.option '-p','--project PROJECT', 'Name of project to create'
29
29
  c.option '-c','--client CLIENT', 'Name of client to create the project for'
30
30
  c.when_called Subtrac::Commands::Create
@@ -16,6 +16,14 @@ Make sure you have subversion client installed, then you can check the project o
16
16
  svn checkout http://<%= server_hostname %><%= svn_url %>/<%= client.path %>/<%= project.path %>/trunk <%= project.path %>
17
17
  }}}
18
18
 
19
+ === How to import existing files into this repository ===
20
+
21
+ The following example will import all files in the current directory into the repository.
22
+
23
+ {{{
24
+ svn import . http://<%= server_hostname %><%= svn_url %>/<%= client.path %>/<%= project.path %>/trunk -m "initial import"
25
+ }}}
26
+
19
27
  === Using SVN ===
20
28
 
21
29
  * [http://tortoisesvn.tigris.org/ For Windows use Tortoise SVN]
@@ -16,6 +16,14 @@ Make sure you have subversion client installed, then you can check the project o
16
16
  svn checkout http://<%= server_hostname %><%= svn_url %>/<%= client.path %>/<%= project.path %>/trunk <%= project.path %>
17
17
  }}}
18
18
 
19
+ === How to import existing files into this repository ===
20
+
21
+ The following example will import all files in the current directory into the repository.
22
+
23
+ {{{
24
+ svn import . http://<%= server_hostname %><%= svn_url %>/<%= client.path %>/<%= project.path %>/trunk -m "initial import"
25
+ }}}
26
+
19
27
  === Using SVN ===
20
28
 
21
29
  * [http://tortoisesvn.tigris.org/ For Windows use Tortoise SVN]
data/lib/subtrac/svn.rb CHANGED
@@ -50,6 +50,12 @@ module Subtrac
50
50
  # delete the temporary directory
51
51
  FileUtils.rm_r(project_temp_dir, :force => true)
52
52
 
53
+ # this should fix the 'can't open activity db error'
54
+ `sudo chmod 770 #{project.svn_dir}`
55
+ `sudo chmod 755 #{project.svn_dir}/dav/activities`
56
+ `sudo chown www-data:www-data #{project.svn_dir}/dav/activities`
57
+
58
+
53
59
  end
54
60
 
55
61
  end
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.36
4
+ version: 0.1.38
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-04-29 00:00:00 -07:00
12
+ date: 2009-05-01 00:00:00 -07:00
13
13
  default_executable: subtrac
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency