BuildMaster 0.9.1 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (174) hide show
  1. data/bin/svnfix.rb +3 -0
  2. data/lib/buildmaster/ci/server.rb +55 -0
  3. data/lib/buildmaster/common.rb +3 -0
  4. data/lib/buildmaster/common/properties.rb +28 -0
  5. data/lib/buildmaster/{tree_to_object.rb → common/tree_to_object.rb} +0 -0
  6. data/lib/buildmaster/cotta.rb +1 -1
  7. data/lib/buildmaster/cotta/command_error.rb +6 -1
  8. data/lib/buildmaster/cotta/command_interface.rb +44 -0
  9. data/lib/buildmaster/cotta/command_runner.rb +39 -0
  10. data/lib/buildmaster/cotta/cotta.rb +40 -3
  11. data/lib/buildmaster/cotta/cotta_dir.rb +28 -7
  12. data/lib/buildmaster/cotta/cotta_file.rb +14 -2
  13. data/lib/buildmaster/cotta/cotta_pathname.rb +9 -0
  14. data/lib/buildmaster/cotta/in_memory_system.rb +20 -9
  15. data/lib/buildmaster/cotta/physical_system.rb +4 -8
  16. data/lib/buildmaster/project.rb +10 -0
  17. data/lib/buildmaster/{ant_driver.rb → project/ant_driver.rb} +0 -0
  18. data/lib/buildmaster/project/build.rb +3 -0
  19. data/lib/buildmaster/{build_number_file.rb → project/build_number_file.rb} +4 -0
  20. data/lib/buildmaster/project/ci.rb +3 -0
  21. data/lib/buildmaster/{cvs_driver.rb → project/cvs_driver.rb} +0 -0
  22. data/lib/buildmaster/project/ftp_driver.rb +64 -0
  23. data/lib/buildmaster/{java_manifest.rb → project/java_manifest.rb} +0 -0
  24. data/lib/buildmaster/project/pscp_driver.rb +17 -0
  25. data/lib/buildmaster/project/release.rb +67 -0
  26. data/lib/buildmaster/project/ruby_forge_project.rb +26 -0
  27. data/lib/buildmaster/{run_ant.rb → project/run_ant.rb} +0 -0
  28. data/lib/buildmaster/project/server_manager.rb +64 -0
  29. data/lib/buildmaster/project/svn_admin_driver.rb +20 -0
  30. data/lib/buildmaster/project/svn_driver.rb +94 -0
  31. data/lib/buildmaster/project/svn_helper.rb +113 -0
  32. data/lib/buildmaster/project/svn_status_info.rb +54 -0
  33. data/lib/buildmaster/{try.rb → project/try.rb} +0 -0
  34. data/lib/buildmaster/project/version_number_file.rb +45 -0
  35. data/lib/buildmaster/{windows → project/windows}/iis_driver.rb +4 -4
  36. data/lib/buildmaster/{windows → project/windows}/sql_server_driver.rb +0 -0
  37. data/lib/buildmaster/site.rb +5 -0
  38. data/lib/buildmaster/site/about_handler.rb +43 -0
  39. data/lib/buildmaster/site/content_engine_repository.rb +83 -0
  40. data/lib/buildmaster/site/element_processor_by_name.rb +18 -0
  41. data/lib/buildmaster/site/file_processor.rb +59 -0
  42. data/lib/buildmaster/site/site.rb +29 -6
  43. data/lib/buildmaster/site/site_server.rb +56 -0
  44. data/lib/buildmaster/{site_spec.rb → site/site_spec.rb} +63 -38
  45. data/lib/buildmaster/{site_tester.rb → site/site_tester.rb} +0 -0
  46. data/lib/buildmaster/site/source_content.rb +12 -0
  47. data/lib/buildmaster/{source_file_handler.rb → site/source_file_handler.rb} +13 -27
  48. data/lib/buildmaster/site/template_builder.rb +4 -0
  49. data/lib/buildmaster/site/template_error.rb +18 -0
  50. data/lib/buildmaster/{template_runner.rb → site/template_runner.rb} +6 -16
  51. data/lib/buildmaster/{templatelets.rb → site/templatelets.rb} +3 -1
  52. data/lib/buildmaster/site/templatelets/attribute.rb +21 -0
  53. data/lib/buildmaster/site/templatelets/code.rb +82 -0
  54. data/lib/buildmaster/{templatelets → site/templatelets}/each.rb +7 -5
  55. data/lib/buildmaster/{templatelets → site/templatelets}/href.rb +1 -1
  56. data/lib/buildmaster/{templatelets → site/templatelets}/include.rb +0 -0
  57. data/lib/buildmaster/{templatelets → site/templatelets}/link.rb +2 -3
  58. data/lib/buildmaster/{templatelets → site/templatelets}/text.rb +1 -1
  59. data/lib/buildmaster/{templatelets → site/templatelets}/when.rb +4 -7
  60. data/lib/buildmaster/site/templates/buildmaster/content/border_bottom.gif +0 -0
  61. data/lib/buildmaster/site/templates/buildmaster/content/buildmaster.css +370 -0
  62. data/lib/buildmaster/site/templates/buildmaster/content/logo.gif +0 -0
  63. data/lib/buildmaster/site/templates/buildmaster/content/news-rss2.xml +4 -0
  64. data/lib/buildmaster/site/templates/buildmaster/content/print.css +65 -0
  65. data/lib/buildmaster/site/templates/buildmaster/content/ruby.css +14 -0
  66. data/lib/buildmaster/site/templates/buildmaster/template.html +121 -0
  67. data/lib/buildmaster/site/templates/cotta/content/border_bottom.gif +0 -0
  68. data/lib/buildmaster/site/templates/cotta/content/cotta.css +363 -0
  69. data/lib/buildmaster/site/templates/cotta/content/cotta.gif +0 -0
  70. data/lib/buildmaster/site/templates/cotta/content/news-rss2.xml +2 -0
  71. data/lib/buildmaster/site/templates/cotta/template.html +106 -0
  72. data/lib/buildmaster/site/xtemplate.rb +26 -0
  73. data/lib/buildmaster/version +1 -0
  74. data/test/buildmaster/common/tc_properties.rb +24 -0
  75. data/test/buildmaster/{tc_tree_to_object.rb → common/tc_tree_to_object.rb} +18 -18
  76. data/test/buildmaster/cotta/cotta_specifications.rb +88 -64
  77. data/test/buildmaster/cotta/physical_system_stub.rb +3 -3
  78. data/test/buildmaster/cotta/system_file_specifications.rb +38 -47
  79. data/test/buildmaster/cotta/tc_command_interface.rb +46 -0
  80. data/test/buildmaster/cotta/tc_command_runner.rb +28 -0
  81. data/test/buildmaster/cotta/tc_cotta.rb +35 -9
  82. data/test/buildmaster/cotta/tc_cotta_dir_in_memory.rb +10 -5
  83. data/test/buildmaster/cotta/tc_cotta_file_in_memory.rb +3 -3
  84. data/test/buildmaster/cotta/tc_in_memory_system.rb +7 -2
  85. data/test/buildmaster/cotta/tc_pathname.rb +22 -0
  86. data/test/buildmaster/cotta/tc_physical_system.rb +12 -2
  87. data/test/buildmaster/{build.xml → project/build.xml} +0 -0
  88. data/test/buildmaster/{manifest.mf → project/manifest.mf} +0 -0
  89. data/test/buildmaster/{tc_ant_driver.rb → project/tc_ant_driver.rb} +3 -3
  90. data/test/buildmaster/{tc_build_number_file.rb → project/tc_build_number_file.rb} +7 -7
  91. data/test/buildmaster/{tc_cvs_driver.rb → project/tc_cvs_driver.rb} +14 -14
  92. data/test/buildmaster/{tc_java_manifest.rb → project/tc_java_manifest.rb} +7 -7
  93. data/test/buildmaster/project/tc_release.rb +61 -0
  94. data/test/buildmaster/project/tc_server_manager.rb +70 -0
  95. data/test/buildmaster/project/tc_svn_driver.rb +104 -0
  96. data/test/buildmaster/project/tc_svn_status_info.rb +37 -0
  97. data/test/buildmaster/project/tc_version_number_file.rb +46 -0
  98. data/test/buildmaster/{windows → project/windows}/tc_iis_driver.rb +5 -4
  99. data/test/buildmaster/{windows → project/windows}/tc_sql_server_driver.rb +4 -4
  100. data/test/buildmaster/site/content/tc_content_engine_repository.rb +63 -0
  101. data/test/buildmaster/site/tc_element_processor_by_name.rb +29 -0
  102. data/test/buildmaster/site/tc_file_processor.rb +141 -0
  103. data/test/buildmaster/site/tc_site.rb +42 -11
  104. data/test/buildmaster/site/tc_site_server.rb +43 -0
  105. data/test/buildmaster/{tc_site_spec.rb → site/tc_site_spec.rb} +9 -9
  106. data/test/buildmaster/{tc_source_file_handler.rb → site/tc_source_file_handler.rb} +10 -9
  107. data/test/buildmaster/site/tc_template_builder.rb +23 -23
  108. data/test/buildmaster/site/tc_template_error.rb +15 -0
  109. data/test/buildmaster/{tc_template_runner.rb → site/tc_template_runner.rb} +22 -17
  110. data/test/buildmaster/site/tc_templatelets.rb +37 -0
  111. data/test/buildmaster/{tc_xtemplate.rb → site/tc_xtemplate.rb} +14 -15
  112. data/test/buildmaster/{template.xhtml → site/template.xhtml} +0 -0
  113. data/test/buildmaster/{templatelets → site/templatelets}/common_templatelet_test.rb +11 -7
  114. data/test/buildmaster/{templatelets → site/templatelets}/tc_attribute.rb +14 -10
  115. data/test/buildmaster/site/templatelets/tc_code.rb +132 -0
  116. data/test/buildmaster/{templatelets → site/templatelets}/tc_each.rb +25 -12
  117. data/test/buildmaster/{templatelets → site/templatelets}/tc_href.rb +6 -8
  118. data/test/buildmaster/{templatelets → site/templatelets}/tc_include.rb +3 -12
  119. data/test/buildmaster/{templatelets → site/templatelets}/tc_link.rb +11 -18
  120. data/test/buildmaster/{templatelets → site/templatelets}/tc_text.rb +2 -9
  121. data/test/buildmaster/{templatelets → site/templatelets}/tc_when.rb +8 -15
  122. data/test/manual/bms.rb +10 -0
  123. data/test/tmp/svn_test/repository/README.txt +5 -0
  124. data/test/tmp/svn_test/repository/conf/authz +21 -0
  125. data/test/tmp/svn_test/repository/conf/passwd +8 -0
  126. data/test/tmp/svn_test/repository/conf/svnserve.conf +30 -0
  127. data/test/tmp/svn_test/repository/db/current +1 -0
  128. data/test/tmp/svn_test/repository/db/format +1 -0
  129. data/test/tmp/svn_test/repository/db/fs-type +1 -0
  130. data/test/tmp/svn_test/repository/db/revprops/0 +5 -0
  131. data/test/tmp/svn_test/repository/db/revprops/1 +13 -0
  132. data/test/tmp/svn_test/repository/db/revprops/2 +13 -0
  133. data/test/tmp/svn_test/repository/db/revprops/3 +13 -0
  134. data/test/tmp/svn_test/repository/db/revprops/4 +13 -0
  135. data/test/tmp/svn_test/repository/db/revs/0 +11 -0
  136. data/test/tmp/svn_test/repository/db/revs/1 +25 -0
  137. data/test/tmp/svn_test/repository/db/revs/2 +29 -0
  138. data/test/tmp/svn_test/repository/db/revs/3 +33 -0
  139. data/test/tmp/svn_test/repository/db/revs/4 +0 -0
  140. data/test/tmp/svn_test/repository/db/uuid +1 -0
  141. data/test/tmp/svn_test/repository/db/write-lock +0 -0
  142. data/test/tmp/svn_test/repository/format +1 -0
  143. data/test/tmp/svn_test/repository/hooks/post-commit.tmpl +51 -0
  144. data/test/tmp/svn_test/repository/hooks/post-lock.tmpl +44 -0
  145. data/test/tmp/svn_test/repository/hooks/post-revprop-change.tmpl +56 -0
  146. data/test/tmp/svn_test/repository/hooks/post-unlock.tmpl +42 -0
  147. data/test/tmp/svn_test/repository/hooks/pre-commit.tmpl +70 -0
  148. data/test/tmp/svn_test/repository/hooks/pre-lock.tmpl +64 -0
  149. data/test/tmp/svn_test/repository/hooks/pre-revprop-change.tmpl +66 -0
  150. data/test/tmp/svn_test/repository/hooks/pre-unlock.tmpl +60 -0
  151. data/test/tmp/svn_test/repository/hooks/start-commit.tmpl +54 -0
  152. data/test/tmp/svn_test/repository/locks/db-logs.lock +3 -0
  153. data/test/tmp/svn_test/repository/locks/db.lock +3 -0
  154. data/test/tmp/svn_test/second/test.txt +1 -0
  155. data/test/tmp/svn_test/workdir/test.txt +1 -0
  156. data/test/ts_buildmaster.rb +0 -1
  157. metadata +168 -69
  158. data/lib/buildmaster.rb +0 -10
  159. data/lib/buildmaster/build_file.rb +0 -11
  160. data/lib/buildmaster/buildnumber +0 -1
  161. data/lib/buildmaster/file_processor.rb +0 -138
  162. data/lib/buildmaster/site_server.rb +0 -33
  163. data/lib/buildmaster/source_content.rb +0 -11
  164. data/lib/buildmaster/svn_driver.rb +0 -78
  165. data/lib/buildmaster/template_error.rb +0 -8
  166. data/lib/buildmaster/templatelets/attribute.rb +0 -16
  167. data/lib/buildmaster/xtemplate.rb +0 -27
  168. data/lib/mock.rb +0 -3
  169. data/lib/mock/mock_base.rb +0 -24
  170. data/test/buildmaster/tc_file_processor.rb +0 -125
  171. data/test/buildmaster/tc_svn_driver.rb +0 -81
  172. data/test/tmp/output/index.html +0 -8
  173. data/test/tmp/output/markdown.html +0 -8
  174. data/test/tmp/output/textile.html +0 -8
@@ -0,0 +1,66 @@
1
+ #!/bin/sh
2
+
3
+ # PRE-REVPROP-CHANGE HOOK
4
+ #
5
+ # The pre-revprop-change hook is invoked before a revision property
6
+ # is added, modified or deleted. Subversion runs this hook by invoking
7
+ # a program (script, executable, binary, etc.) named 'pre-revprop-change'
8
+ # (for which this file is a template), with the following ordered
9
+ # arguments:
10
+ #
11
+ # [1] REPOS-PATH (the path to this repository)
12
+ # [2] REVISION (the revision being tweaked)
13
+ # [3] USER (the username of the person tweaking the property)
14
+ # [4] PROPNAME (the property being set on the revision)
15
+ # [5] ACTION (the property is being 'A'dded, 'M'odified, or 'D'eleted)
16
+ #
17
+ # [STDIN] PROPVAL ** the new property value is passed via STDIN.
18
+ #
19
+ # If the hook program exits with success, the propchange happens; but
20
+ # if it exits with failure (non-zero), the propchange doesn't happen.
21
+ # The hook program can use the 'svnlook' utility to examine the
22
+ # existing value of the revision property.
23
+ #
24
+ # WARNING: unlike other hooks, this hook MUST exist for revision
25
+ # properties to be changed. If the hook does not exist, Subversion
26
+ # will behave as if the hook were present, but failed. The reason
27
+ # for this is that revision properties are UNVERSIONED, meaning that
28
+ # a successful propchange is destructive; the old value is gone
29
+ # forever. We recommend the hook back up the old value somewhere.
30
+ #
31
+ # On a Unix system, the normal procedure is to have 'pre-revprop-change'
32
+ # invoke other programs to do the real work, though it may do the
33
+ # work itself too.
34
+ #
35
+ # Note that 'pre-revprop-change' must be executable by the user(s) who will
36
+ # invoke it (typically the user httpd runs as), and that user must
37
+ # have filesystem-level permission to access the repository.
38
+ #
39
+ # On a Windows system, you should name the hook program
40
+ # 'pre-revprop-change.bat' or 'pre-revprop-change.exe',
41
+ # but the basic idea is the same.
42
+ #
43
+ # The hook program typically does not inherit the environment of
44
+ # its parent process. For example, a common problem is for the
45
+ # PATH environment variable to not be set to its usual value, so
46
+ # that subprograms fail to launch unless invoked via absolute path.
47
+ # If you're having unexpected problems with a hook program, the
48
+ # culprit may be unusual (or missing) environment variables.
49
+ #
50
+ # Here is an example hook script, for a Unix /bin/sh interpreter.
51
+ # For more examples and pre-written hooks, see those in
52
+ # the Subversion repository at
53
+ # http://svn.collab.net/repos/svn/trunk/tools/hook-scripts/ and
54
+ # http://svn.collab.net/repos/svn/trunk/contrib/hook-scripts/
55
+
56
+
57
+ REPOS="$1"
58
+ REV="$2"
59
+ USER="$3"
60
+ PROPNAME="$4"
61
+ ACTION="$5"
62
+
63
+ if [ "$ACTION" = "M" -a "$PROPNAME" = "svn:log" ]; then exit 0; fi
64
+
65
+ echo "Changing revision properties other than svn:log is prohibited" >&2
66
+ exit 1
@@ -0,0 +1,60 @@
1
+ #!/bin/sh
2
+
3
+ # PRE-UNLOCK HOOK
4
+ #
5
+ # The pre-unlock hook is invoked before an exclusive lock is
6
+ # destroyed. Subversion runs this hook by invoking a program
7
+ # (script, executable, binary, etc.) named 'pre-unlock' (for which
8
+ # this file is a template), with the following ordered arguments:
9
+ #
10
+ # [1] REPOS-PATH (the path to this repository)
11
+ # [2] PATH (the path in the repository about to be unlocked)
12
+ # [3] USER (the user destroying the lock)
13
+ #
14
+ # The default working directory for the invocation is undefined, so
15
+ # the program should set one explicitly if it cares.
16
+ #
17
+ # If the hook program exits with success, the lock is destroyed; but
18
+ # if it exits with failure (non-zero), the unlock action is aborted
19
+ # and STDERR is returned to the client.
20
+
21
+ # On a Unix system, the normal procedure is to have 'pre-unlock'
22
+ # invoke other programs to do the real work, though it may do the
23
+ # work itself too.
24
+ #
25
+ # Note that 'pre-unlock' must be executable by the user(s) who will
26
+ # invoke it (typically the user httpd runs as), and that user must
27
+ # have filesystem-level permission to access the repository.
28
+ #
29
+ # On a Windows system, you should name the hook program
30
+ # 'pre-unlock.bat' or 'pre-unlock.exe',
31
+ # but the basic idea is the same.
32
+ #
33
+ # Here is an example hook script, for a Unix /bin/sh interpreter:
34
+
35
+ REPOS="$1"
36
+ PATH="$2"
37
+ USER="$3"
38
+
39
+ # If a lock is owned by a different person, don't allow it be broken.
40
+ # (Maybe this script could send email to the lock owner?)
41
+
42
+ SVNLOOK=/usr/local/bin/svnlook
43
+ GREP=/bin/grep
44
+ SED=/bin/sed
45
+
46
+ LOCK_OWNER=`$SVNLOOK lock "$REPOS" "$PATH" | \
47
+ $GREP '^Owner: ' | $SED 's/Owner: //'`
48
+
49
+ # If we get no result from svnlook, there's no lock, return success:
50
+ if [ "$LOCK_OWNER" = "" ]; then
51
+ exit 0
52
+ fi
53
+ # If the person unlocking matches the lock's owner, return success:
54
+ if [ "$LOCK_OWNER" = "$USER" ]; then
55
+ exit 0
56
+ fi
57
+
58
+ # Otherwise, we've got an owner mismatch, so return failure:
59
+ echo "Error: $PATH locked by ${LOCK_OWNER}." 1>&2
60
+ exit 1
@@ -0,0 +1,54 @@
1
+ #!/bin/sh
2
+
3
+ # START-COMMIT HOOK
4
+ #
5
+ # The start-commit hook is invoked before a Subversion txn is created
6
+ # in the process of doing a commit. Subversion runs this hook
7
+ # by invoking a program (script, executable, binary, etc.) named
8
+ # 'start-commit' (for which this file is a template)
9
+ # with the following ordered arguments:
10
+ #
11
+ # [1] REPOS-PATH (the path to this repository)
12
+ # [2] USER (the authenticated user attempting to commit)
13
+ #
14
+ # The default working directory for the invocation is undefined, so
15
+ # the program should set one explicitly if it cares.
16
+ #
17
+ # If the hook program exits with success, the commit continues; but
18
+ # if it exits with failure (non-zero), the commit is stopped before
19
+ # a Subversion txn is created, and STDERR is returned to the client.
20
+ #
21
+ # On a Unix system, the normal procedure is to have 'start-commit'
22
+ # invoke other programs to do the real work, though it may do the
23
+ # work itself too.
24
+ #
25
+ # Note that 'start-commit' must be executable by the user(s) who will
26
+ # invoke it (typically the user httpd runs as), and that user must
27
+ # have filesystem-level permission to access the repository.
28
+ #
29
+ # On a Windows system, you should name the hook program
30
+ # 'start-commit.bat' or 'start-commit.exe',
31
+ # but the basic idea is the same.
32
+ #
33
+ # The hook program typically does not inherit the environment of
34
+ # its parent process. For example, a common problem is for the
35
+ # PATH environment variable to not be set to its usual value, so
36
+ # that subprograms fail to launch unless invoked via absolute path.
37
+ # If you're having unexpected problems with a hook program, the
38
+ # culprit may be unusual (or missing) environment variables.
39
+ #
40
+ # Here is an example hook script, for a Unix /bin/sh interpreter.
41
+ # For more examples and pre-written hooks, see those in
42
+ # the Subversion repository at
43
+ # http://svn.collab.net/repos/svn/trunk/tools/hook-scripts/ and
44
+ # http://svn.collab.net/repos/svn/trunk/contrib/hook-scripts/
45
+
46
+
47
+ REPOS="$1"
48
+ USER="$2"
49
+
50
+ commit-allower.pl --repository "$REPOS" --user "$USER" || exit 1
51
+ special-auth-check.py --user "$USER" --auth-level 3 || exit 1
52
+
53
+ # All checks passed, so allow the commit.
54
+ exit 0
@@ -0,0 +1,3 @@
1
+ This file is not used by Subversion 1.3.x or later.
2
+ However, its existence is required for compatibility with
3
+ Subversion 1.2.x or earlier.
@@ -0,0 +1,3 @@
1
+ This file is not used by Subversion 1.3.x or later.
2
+ However, its existence is required for compatibility with
3
+ Subversion 1.2.x or earlier.
@@ -0,0 +1 @@
1
+ my testing content
@@ -0,0 +1 @@
1
+ my testing content
@@ -1,5 +1,4 @@
1
1
  $:.unshift(File.dirname(__FILE__))
2
- require 'spec_runner'
3
2
 
4
3
  root = File.join(File.dirname(__FILE__))
5
4
  Dir.glob("#{root}/**/tc_*.rb") do |file|
metadata CHANGED
@@ -3,14 +3,14 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: BuildMaster
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.9.1
7
- date: 2006-10-18 00:00:00 -07:00
6
+ version: 1.0.6
7
+ date: 2006-12-31 00:00:00 -08:00
8
8
  summary: A project that hosts a series of scripts to be used in project building, project releasing, and site building.
9
9
  require_paths:
10
10
  - lib
11
11
  email: buildmaster@googlegroups.com
12
12
  homepage: http://buildmaster.rubyforge.org/
13
- rubyforge_project:
13
+ rubyforge_project: buildmaster
14
14
  description:
15
15
  autorequire: buildmaster
16
16
  default_executable:
@@ -27,113 +27,212 @@ signing_key:
27
27
  cert_chain:
28
28
  post_install_message:
29
29
  authors:
30
- - Shane
30
+ - Shane Duan
31
31
  files:
32
+ - bin/svnfix.rb
32
33
  - lib/buildmaster
33
- - lib/buildmaster.rb
34
- - lib/mock
35
- - lib/mock.rb
36
- - lib/buildmaster/ant_driver.rb
37
- - lib/buildmaster/buildnumber
38
- - lib/buildmaster/build_file.rb
39
- - lib/buildmaster/build_number_file.rb
34
+ - lib/buildmaster/build
35
+ - lib/buildmaster/ci
36
+ - lib/buildmaster/common
37
+ - lib/buildmaster/common.rb
40
38
  - lib/buildmaster/cotta
41
39
  - lib/buildmaster/cotta.rb
42
- - lib/buildmaster/cvs_driver.rb
43
- - lib/buildmaster/file_processor.rb
44
- - lib/buildmaster/java_manifest.rb
45
- - lib/buildmaster/run_ant.rb
40
+ - lib/buildmaster/project
41
+ - lib/buildmaster/project.rb
46
42
  - lib/buildmaster/site
47
- - lib/buildmaster/site_server.rb
48
- - lib/buildmaster/site_spec.rb
49
- - lib/buildmaster/site_tester.rb
50
- - lib/buildmaster/source_content.rb
51
- - lib/buildmaster/source_file_handler.rb
52
- - lib/buildmaster/svn_driver.rb
53
- - lib/buildmaster/templatelets
54
- - lib/buildmaster/templatelets.rb
55
- - lib/buildmaster/template_error.rb
56
- - lib/buildmaster/template_runner.rb
57
- - lib/buildmaster/tree_to_object.rb
58
- - lib/buildmaster/try.rb
59
- - lib/buildmaster/windows
43
+ - lib/buildmaster/site.rb
44
+ - lib/buildmaster/version
60
45
  - lib/buildmaster/windows.rb
61
- - lib/buildmaster/xtemplate.rb
46
+ - lib/buildmaster/ci/server.rb
47
+ - lib/buildmaster/common/properties.rb
48
+ - lib/buildmaster/common/tree_to_object.rb
62
49
  - lib/buildmaster/cotta/command_error.rb
50
+ - lib/buildmaster/cotta/command_interface.rb
51
+ - lib/buildmaster/cotta/command_runner.rb
63
52
  - lib/buildmaster/cotta/cotta.rb
64
53
  - lib/buildmaster/cotta/cotta_dir.rb
65
54
  - lib/buildmaster/cotta/cotta_file.rb
55
+ - lib/buildmaster/cotta/cotta_pathname.rb
66
56
  - lib/buildmaster/cotta/file_not_found_error.rb
67
57
  - lib/buildmaster/cotta/in_memory_system.rb
68
58
  - lib/buildmaster/cotta/physical_system.rb
59
+ - lib/buildmaster/project/ant_driver.rb
60
+ - lib/buildmaster/project/build.rb
61
+ - lib/buildmaster/project/build_number_file.rb
62
+ - lib/buildmaster/project/ci.rb
63
+ - lib/buildmaster/project/cvs_driver.rb
64
+ - lib/buildmaster/project/ftp_driver.rb
65
+ - lib/buildmaster/project/java_manifest.rb
66
+ - lib/buildmaster/project/pscp_driver.rb
67
+ - lib/buildmaster/project/release.rb
68
+ - lib/buildmaster/project/ruby_forge_project.rb
69
+ - lib/buildmaster/project/run_ant.rb
70
+ - lib/buildmaster/project/server_manager.rb
71
+ - lib/buildmaster/project/svn_admin_driver.rb
72
+ - lib/buildmaster/project/svn_driver.rb
73
+ - lib/buildmaster/project/svn_helper.rb
74
+ - lib/buildmaster/project/svn_status_info.rb
75
+ - lib/buildmaster/project/try.rb
76
+ - lib/buildmaster/project/version_number_file.rb
77
+ - lib/buildmaster/project/windows
78
+ - lib/buildmaster/project/windows/iis_driver.rb
79
+ - lib/buildmaster/project/windows/sql_server_driver.rb
80
+ - lib/buildmaster/site/about_handler.rb
81
+ - lib/buildmaster/site/content_engine_repository.rb
82
+ - lib/buildmaster/site/element_processor_by_name.rb
83
+ - lib/buildmaster/site/file_processor.rb
69
84
  - lib/buildmaster/site/site.rb
85
+ - lib/buildmaster/site/site_server.rb
86
+ - lib/buildmaster/site/site_spec.rb
87
+ - lib/buildmaster/site/site_tester.rb
88
+ - lib/buildmaster/site/source_content.rb
89
+ - lib/buildmaster/site/source_file_handler.rb
70
90
  - lib/buildmaster/site/template
91
+ - lib/buildmaster/site/templatelets
92
+ - lib/buildmaster/site/templatelets.rb
93
+ - lib/buildmaster/site/templates
71
94
  - lib/buildmaster/site/template_builder.rb
95
+ - lib/buildmaster/site/template_error.rb
96
+ - lib/buildmaster/site/template_runner.rb
97
+ - lib/buildmaster/site/xtemplate.rb
72
98
  - lib/buildmaster/site/template/buildmaster.css
73
99
  - lib/buildmaster/site/template/buildmaster_template.xml
74
- - lib/buildmaster/templatelets/attribute.rb
75
- - lib/buildmaster/templatelets/each.rb
76
- - lib/buildmaster/templatelets/href.rb
77
- - lib/buildmaster/templatelets/include.rb
78
- - lib/buildmaster/templatelets/link.rb
79
- - lib/buildmaster/templatelets/text.rb
80
- - lib/buildmaster/templatelets/when.rb
81
- - lib/buildmaster/windows/iis_driver.rb
82
- - lib/buildmaster/windows/sql_server_driver.rb
83
- - lib/mock/mock_base.rb
100
+ - lib/buildmaster/site/templatelets/attribute.rb
101
+ - lib/buildmaster/site/templatelets/code.rb
102
+ - lib/buildmaster/site/templatelets/each.rb
103
+ - lib/buildmaster/site/templatelets/href.rb
104
+ - lib/buildmaster/site/templatelets/include.rb
105
+ - lib/buildmaster/site/templatelets/link.rb
106
+ - lib/buildmaster/site/templatelets/text.rb
107
+ - lib/buildmaster/site/templatelets/when.rb
108
+ - lib/buildmaster/site/templates/buildmaster
109
+ - lib/buildmaster/site/templates/cotta
110
+ - lib/buildmaster/site/templates/buildmaster/content
111
+ - lib/buildmaster/site/templates/buildmaster/template.html
112
+ - lib/buildmaster/site/templates/buildmaster/content/border_bottom.gif
113
+ - lib/buildmaster/site/templates/buildmaster/content/buildmaster.css
114
+ - lib/buildmaster/site/templates/buildmaster/content/logo.gif
115
+ - lib/buildmaster/site/templates/buildmaster/content/news-rss2.xml
116
+ - lib/buildmaster/site/templates/buildmaster/content/print.css
117
+ - lib/buildmaster/site/templates/buildmaster/content/ruby.css
118
+ - lib/buildmaster/site/templates/cotta/content
119
+ - lib/buildmaster/site/templates/cotta/template.html
120
+ - lib/buildmaster/site/templates/cotta/content/border_bottom.gif
121
+ - lib/buildmaster/site/templates/cotta/content/cotta.css
122
+ - lib/buildmaster/site/templates/cotta/content/cotta.gif
123
+ - lib/buildmaster/site/templates/cotta/content/news-rss2.xml
84
124
  - test/buildmaster
125
+ - test/manual
85
126
  - test/spec_runner.rb
86
127
  - test/tmp
87
128
  - test/ts_buildmaster.rb
88
- - test/buildmaster/build.xml
129
+ - test/buildmaster/common
89
130
  - test/buildmaster/cotta
90
- - test/buildmaster/manifest.mf
131
+ - test/buildmaster/project
91
132
  - test/buildmaster/site
92
- - test/buildmaster/tc_ant_driver.rb
93
- - test/buildmaster/tc_build_number_file.rb
94
- - test/buildmaster/tc_cvs_driver.rb
95
- - test/buildmaster/tc_file_processor.rb
96
- - test/buildmaster/tc_java_manifest.rb
97
- - test/buildmaster/tc_site_spec.rb
98
- - test/buildmaster/tc_source_file_handler.rb
99
- - test/buildmaster/tc_svn_driver.rb
100
- - test/buildmaster/tc_template_runner.rb
101
- - test/buildmaster/tc_tree_to_object.rb
102
- - test/buildmaster/tc_xtemplate.rb
103
- - test/buildmaster/template.xhtml
104
- - test/buildmaster/templatelets
105
- - test/buildmaster/windows
133
+ - test/buildmaster/common/tc_properties.rb
134
+ - test/buildmaster/common/tc_tree_to_object.rb
106
135
  - test/buildmaster/cotta/content.txt
107
136
  - test/buildmaster/cotta/cotta_specifications.rb
108
137
  - test/buildmaster/cotta/physical_system_stub.rb
109
138
  - test/buildmaster/cotta/system_file_specifications.rb
139
+ - test/buildmaster/cotta/tc_command_interface.rb
140
+ - test/buildmaster/cotta/tc_command_runner.rb
110
141
  - test/buildmaster/cotta/tc_cotta.rb
111
142
  - test/buildmaster/cotta/tc_cotta_dir_in_memory.rb
112
143
  - test/buildmaster/cotta/tc_cotta_dir_physical.rb
113
144
  - test/buildmaster/cotta/tc_cotta_file_in_memory.rb
114
145
  - test/buildmaster/cotta/tc_cotta_file_physical.rb
115
146
  - test/buildmaster/cotta/tc_in_memory_system.rb
147
+ - test/buildmaster/cotta/tc_pathname.rb
116
148
  - test/buildmaster/cotta/tc_physical_system.rb
149
+ - test/buildmaster/project/build.xml
150
+ - test/buildmaster/project/manifest.mf
151
+ - test/buildmaster/project/tc_ant_driver.rb
152
+ - test/buildmaster/project/tc_build_number_file.rb
153
+ - test/buildmaster/project/tc_cvs_driver.rb
154
+ - test/buildmaster/project/tc_java_manifest.rb
155
+ - test/buildmaster/project/tc_release.rb
156
+ - test/buildmaster/project/tc_server_manager.rb
157
+ - test/buildmaster/project/tc_svn_driver.rb
158
+ - test/buildmaster/project/tc_svn_status_info.rb
159
+ - test/buildmaster/project/tc_version_number_file.rb
160
+ - test/buildmaster/project/windows
161
+ - test/buildmaster/project/windows/tc_iis_driver.rb
162
+ - test/buildmaster/project/windows/tc_sql_server_driver.rb
117
163
  - test/buildmaster/site/content
164
+ - test/buildmaster/site/tc_element_processor_by_name.rb
165
+ - test/buildmaster/site/tc_file_processor.rb
118
166
  - test/buildmaster/site/tc_site.rb
167
+ - test/buildmaster/site/tc_site_server.rb
168
+ - test/buildmaster/site/tc_site_spec.rb
169
+ - test/buildmaster/site/tc_source_file_handler.rb
170
+ - test/buildmaster/site/tc_templatelets.rb
119
171
  - test/buildmaster/site/tc_template_builder.rb
172
+ - test/buildmaster/site/tc_template_error.rb
173
+ - test/buildmaster/site/tc_template_runner.rb
174
+ - test/buildmaster/site/tc_xtemplate.rb
175
+ - test/buildmaster/site/template.xhtml
176
+ - test/buildmaster/site/templatelets
120
177
  - test/buildmaster/site/content/index.html
121
178
  - test/buildmaster/site/content/markdown.markdown
179
+ - test/buildmaster/site/content/tc_content_engine_repository.rb
122
180
  - test/buildmaster/site/content/textile.textile
123
- - test/buildmaster/templatelets/common_templatelet_test.rb
124
- - test/buildmaster/templatelets/tc_attribute.rb
125
- - test/buildmaster/templatelets/tc_each.rb
126
- - test/buildmaster/templatelets/tc_href.rb
127
- - test/buildmaster/templatelets/tc_include.rb
128
- - test/buildmaster/templatelets/tc_link.rb
129
- - test/buildmaster/templatelets/tc_text.rb
130
- - test/buildmaster/templatelets/tc_when.rb
131
- - test/buildmaster/windows/tc_iis_driver.rb
132
- - test/buildmaster/windows/tc_sql_server_driver.rb
133
- - test/tmp/output
134
- - test/tmp/output/index.html
135
- - test/tmp/output/markdown.html
136
- - test/tmp/output/textile.html
181
+ - test/buildmaster/site/templatelets/common_templatelet_test.rb
182
+ - test/buildmaster/site/templatelets/tc_attribute.rb
183
+ - test/buildmaster/site/templatelets/tc_code.rb
184
+ - test/buildmaster/site/templatelets/tc_each.rb
185
+ - test/buildmaster/site/templatelets/tc_href.rb
186
+ - test/buildmaster/site/templatelets/tc_include.rb
187
+ - test/buildmaster/site/templatelets/tc_link.rb
188
+ - test/buildmaster/site/templatelets/tc_text.rb
189
+ - test/buildmaster/site/templatelets/tc_when.rb
190
+ - test/manual/bms.rb
191
+ - test/tmp/svn_test
192
+ - test/tmp/svn_test/repository
193
+ - test/tmp/svn_test/second
194
+ - test/tmp/svn_test/workdir
195
+ - test/tmp/svn_test/repository/conf
196
+ - test/tmp/svn_test/repository/dav
197
+ - test/tmp/svn_test/repository/db
198
+ - test/tmp/svn_test/repository/format
199
+ - test/tmp/svn_test/repository/hooks
200
+ - test/tmp/svn_test/repository/locks
201
+ - test/tmp/svn_test/repository/README.txt
202
+ - test/tmp/svn_test/repository/conf/authz
203
+ - test/tmp/svn_test/repository/conf/passwd
204
+ - test/tmp/svn_test/repository/conf/svnserve.conf
205
+ - test/tmp/svn_test/repository/db/current
206
+ - test/tmp/svn_test/repository/db/format
207
+ - test/tmp/svn_test/repository/db/fs-type
208
+ - test/tmp/svn_test/repository/db/revprops
209
+ - test/tmp/svn_test/repository/db/revs
210
+ - test/tmp/svn_test/repository/db/transactions
211
+ - test/tmp/svn_test/repository/db/uuid
212
+ - test/tmp/svn_test/repository/db/write-lock
213
+ - test/tmp/svn_test/repository/db/revprops/0
214
+ - test/tmp/svn_test/repository/db/revprops/1
215
+ - test/tmp/svn_test/repository/db/revprops/2
216
+ - test/tmp/svn_test/repository/db/revprops/3
217
+ - test/tmp/svn_test/repository/db/revprops/4
218
+ - test/tmp/svn_test/repository/db/revs/0
219
+ - test/tmp/svn_test/repository/db/revs/1
220
+ - test/tmp/svn_test/repository/db/revs/2
221
+ - test/tmp/svn_test/repository/db/revs/3
222
+ - test/tmp/svn_test/repository/db/revs/4
223
+ - test/tmp/svn_test/repository/hooks/post-commit.tmpl
224
+ - test/tmp/svn_test/repository/hooks/post-lock.tmpl
225
+ - test/tmp/svn_test/repository/hooks/post-revprop-change.tmpl
226
+ - test/tmp/svn_test/repository/hooks/post-unlock.tmpl
227
+ - test/tmp/svn_test/repository/hooks/pre-commit.tmpl
228
+ - test/tmp/svn_test/repository/hooks/pre-lock.tmpl
229
+ - test/tmp/svn_test/repository/hooks/pre-revprop-change.tmpl
230
+ - test/tmp/svn_test/repository/hooks/pre-unlock.tmpl
231
+ - test/tmp/svn_test/repository/hooks/start-commit.tmpl
232
+ - test/tmp/svn_test/repository/locks/db-logs.lock
233
+ - test/tmp/svn_test/repository/locks/db.lock
234
+ - test/tmp/svn_test/second/test.txt
235
+ - test/tmp/svn_test/workdir/test.txt
137
236
  - README
138
237
  test_files: []
139
238