autobuild 0.5.1 → 0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (345) hide show
  1. data/CHANGES +10 -3
  2. data/README +106 -273
  3. data/Rakefile +14 -19
  4. data/TODO +5 -0
  5. data/bin/autobuild +17 -67
  6. data/doc/classes/Autobuild.html +320 -57
  7. data/doc/classes/{Autobuild/Config.src/M000040.html → Autobuild.src/M000005.html} +8 -5
  8. data/doc/classes/{Autobuild/Config.src/M000041.html → Autobuild.src/M000006.html} +3 -3
  9. data/doc/classes/Autobuild.src/M000007.html +18 -0
  10. data/doc/classes/Autobuild.src/M000008.html +18 -0
  11. data/doc/classes/Autobuild.src/M000009.html +18 -0
  12. data/doc/classes/Autobuild.src/M000010.html +18 -0
  13. data/doc/classes/Autobuild.src/M000011.html +18 -0
  14. data/doc/classes/Autobuild.src/M000012.html +18 -0
  15. data/doc/classes/Autobuild.src/M000013.html +25 -0
  16. data/doc/classes/Autobuild.src/M000014.html +19 -0
  17. data/doc/classes/Autobuild.src/M000015.html +19 -0
  18. data/doc/classes/Autobuild.src/M000016.html +16 -0
  19. data/doc/classes/Autobuild.src/M000017.html +20 -0
  20. data/doc/classes/Autobuild.src/M000018.html +18 -0
  21. data/doc/classes/Autobuild.src/M000019.html +52 -0
  22. data/doc/classes/Autobuild.src/M000020.html +44 -0
  23. data/doc/classes/Autobuild.src/M000021.html +19 -0
  24. data/doc/classes/Autobuild.src/M000022.html +19 -0
  25. data/doc/classes/Autobuild.src/M000023.html +20 -0
  26. data/doc/classes/Autobuild.src/M000024.html +22 -0
  27. data/doc/classes/Autobuild.src/M000033.html +31 -0
  28. data/doc/classes/Autobuild.src/M000034.html +32 -10
  29. data/doc/classes/Autobuild.src/M000035.html +4 -5
  30. data/doc/classes/Autobuild.src/M000036.html +4 -30
  31. data/doc/classes/Autobuild.src/M000037.html +4 -5
  32. data/doc/classes/Autobuild.src/M000038.html +4 -5
  33. data/doc/classes/Autobuild.src/M000039.html +4 -6
  34. data/doc/classes/Autobuild.src/M000040.html +18 -0
  35. data/doc/classes/Autobuild.src/M000041.html +25 -0
  36. data/doc/classes/Autobuild.src/M000042.html +19 -0
  37. data/doc/classes/Autobuild.src/M000043.html +19 -0
  38. data/doc/classes/Autobuild.src/M000044.html +16 -0
  39. data/doc/classes/Autobuild.src/M000045.html +20 -0
  40. data/doc/classes/Autobuild.src/M000046.html +18 -0
  41. data/doc/classes/Autobuild.src/M000047.html +52 -0
  42. data/doc/classes/Autobuild.src/M000048.html +44 -0
  43. data/doc/classes/Autobuild.src/M000049.html +19 -0
  44. data/doc/classes/Autobuild.src/M000050.html +19 -0
  45. data/doc/classes/Autobuild.src/M000051.html +20 -0
  46. data/doc/classes/Autobuild.src/M000052.html +22 -0
  47. data/doc/classes/Autobuild/Autotools.html +103 -58
  48. data/doc/classes/Autobuild/Autotools.src/M000055.html +20 -0
  49. data/doc/classes/Autobuild/Autotools.src/M000056.html +20 -0
  50. data/doc/classes/Autobuild/Autotools.src/M000057.html +16 -0
  51. data/doc/classes/Autobuild/Autotools.src/M000058.html +16 -0
  52. data/doc/classes/Autobuild/Autotools.src/M000059.html +22 -0
  53. data/doc/classes/Autobuild/Autotools.src/M000060.html +29 -0
  54. data/doc/classes/Autobuild/Autotools.src/M000061.html +21 -0
  55. data/doc/classes/Autobuild/Autotools.src/M000062.html +20 -0
  56. data/doc/classes/Autobuild/Autotools.src/{M000067.html → M000063.html} +4 -10
  57. data/doc/classes/Autobuild/Autotools.src/M000083.html +20 -0
  58. data/doc/classes/Autobuild/Autotools.src/M000084.html +20 -0
  59. data/doc/classes/Autobuild/Autotools.src/M000085.html +16 -0
  60. data/doc/classes/Autobuild/Autotools.src/M000086.html +16 -0
  61. data/doc/classes/Autobuild/Autotools.src/M000087.html +22 -0
  62. data/doc/classes/Autobuild/Autotools.src/M000088.html +29 -0
  63. data/doc/classes/Autobuild/Autotools.src/M000089.html +21 -0
  64. data/doc/classes/Autobuild/Autotools.src/M000090.html +20 -0
  65. data/doc/classes/Autobuild/Autotools.src/M000091.html +32 -0
  66. data/doc/classes/Autobuild/CVSImporter.html +11 -11
  67. data/doc/classes/Autobuild/CVSImporter.src/M000036.html +26 -0
  68. data/doc/classes/Autobuild/CVSImporter.src/{M000049.html → M000037.html} +1 -1
  69. data/doc/classes/Autobuild/CVSImporter.src/M000064.html +26 -0
  70. data/doc/classes/Autobuild/CVSImporter.src/M000065.html +18 -0
  71. data/doc/classes/Autobuild/CommandNotFound.html +6 -0
  72. data/doc/classes/Autobuild/ConfigException.html +6 -0
  73. data/doc/classes/Autobuild/{Options.html → DarcsImporter.html} +13 -11
  74. data/doc/classes/Autobuild/DarcsImporter.src/M000044.html +20 -0
  75. data/doc/classes/Autobuild/DarcsImporter.src/M000072.html +20 -0
  76. data/doc/classes/Autobuild/Exception.html +38 -20
  77. data/doc/classes/Autobuild/Exception.src/{M000103.html → M000087.html} +1 -1
  78. data/doc/classes/Autobuild/Exception.src/{M000104.html → M000088.html} +1 -1
  79. data/doc/classes/Autobuild/Exception.src/{M000105.html → M000089.html} +2 -3
  80. data/doc/classes/Autobuild/Exception.src/M000090.html +24 -0
  81. data/doc/classes/Autobuild/Exception.src/M000115.html +16 -0
  82. data/doc/classes/Autobuild/Exception.src/M000116.html +16 -0
  83. data/doc/classes/Autobuild/Exception.src/M000117.html +18 -0
  84. data/doc/classes/Autobuild/Exception.src/M000118.html +24 -0
  85. data/doc/classes/Autobuild/GenomModule.html +83 -37
  86. data/doc/classes/Autobuild/GenomModule.src/M000091.html +19 -0
  87. data/doc/classes/Autobuild/GenomModule.src/{M000107.html → M000092.html} +2 -1
  88. data/doc/classes/Autobuild/GenomModule.src/{M000108.html → M000093.html} +1 -1
  89. data/doc/classes/Autobuild/GenomModule.src/{M000109.html → M000094.html} +2 -2
  90. data/doc/classes/Autobuild/GenomModule.src/{M000110.html → M000095.html} +4 -6
  91. data/doc/classes/Autobuild/GenomModule.src/{M000112.html → M000096.html} +2 -4
  92. data/doc/classes/Autobuild/GenomModule.src/{M000111.html → M000097.html} +3 -3
  93. data/doc/classes/Autobuild/GenomModule.src/M000098.html +36 -0
  94. data/doc/classes/Autobuild/GenomModule.src/M000119.html +19 -0
  95. data/doc/classes/Autobuild/GenomModule.src/M000120.html +21 -0
  96. data/doc/classes/Autobuild/GenomModule.src/M000121.html +16 -0
  97. data/doc/classes/Autobuild/GenomModule.src/M000122.html +18 -0
  98. data/doc/classes/Autobuild/GenomModule.src/M000123.html +27 -0
  99. data/doc/classes/Autobuild/GenomModule.src/M000124.html +24 -0
  100. data/doc/classes/Autobuild/GenomModule.src/M000125.html +19 -0
  101. data/doc/classes/Autobuild/GenomModule.src/M000126.html +36 -0
  102. data/doc/classes/Autobuild/Import.html +5 -43
  103. data/doc/classes/Autobuild/Import.src/{M000047.html → M000033.html} +0 -0
  104. data/doc/classes/Autobuild/Import.src/{M000045.html → M000061.html} +4 -4
  105. data/doc/classes/Autobuild/Importer.html +10 -10
  106. data/doc/classes/Autobuild/Importer.src/{M000056.html → M000034.html} +1 -1
  107. data/doc/classes/Autobuild/Importer.src/{M000057.html → M000035.html} +3 -3
  108. data/doc/classes/Autobuild/Importer.src/M000062.html +18 -0
  109. data/doc/classes/Autobuild/Importer.src/M000063.html +38 -0
  110. data/doc/classes/Autobuild/ImporterPackage.html +16 -16
  111. data/doc/classes/Autobuild/ImporterPackage.src/{M000115.html → M000099.html} +1 -1
  112. data/doc/classes/Autobuild/ImporterPackage.src/{M000116.html → M000100.html} +3 -3
  113. data/doc/classes/Autobuild/ImporterPackage.src/{M000117.html → M000101.html} +1 -1
  114. data/doc/classes/Autobuild/{Autotools.src/M000065.html → ImporterPackage.src/M000127.html} +4 -4
  115. data/doc/classes/Autobuild/ImporterPackage.src/M000128.html +22 -0
  116. data/doc/classes/Autobuild/ImporterPackage.src/M000129.html +16 -0
  117. data/doc/classes/Autobuild/Interpolator.html +27 -27
  118. data/doc/classes/Autobuild/Interpolator.src/{M000051.html → M000039.html} +1 -1
  119. data/doc/classes/Autobuild/Interpolator.src/{M000052.html → M000040.html} +1 -1
  120. data/doc/classes/Autobuild/Interpolator.src/{M000053.html → M000041.html} +1 -1
  121. data/doc/classes/Autobuild/Interpolator.src/{M000054.html → M000042.html} +1 -1
  122. data/doc/classes/Autobuild/Interpolator.src/{M000055.html → M000043.html} +1 -1
  123. data/doc/classes/Autobuild/Interpolator.src/M000067.html +18 -0
  124. data/doc/classes/Autobuild/Interpolator.src/M000068.html +21 -0
  125. data/doc/classes/Autobuild/Interpolator.src/M000069.html +45 -0
  126. data/doc/classes/Autobuild/Interpolator.src/M000070.html +39 -0
  127. data/doc/classes/Autobuild/Interpolator.src/M000071.html +29 -0
  128. data/doc/classes/Autobuild/MailReporter.html +31 -25
  129. data/doc/classes/Autobuild/MailReporter.src/{M000060.html → M000045.html} +1 -1
  130. data/doc/classes/Autobuild/MailReporter.src/{M000061.html → M000046.html} +1 -1
  131. data/doc/classes/Autobuild/MailReporter.src/{M000062.html → M000047.html} +1 -1
  132. data/doc/classes/Autobuild/MailReporter.src/{M000063.html → M000048.html} +1 -1
  133. data/doc/classes/Autobuild/MailReporter.src/{M000064.html → M000049.html} +1 -1
  134. data/doc/classes/Autobuild/MailReporter.src/M000073.html +24 -0
  135. data/doc/classes/Autobuild/MailReporter.src/M000074.html +21 -0
  136. data/doc/classes/Autobuild/MailReporter.src/M000075.html +20 -0
  137. data/doc/classes/Autobuild/MailReporter.src/M000076.html +18 -0
  138. data/doc/classes/Autobuild/MailReporter.src/M000077.html +42 -0
  139. data/doc/classes/Autobuild/Package.html +132 -81
  140. data/doc/classes/Autobuild/Package.src/M000073.html +16 -0
  141. data/doc/classes/Autobuild/Package.src/M000074.html +16 -0
  142. data/doc/classes/Autobuild/Package.src/{M000085.html → M000075.html} +2 -2
  143. data/doc/classes/Autobuild/Package.src/M000076.html +56 -0
  144. data/doc/classes/Autobuild/Package.src/M000077.html +16 -0
  145. data/doc/classes/Autobuild/Package.src/{M000091.html → M000078.html} +3 -3
  146. data/doc/classes/Autobuild/Package.src/M000079.html +28 -0
  147. data/doc/classes/Autobuild/Package.src/M000080.html +23 -0
  148. data/doc/classes/Autobuild/Package.src/{M000086.html → M000081.html} +1 -1
  149. data/doc/classes/Autobuild/Package.src/{M000087.html → M000082.html} +3 -3
  150. data/doc/classes/Autobuild/Package.src/M000101.html +16 -0
  151. data/doc/classes/Autobuild/Package.src/M000102.html +16 -0
  152. data/doc/classes/Autobuild/Package.src/M000103.html +16 -0
  153. data/doc/classes/Autobuild/Package.src/M000104.html +56 -0
  154. data/doc/classes/Autobuild/Package.src/M000105.html +16 -0
  155. data/doc/classes/Autobuild/Package.src/M000106.html +16 -0
  156. data/doc/classes/Autobuild/Package.src/M000107.html +28 -0
  157. data/doc/classes/Autobuild/Package.src/M000108.html +23 -0
  158. data/doc/classes/Autobuild/Package.src/M000109.html +19 -0
  159. data/doc/classes/Autobuild/Package.src/{M000093.html → M000110.html} +4 -4
  160. data/doc/classes/Autobuild/PackageException.html +11 -5
  161. data/doc/classes/Autobuild/PackageException.src/{M000059.html → M000050.html} +1 -1
  162. data/doc/classes/Autobuild/PackageException.src/M000078.html +16 -0
  163. data/doc/classes/Autobuild/Reporter.html +16 -10
  164. data/doc/classes/Autobuild/Reporter.src/{M000074.html → M000053.html} +1 -1
  165. data/doc/classes/Autobuild/Reporter.src/{M000075.html → M000054.html} +1 -1
  166. data/doc/classes/Autobuild/Reporter.src/M000081.html +16 -0
  167. data/doc/classes/Autobuild/Reporter.src/M000082.html +16 -0
  168. data/doc/classes/Autobuild/Reporting.html +60 -33
  169. data/doc/classes/Autobuild/Reporting.src/{M000095.html → M000025.html} +1 -1
  170. data/doc/classes/Autobuild/Reporting.src/{M000096.html → M000026.html} +1 -1
  171. data/doc/classes/Autobuild/Reporting.src/{M000097.html → M000027.html} +1 -1
  172. data/doc/classes/Autobuild/Reporting.src/{M000098.html → M000028.html} +1 -1
  173. data/doc/classes/Autobuild/Reporting.src/{M000099.html → M000029.html} +2 -2
  174. data/doc/classes/Autobuild/Reporting.src/M000053.html +24 -0
  175. data/doc/classes/Autobuild/Reporting.src/M000054.html +18 -0
  176. data/doc/classes/Autobuild/Reporting.src/M000055.html +18 -0
  177. data/doc/classes/Autobuild/Reporting.src/M000056.html +18 -0
  178. data/doc/classes/Autobuild/Reporting.src/M000057.html +18 -0
  179. data/doc/classes/Autobuild/{SVNImporter.html → SVN.html} +8 -8
  180. data/doc/classes/Autobuild/SVN.src/M000038.html +22 -0
  181. data/doc/classes/Autobuild/SVN.src/M000066.html +22 -0
  182. data/doc/classes/Autobuild/SourceTreeTask.html +5 -5
  183. data/doc/classes/Autobuild/SourceTreeTask.src/{M000114.html → M000083.html} +1 -1
  184. data/doc/classes/Autobuild/SourceTreeTask.src/M000111.html +18 -0
  185. data/doc/classes/Autobuild/StdoutReporter.html +16 -10
  186. data/doc/classes/Autobuild/StdoutReporter.src/{M000072.html → M000051.html} +1 -1
  187. data/doc/classes/Autobuild/StdoutReporter.src/{M000073.html → M000052.html} +1 -1
  188. data/doc/classes/Autobuild/StdoutReporter.src/M000079.html +18 -0
  189. data/doc/classes/Autobuild/StdoutReporter.src/M000080.html +18 -0
  190. data/doc/classes/Autobuild/SubcommandFailed.html +21 -15
  191. data/doc/classes/Autobuild/SubcommandFailed.src/{M000100.html → M000084.html} +1 -1
  192. data/doc/classes/Autobuild/SubcommandFailed.src/{M000101.html → M000085.html} +2 -2
  193. data/doc/classes/Autobuild/SubcommandFailed.src/{M000102.html → M000086.html} +1 -1
  194. data/doc/classes/Autobuild/SubcommandFailed.src/M000112.html +16 -0
  195. data/doc/classes/Autobuild/SubcommandFailed.src/M000113.html +32 -0
  196. data/doc/classes/Autobuild/SubcommandFailed.src/M000114.html +20 -0
  197. data/doc/classes/Autobuild/Subprocess.html +10 -10
  198. data/doc/classes/Autobuild/Subprocess.src/{M000042.html → M000030.html} +0 -0
  199. data/doc/classes/Autobuild/Subprocess.src/{M000043.html → M000031.html} +4 -2
  200. data/doc/classes/Autobuild/Subprocess.src/M000058.html +18 -0
  201. data/doc/classes/Autobuild/Subprocess.src/M000059.html +98 -0
  202. data/doc/classes/Autobuild/Subprocess/Failed.html +5 -5
  203. data/doc/classes/Autobuild/Subprocess/Failed.src/{M000044.html → M000032.html} +0 -0
  204. data/doc/classes/Autobuild/Subprocess/Failed.src/M000060.html +18 -0
  205. data/doc/classes/Autobuild/TarImporter.html +35 -35
  206. data/doc/classes/Autobuild/TarImporter.src/{M000076.html → M000064.html} +0 -0
  207. data/doc/classes/Autobuild/TarImporter.src/{M000077.html → M000065.html} +0 -0
  208. data/doc/classes/Autobuild/TarImporter.src/{M000078.html → M000066.html} +0 -0
  209. data/doc/classes/Autobuild/TarImporter.src/{M000079.html → M000067.html} +0 -0
  210. data/doc/classes/Autobuild/TarImporter.src/{M000080.html → M000068.html} +0 -0
  211. data/doc/classes/Autobuild/TarImporter.src/{M000081.html → M000069.html} +1 -1
  212. data/doc/classes/Autobuild/TarImporter.src/{M000082.html → M000070.html} +2 -2
  213. data/doc/classes/Autobuild/TarImporter.src/M000092.html +28 -0
  214. data/doc/classes/Autobuild/TarImporter.src/M000093.html +53 -0
  215. data/doc/classes/Autobuild/TarImporter.src/M000094.html +26 -0
  216. data/doc/classes/Autobuild/TarImporter.src/M000095.html +16 -0
  217. data/doc/classes/Autobuild/TarImporter.src/M000096.html +20 -0
  218. data/doc/classes/Autobuild/TarImporter.src/M000097.html +20 -0
  219. data/doc/classes/Autobuild/TarImporter.src/M000098.html +30 -0
  220. data/doc/classes/Autobuild/UndefinedVariable.html +12 -12
  221. data/doc/classes/Autobuild/UndefinedVariable.src/{M000083.html → M000071.html} +1 -1
  222. data/doc/classes/Autobuild/UndefinedVariable.src/{M000084.html → M000072.html} +1 -1
  223. data/doc/classes/Autobuild/UndefinedVariable.src/M000099.html +19 -0
  224. data/doc/classes/Autobuild/{Exception.src/M000106.html → UndefinedVariable.src/M000100.html} +3 -4
  225. data/doc/classes/Hash.html +12 -12
  226. data/doc/classes/Hash.src/{M000019.html → M000002.html} +1 -1
  227. data/doc/classes/Hash.src/M000003.html +23 -0
  228. data/doc/classes/Hash.src/M000020.html +11 -8
  229. data/doc/classes/Hash.src/M000021.html +23 -0
  230. data/doc/classes/RMail/Message.html +8 -5
  231. data/doc/classes/RMail/Message.src/{M000033.html → M000004.html} +1 -1
  232. data/doc/classes/RMail/Message.src/M000028.html +25 -0
  233. data/doc/classes/TC_CVSImport.html +15 -15
  234. data/doc/classes/{TC_TarImporter.src/M000009.html → TC_CVSImport.src/M000025.html} +7 -6
  235. data/doc/classes/TC_CVSImport.src/M000026.html +6 -7
  236. data/doc/classes/TC_CVSImport.src/M000027.html +22 -7
  237. data/doc/classes/TC_Config.html +20 -20
  238. data/doc/classes/TC_Config.src/{M000001.html → M000006.html} +0 -0
  239. data/doc/classes/TC_Config.src/{M000002.html → M000007.html} +0 -0
  240. data/doc/classes/TC_Config.src/{M000003.html → M000008.html} +0 -0
  241. data/doc/classes/TC_Config.src/{M000004.html → M000009.html} +0 -0
  242. data/doc/classes/TC_ConfigInterpolation.html +20 -20
  243. data/doc/classes/TC_ConfigInterpolation.src/{M000015.html → M000002.html} +0 -0
  244. data/doc/classes/TC_ConfigInterpolation.src/{M000016.html → M000003.html} +0 -0
  245. data/doc/classes/TC_ConfigInterpolation.src/{M000017.html → M000004.html} +0 -0
  246. data/doc/classes/TC_ConfigInterpolation.src/{M000018.html → M000005.html} +0 -0
  247. data/doc/classes/TC_SVNImport.html +15 -15
  248. data/doc/classes/TC_SVNImport.src/{M000005.html → M000017.html} +0 -0
  249. data/doc/classes/TC_SVNImport.src/{M000006.html → M000018.html} +0 -0
  250. data/doc/classes/TC_SVNImport.src/{M000007.html → M000019.html} +0 -0
  251. data/doc/classes/TC_Subcommand.html +15 -15
  252. data/doc/classes/TC_Subcommand.src/M000022.html +17 -4
  253. data/doc/classes/TC_Subcommand.src/M000023.html +4 -16
  254. data/doc/classes/TC_Subcommand.src/M000024.html +30 -0
  255. data/doc/classes/TC_TarImporter.html +35 -35
  256. data/doc/classes/TC_TarImporter.src/M000010.html +14 -6
  257. data/doc/classes/TC_TarImporter.src/M000011.html +7 -6
  258. data/doc/classes/TC_TarImporter.src/M000012.html +6 -12
  259. data/doc/classes/TC_TarImporter.src/M000013.html +6 -17
  260. data/doc/classes/TC_TarImporter.src/M000014.html +11 -9
  261. data/doc/classes/TC_TarImporter.src/M000015.html +31 -0
  262. data/doc/classes/TC_TarImporter.src/M000016.html +24 -0
  263. data/doc/created.rid +1 -1
  264. data/doc/files/README.html +378 -0
  265. data/doc/files/{lib/autobuild/options_rb.html → demo_rb.html} +19 -5
  266. data/doc/files/lib/autobuild/config_rb.html +30 -7
  267. data/doc/files/lib/autobuild/config_rb.src/M000001.html +18 -0
  268. data/doc/files/lib/autobuild/environment_rb.html +1 -1
  269. data/doc/files/lib/autobuild/exceptions_rb.html +1 -1
  270. data/doc/files/lib/autobuild/import/cvs_rb.html +2 -1
  271. data/doc/files/{test/base_rb.html → lib/autobuild/import/darcs_rb.html} +8 -11
  272. data/doc/files/lib/autobuild/import/svn_rb.html +1 -1
  273. data/doc/files/lib/autobuild/import/tar_rb.html +1 -1
  274. data/doc/files/lib/autobuild/importer_rb.html +2 -1
  275. data/doc/files/lib/autobuild/{config-interpolator_rb.html → loaders/config-interpolator_rb.html} +3 -3
  276. data/doc/files/lib/autobuild/loaders/config_rb.html +113 -0
  277. data/doc/files/lib/autobuild/package_rb.html +1 -1
  278. data/doc/files/lib/autobuild/packages/autotools_rb.html +2 -1
  279. data/doc/files/lib/autobuild/packages/genom_rb.html +1 -1
  280. data/doc/files/lib/autobuild/packages/import_rb.html +1 -1
  281. data/doc/files/lib/autobuild/reporting_rb.html +2 -1
  282. data/doc/files/lib/autobuild/subcommand_rb.html +1 -1
  283. data/doc/files/lib/autobuild/timestamps_rb.html +2 -1
  284. data/doc/files/{test/test_attr_defval_rb.html → lib/autobuild_rb.html} +7 -6
  285. data/doc/files/test/test_config_interpolation_rb.html +2 -2
  286. data/doc/files/test/test_config_rb.html +2 -2
  287. data/doc/files/test/test_import_cvs_rb.html +1 -1
  288. data/doc/files/test/test_import_svn_rb.html +1 -1
  289. data/doc/files/test/test_import_tar_rb.html +1 -1
  290. data/doc/files/test/test_subcommand_rb.html +2 -2
  291. data/doc/files/test/tools_rb.html +1 -1
  292. data/doc/fr_class_index.html +0 -37
  293. data/doc/fr_file_index.html +1 -25
  294. data/doc/fr_method_index.html +0 -117
  295. data/doc/index.html +1 -1
  296. data/lib/autobuild.rb +3 -0
  297. data/lib/autobuild/config.rb +87 -153
  298. data/lib/autobuild/environment.rb +4 -1
  299. data/lib/autobuild/exceptions.rb +19 -5
  300. data/lib/autobuild/import/cvs.rb +11 -10
  301. data/lib/autobuild/import/darcs.rb +32 -0
  302. data/lib/autobuild/import/svn.rb +10 -13
  303. data/lib/autobuild/import/tar.rb +3 -3
  304. data/lib/autobuild/importer.rb +5 -4
  305. data/lib/autobuild/package.rb +109 -69
  306. data/lib/autobuild/packages/autotools.rb +112 -69
  307. data/lib/autobuild/packages/genom.rb +48 -32
  308. data/lib/autobuild/packages/import.rb +6 -4
  309. data/lib/autobuild/reporting.rb +48 -19
  310. data/lib/autobuild/subcommand.rb +7 -9
  311. data/lib/autobuild/timestamps.rb +6 -5
  312. data/test/test_import_cvs.rb +7 -14
  313. data/test/test_import_svn.rb +6 -20
  314. data/test/test_import_tar.rb +3 -8
  315. data/test/test_subcommand.rb +7 -14
  316. data/test/tools.rb +5 -0
  317. metadata +336 -226
  318. data/doc/classes/Autobuild/Autotools.src/M000066.html +0 -26
  319. data/doc/classes/Autobuild/Autotools.src/M000068.html +0 -53
  320. data/doc/classes/Autobuild/Autotools.src/M000069.html +0 -28
  321. data/doc/classes/Autobuild/Autotools.src/M000070.html +0 -23
  322. data/doc/classes/Autobuild/Autotools.src/M000071.html +0 -22
  323. data/doc/classes/Autobuild/CVSImporter.src/M000048.html +0 -24
  324. data/doc/classes/Autobuild/Config.html +0 -146
  325. data/doc/classes/Autobuild/GenomModule.src/M000113.html +0 -35
  326. data/doc/classes/Autobuild/Import.src/M000046.html +0 -18
  327. data/doc/classes/Autobuild/Options.src/M000058.html +0 -27
  328. data/doc/classes/Autobuild/Package.src/M000088.html +0 -41
  329. data/doc/classes/Autobuild/Package.src/M000089.html +0 -22
  330. data/doc/classes/Autobuild/Package.src/M000090.html +0 -23
  331. data/doc/classes/Autobuild/Package.src/M000092.html +0 -24
  332. data/doc/classes/Autobuild/Package.src/M000094.html +0 -23
  333. data/doc/classes/Autobuild/SVNImporter.src/M000050.html +0 -23
  334. data/doc/classes/TC_AttrDefval.html +0 -152
  335. data/doc/classes/TC_AttrDefval.src/M000024.html +0 -31
  336. data/doc/classes/TC_AttrDefval.src/M000025.html +0 -22
  337. data/doc/classes/TC_CVSImport.src/M000028.html +0 -36
  338. data/doc/classes/TC_Subcommand.src/M000021.html +0 -31
  339. data/doc/classes/TC_TarImporter.src/M000008.html +0 -28
  340. data/lib/autobuild/config-interpolator.rb +0 -107
  341. data/lib/autobuild/options.rb +0 -22
  342. data/test/base.rb +0 -8
  343. data/test/test_attr_defval.rb +0 -29
  344. data/test/test_config.rb +0 -40
  345. data/test/test_config_interpolation.rb +0 -57
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Wed Jan 25 21:45:14 CET 2006</td>
59
+ <td>Wed Feb 08 14:39:03 CET 2006</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -74,7 +74,7 @@
74
74
 
75
75
  <div class="name-list">
76
76
  test/unit&nbsp;&nbsp;
77
- autobuild/config-interpolator&nbsp;&nbsp;
77
+ autobuild/loaders/config-interpolator&nbsp;&nbsp;
78
78
  yaml&nbsp;&nbsp;
79
79
  stringio&nbsp;&nbsp;
80
80
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Wed Jan 25 21:45:14 CET 2006</td>
59
+ <td>Wed Feb 08 14:39:03 CET 2006</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -76,7 +76,7 @@
76
76
  test/unit&nbsp;&nbsp;
77
77
  <a href="tools_rb.html">test/tools</a>&nbsp;&nbsp;
78
78
  autobuild/options&nbsp;&nbsp;
79
- autobuild/config&nbsp;&nbsp;
79
+ autobuild/loaders/config&nbsp;&nbsp;
80
80
  </div>
81
81
  </div>
82
82
 
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Fri Dec 09 07:42:31 CET 2005</td>
59
+ <td>Wed Feb 08 14:39:03 CET 2006</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Fri Dec 09 07:42:31 CET 2005</td>
59
+ <td>Wed Feb 08 14:39:03 CET 2006</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Fri Dec 09 07:42:31 CET 2005</td>
59
+ <td>Wed Feb 08 14:39:03 CET 2006</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Wed Jan 25 21:45:14 CET 2006</td>
59
+ <td>Wed Feb 08 14:39:03 CET 2006</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -76,7 +76,7 @@
76
76
  test/unit&nbsp;&nbsp;
77
77
  <a href="tools_rb.html">test/tools</a>&nbsp;&nbsp;
78
78
  autobuild/options&nbsp;&nbsp;
79
- autobuild/config&nbsp;&nbsp;
79
+ autobuild/loaders/config&nbsp;&nbsp;
80
80
  tmpdir&nbsp;&nbsp;
81
81
  fileutils&nbsp;&nbsp;
82
82
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Fri Dec 09 07:42:31 CET 2005</td>
59
+ <td>Wed Feb 08 14:39:03 CET 2006</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -20,43 +20,6 @@
20
20
  <div id="index">
21
21
  <h1 class="section-bar">Classes</h1>
22
22
  <div id="index-entries">
23
- <a href="classes/Autobuild.html">Autobuild</a><br />
24
- <a href="classes/Autobuild/Autotools.html">Autobuild::Autotools</a><br />
25
- <a href="classes/Autobuild/CVSImporter.html">Autobuild::CVSImporter</a><br />
26
- <a href="classes/Autobuild/CommandNotFound.html">Autobuild::CommandNotFound</a><br />
27
- <a href="classes/Autobuild/Config.html">Autobuild::Config</a><br />
28
- <a href="classes/Autobuild/ConfigException.html">Autobuild::ConfigException</a><br />
29
- <a href="classes/Autobuild/Exception.html">Autobuild::Exception</a><br />
30
- <a href="classes/Autobuild/GenomModule.html">Autobuild::GenomModule</a><br />
31
- <a href="classes/Autobuild/Import.html">Autobuild::Import</a><br />
32
- <a href="classes/Autobuild/Importer.html">Autobuild::Importer</a><br />
33
- <a href="classes/Autobuild/ImporterPackage.html">Autobuild::ImporterPackage</a><br />
34
- <a href="classes/Autobuild/Interpolator.html">Autobuild::Interpolator</a><br />
35
- <a href="classes/Autobuild/MailReporter.html">Autobuild::MailReporter</a><br />
36
- <a href="classes/Autobuild/Options.html">Autobuild::Options</a><br />
37
- <a href="classes/Autobuild/Package.html">Autobuild::Package</a><br />
38
- <a href="classes/Autobuild/PackageException.html">Autobuild::PackageException</a><br />
39
- <a href="classes/Autobuild/Reporter.html">Autobuild::Reporter</a><br />
40
- <a href="classes/Autobuild/Reporting.html">Autobuild::Reporting</a><br />
41
- <a href="classes/Autobuild/SVNImporter.html">Autobuild::SVNImporter</a><br />
42
- <a href="classes/Autobuild/SourceTreeTask.html">Autobuild::SourceTreeTask</a><br />
43
- <a href="classes/Autobuild/StdoutReporter.html">Autobuild::StdoutReporter</a><br />
44
- <a href="classes/Autobuild/SubcommandFailed.html">Autobuild::SubcommandFailed</a><br />
45
- <a href="classes/Autobuild/Subprocess.html">Autobuild::Subprocess</a><br />
46
- <a href="classes/Autobuild/Subprocess/Failed.html">Autobuild::Subprocess::Failed</a><br />
47
- <a href="classes/Autobuild/TarImporter.html">Autobuild::TarImporter</a><br />
48
- <a href="classes/Autobuild/UndefinedVariable.html">Autobuild::UndefinedVariable</a><br />
49
- <a href="classes/Hash.html">Hash</a><br />
50
- <a href="classes/RMail.html">RMail</a><br />
51
- <a href="classes/RMail/Message.html">RMail::Message</a><br />
52
- <a href="classes/TC_AttrDefval.html">TC_AttrDefval</a><br />
53
- <a href="classes/TC_CVSImport.html">TC_CVSImport</a><br />
54
- <a href="classes/TC_Config.html">TC_Config</a><br />
55
- <a href="classes/TC_ConfigInterpolation.html">TC_ConfigInterpolation</a><br />
56
- <a href="classes/TC_SVNImport.html">TC_SVNImport</a><br />
57
- <a href="classes/TC_Subcommand.html">TC_Subcommand</a><br />
58
- <a href="classes/TC_TarImporter.html">TC_TarImporter</a><br />
59
- <a href="classes/TestTools.html">TestTools</a><br />
60
23
  </div>
61
24
  </div>
62
25
  </body>
@@ -20,31 +20,7 @@
20
20
  <div id="index">
21
21
  <h1 class="section-bar">Files</h1>
22
22
  <div id="index-entries">
23
- <a href="files/lib/autobuild/config-interpolator_rb.html">lib/autobuild/config-interpolator.rb</a><br />
24
- <a href="files/lib/autobuild/config_rb.html">lib/autobuild/config.rb</a><br />
25
- <a href="files/lib/autobuild/environment_rb.html">lib/autobuild/environment.rb</a><br />
26
- <a href="files/lib/autobuild/exceptions_rb.html">lib/autobuild/exceptions.rb</a><br />
27
- <a href="files/lib/autobuild/import/cvs_rb.html">lib/autobuild/import/cvs.rb</a><br />
28
- <a href="files/lib/autobuild/import/svn_rb.html">lib/autobuild/import/svn.rb</a><br />
29
- <a href="files/lib/autobuild/import/tar_rb.html">lib/autobuild/import/tar.rb</a><br />
30
- <a href="files/lib/autobuild/importer_rb.html">lib/autobuild/importer.rb</a><br />
31
- <a href="files/lib/autobuild/options_rb.html">lib/autobuild/options.rb</a><br />
32
- <a href="files/lib/autobuild/package_rb.html">lib/autobuild/package.rb</a><br />
33
- <a href="files/lib/autobuild/packages/autotools_rb.html">lib/autobuild/packages/autotools.rb</a><br />
34
- <a href="files/lib/autobuild/packages/genom_rb.html">lib/autobuild/packages/genom.rb</a><br />
35
- <a href="files/lib/autobuild/packages/import_rb.html">lib/autobuild/packages/import.rb</a><br />
36
- <a href="files/lib/autobuild/reporting_rb.html">lib/autobuild/reporting.rb</a><br />
37
- <a href="files/lib/autobuild/subcommand_rb.html">lib/autobuild/subcommand.rb</a><br />
38
- <a href="files/lib/autobuild/timestamps_rb.html">lib/autobuild/timestamps.rb</a><br />
39
- <a href="files/test/base_rb.html">test/base.rb</a><br />
40
- <a href="files/test/test_attr_defval_rb.html">test/test_attr_defval.rb</a><br />
41
- <a href="files/test/test_config_rb.html">test/test_config.rb</a><br />
42
- <a href="files/test/test_config_interpolation_rb.html">test/test_config_interpolation.rb</a><br />
43
- <a href="files/test/test_import_cvs_rb.html">test/test_import_cvs.rb</a><br />
44
- <a href="files/test/test_import_svn_rb.html">test/test_import_svn.rb</a><br />
45
- <a href="files/test/test_import_tar_rb.html">test/test_import_tar.rb</a><br />
46
- <a href="files/test/test_subcommand_rb.html">test/test_subcommand.rb</a><br />
47
- <a href="files/test/tools_rb.html">test/tools.rb</a><br />
23
+ <a href="files/README.html">README</a><br />
48
24
  </div>
49
25
  </div>
50
26
  </body>
@@ -20,123 +20,6 @@
20
20
  <div id="index">
21
21
  <h1 class="section-bar">Methods</h1>
22
22
  <div id="index-entries">
23
- <a href="classes/Autobuild/Reporting.html#M000098"><< (Autobuild::Reporting)</a><br />
24
- <a href="classes/Autobuild/Package.html#M000087">[] (Autobuild::Package)</a><br />
25
- <a href="classes/RMail/Message.html#M000033">add_file (RMail::Message)</a><br />
26
- <a href="classes/Autobuild/Package.html#M000091">all (Autobuild::Package)</a><br />
27
- <a href="classes/Autobuild/Package.html#M000094">build (Autobuild::Package)</a><br />
28
- <a href="classes/Autobuild/Autotools.html#M000070">build (Autobuild::Autotools)</a><br />
29
- <a href="classes/TestTools.html#M000031">build_config (TestTools)</a><br />
30
- <a href="classes/Autobuild/Autotools.html#M000065">buildstamp (Autobuild::Autotools)</a><br />
31
- <a href="classes/Autobuild/TarImporter.html#M000079">cachedir (Autobuild::TarImporter)</a><br />
32
- <a href="classes/Autobuild/Config.html#M000040">check_backward_compatibility (Autobuild::Config)</a><br />
33
- <a href="classes/Autobuild/TarImporter.html#M000082">checkout (Autobuild::TarImporter)</a><br />
34
- <a href="classes/TestTools.html#M000030">clean (TestTools)</a><br />
35
- <a href="classes/Autobuild/Autotools.html#M000069">configure (Autobuild::Autotools)</a><br />
36
- <a href="classes/Autobuild/GenomModule.html#M000109">cpp_options (Autobuild::GenomModule)</a><br />
37
- <a href="classes/Autobuild/Import.html#M000046">cvs (Autobuild::Import)</a><br />
38
- <a href="classes/Autobuild/Options.html#M000058">default (Autobuild::Options)</a><br />
39
- <a href="classes/Autobuild/MailReporter.html#M000060">default_mail (Autobuild::MailReporter)</a><br />
40
- <a href="classes/Autobuild/GenomModule.html#M000111">depends_on (Autobuild::GenomModule)</a><br />
41
- <a href="classes/Autobuild/Package.html#M000089">depends_on (Autobuild::Package)</a><br />
42
- <a href="classes/Autobuild/Package.html#M000086">each (Autobuild::Package)</a><br />
43
- <a href="classes/Autobuild/Interpolator.html#M000055">each_interpolation (Autobuild::Interpolator)</a><br />
44
- <a href="classes/Autobuild/Reporting.html#M000099">each_log (Autobuild::Reporting)</a><br />
45
- <a href="classes/Hash.html#M000020">each_recursive (Hash)</a><br />
46
- <a href="classes/Autobuild/Reporting.html#M000097">error (Autobuild::Reporting)</a><br />
47
- <a href="classes/Autobuild/StdoutReporter.html#M000072">error (Autobuild::StdoutReporter)</a><br />
48
- <a href="classes/Autobuild/MailReporter.html#M000062">error (Autobuild::MailReporter)</a><br />
49
- <a href="classes/Autobuild/Reporter.html#M000074">error (Autobuild::Reporter)</a><br />
50
- <a href="classes/Autobuild/Package.html#M000093">factory (Autobuild::Package)</a><br />
51
- <a href="classes/Autobuild/Exception.html#M000104">fatal? (Autobuild::Exception)</a><br />
52
- <a href="classes/Autobuild/GenomModule.html#M000108">genomstamp (Autobuild::GenomModule)</a><br />
53
- <a href="classes/Autobuild/GenomModule.html#M000112">get_provides (Autobuild::GenomModule)</a><br />
54
- <a href="classes/Autobuild/GenomModule.html#M000110">get_requires (Autobuild::GenomModule)</a><br />
55
- <a href="classes/Autobuild.html#M000038">get_stamp (Autobuild)</a><br />
56
- <a href="classes/Autobuild/Importer.html#M000057">import (Autobuild::Importer)</a><br />
57
- <a href="classes/Autobuild/Autotools.html#M000071">install (Autobuild::Autotools)</a><br />
58
- <a href="classes/Autobuild/Package.html#M000085">installstamp (Autobuild::Package)</a><br />
59
- <a href="classes/Autobuild/ImporterPackage.html#M000115">installstamp (Autobuild::ImporterPackage)</a><br />
60
- <a href="classes/Autobuild/Interpolator.html#M000053">interpolate (Autobuild::Interpolator)</a><br />
61
- <a href="classes/Autobuild/Interpolator.html#M000051">interpolate (Autobuild::Interpolator)</a><br />
62
- <a href="classes/Hash.html#M000019">keys_to_sym (Hash)</a><br />
63
- <a href="classes/Autobuild/Config.html#M000041">load (Autobuild::Config)</a><br />
64
- <a href="classes/Autobuild/PackageException.html#M000059">mail? (Autobuild::PackageException)</a><br />
65
- <a href="classes/Autobuild/SubcommandFailed.html#M000100">mail? (Autobuild::SubcommandFailed)</a><br />
66
- <a href="classes/Autobuild/Exception.html#M000103">mail? (Autobuild::Exception)</a><br />
67
- <a href="classes/Autobuild/CVSImporter.html#M000049">modulename (Autobuild::CVSImporter)</a><br />
68
- <a href="classes/Autobuild/Package.html#M000092">name2target (Autobuild::Package)</a><br />
69
- <a href="classes/Autobuild/TarImporter.html#M000080">new (Autobuild::TarImporter)</a><br />
70
- <a href="classes/Autobuild/CVSImporter.html#M000048">new (Autobuild::CVSImporter)</a><br />
71
- <a href="classes/Autobuild/Autotools.html#M000066">new (Autobuild::Autotools)</a><br />
72
- <a href="classes/Autobuild/SVNImporter.html#M000050">new (Autobuild::SVNImporter)</a><br />
73
- <a href="classes/Autobuild/Package.html#M000088">new (Autobuild::Package)</a><br />
74
- <a href="classes/Autobuild/Interpolator.html#M000052">new (Autobuild::Interpolator)</a><br />
75
- <a href="classes/Autobuild/UndefinedVariable.html#M000083">new (Autobuild::UndefinedVariable)</a><br />
76
- <a href="classes/Autobuild/ImporterPackage.html#M000116">new (Autobuild::ImporterPackage)</a><br />
77
- <a href="classes/Autobuild/MailReporter.html#M000061">new (Autobuild::MailReporter)</a><br />
78
- <a href="classes/Autobuild/Exception.html#M000105">new (Autobuild::Exception)</a><br />
79
- <a href="classes/Autobuild/SubcommandFailed.html#M000101">new (Autobuild::SubcommandFailed)</a><br />
80
- <a href="classes/Autobuild/Subprocess/Failed.html#M000044">new (Autobuild::Subprocess::Failed)</a><br />
81
- <a href="classes/Autobuild/Importer.html#M000056">new (Autobuild::Importer)</a><br />
82
- <a href="classes/Autobuild/Subprocess.html#M000042">nice= (Autobuild::Subprocess)</a><br />
83
- <a href="classes/Autobuild.html#M000034">pathvar (Autobuild)</a><br />
84
- <a href="classes/Autobuild/Autotools.html#M000067">prepare (Autobuild::Autotools)</a><br />
85
- <a href="classes/Autobuild/GenomModule.html#M000107">prepare (Autobuild::GenomModule)</a><br />
86
- <a href="classes/Autobuild/ImporterPackage.html#M000117">prepare (Autobuild::ImporterPackage)</a><br />
87
- <a href="classes/Autobuild/Package.html#M000090">provides (Autobuild::Package)</a><br />
88
- <a href="classes/Autobuild/GenomModule.html#M000113">regen_targets (Autobuild::GenomModule)</a><br />
89
- <a href="classes/Autobuild/Autotools.html#M000068">regen_targets (Autobuild::Autotools)</a><br />
90
- <a href="classes/Autobuild/Reporting.html#M000095">report (Autobuild::Reporting)</a><br />
91
- <a href="classes/Autobuild/Subprocess.html#M000043">run (Autobuild::Subprocess)</a><br />
92
- <a href="classes/Autobuild/MailReporter.html#M000064">send_mail (Autobuild::MailReporter)</a><br />
93
- <a href="classes/TC_TarImporter.html#M000008">setup (TC_TarImporter)</a><br />
94
- <a href="classes/TC_SVNImport.html#M000005">setup (TC_SVNImport)</a><br />
95
- <a href="classes/TC_Subcommand.html#M000021">setup (TC_Subcommand)</a><br />
96
- <a href="classes/TC_CVSImport.html#M000026">setup (TC_CVSImport)</a><br />
97
- <a href="classes/TC_ConfigInterpolation.html#M000015">setup (TC_ConfigInterpolation)</a><br />
98
- <a href="classes/TC_Config.html#M000001">setup (TC_Config)</a><br />
99
- <a href="classes/Autobuild.html#M000037">source_tree (Autobuild)</a><br />
100
- <a href="classes/Autobuild/Reporting.html#M000096">success (Autobuild::Reporting)</a><br />
101
- <a href="classes/Autobuild/StdoutReporter.html#M000073">success (Autobuild::StdoutReporter)</a><br />
102
- <a href="classes/Autobuild/MailReporter.html#M000063">success (Autobuild::MailReporter)</a><br />
103
- <a href="classes/Autobuild/Reporter.html#M000075">success (Autobuild::Reporter)</a><br />
104
- <a href="classes/Autobuild/Import.html#M000045">svn (Autobuild::Import)</a><br />
105
- <a href="classes/Autobuild/Import.html#M000047">tar (Autobuild::Import)</a><br />
106
- <a href="classes/TC_CVSImport.html#M000027">teardown (TC_CVSImport)</a><br />
107
- <a href="classes/TC_ConfigInterpolation.html#M000016">teardown (TC_ConfigInterpolation)</a><br />
108
- <a href="classes/TC_TarImporter.html#M000009">teardown (TC_TarImporter)</a><br />
109
- <a href="classes/TC_SVNImport.html#M000006">teardown (TC_SVNImport)</a><br />
110
- <a href="classes/TC_Config.html#M000002">teardown (TC_Config)</a><br />
111
- <a href="classes/TC_Subcommand.html#M000022">teardown (TC_Subcommand)</a><br />
112
- <a href="classes/TestTools.html#M000029">tempdir (TestTools)</a><br />
113
- <a href="classes/TC_AttrDefval.html#M000024">test_basic (TC_AttrDefval)</a><br />
114
- <a href="classes/TC_CVSImport.html#M000028">test_cvs (TC_CVSImport)</a><br />
115
- <a href="classes/TC_AttrDefval.html#M000025">test_defval_notshared (TC_AttrDefval)</a><br />
116
- <a href="classes/TC_ConfigInterpolation.html#M000018">test_interpolation (TC_ConfigInterpolation)</a><br />
117
- <a href="classes/TC_Config.html#M000003">test_keys_to_sym (TC_Config)</a><br />
118
- <a href="classes/TC_ConfigInterpolation.html#M000017">test_match (TC_ConfigInterpolation)</a><br />
119
- <a href="classes/TC_Subcommand.html#M000023">test_subcommand (TC_Subcommand)</a><br />
120
- <a href="classes/TC_SVNImport.html#M000007">test_svn (TC_SVNImport)</a><br />
121
- <a href="classes/TC_TarImporter.html#M000010">test_tar_mode (TC_TarImporter)</a><br />
122
- <a href="classes/TC_TarImporter.html#M000013">test_tar_remote (TC_TarImporter)</a><br />
123
- <a href="classes/TC_TarImporter.html#M000014">test_tar_remote_notfound (TC_TarImporter)</a><br />
124
- <a href="classes/TC_TarImporter.html#M000011">test_tar_valid_url (TC_TarImporter)</a><br />
125
- <a href="classes/TC_Config.html#M000004">test_value_type (TC_Config)</a><br />
126
- <a href="classes/Autobuild/SourceTreeTask.html#M000114">timestamp (Autobuild::SourceTreeTask)</a><br />
127
- <a href="classes/Autobuild/SubcommandFailed.html#M000102">to_s (Autobuild::SubcommandFailed)</a><br />
128
- <a href="classes/Autobuild/UndefinedVariable.html#M000084">to_s (Autobuild::UndefinedVariable)</a><br />
129
- <a href="classes/Autobuild/Exception.html#M000106">to_s (Autobuild::Exception)</a><br />
130
- <a href="classes/Autobuild.html#M000039">touch_stamp (Autobuild)</a><br />
131
- <a href="classes/Autobuild.html#M000036">tree_timestamp (Autobuild)</a><br />
132
- <a href="classes/TestTools.html#M000032">untar (TestTools)</a><br />
133
- <a href="classes/Autobuild/TarImporter.html#M000081">update (Autobuild::TarImporter)</a><br />
134
- <a href="classes/Autobuild/TarImporter.html#M000077">update_cache (Autobuild::TarImporter)</a><br />
135
- <a href="classes/Autobuild.html#M000035">update_environment (Autobuild)</a><br />
136
- <a href="classes/Autobuild/TarImporter.html#M000078">url= (Autobuild::TarImporter)</a><br />
137
- <a href="classes/Autobuild/TarImporter.html#M000076">url_to_mode (Autobuild::TarImporter)</a><br />
138
- <a href="classes/Autobuild/Interpolator.html#M000054">value_of (Autobuild::Interpolator)</a><br />
139
- <a href="classes/TC_TarImporter.html#M000012">web_server (TC_TarImporter)</a><br />
140
23
  </div>
141
24
  </div>
142
25
  </body>
data/doc/index.html CHANGED
@@ -19,6 +19,6 @@
19
19
  <frame src="fr_class_index.html" name="Classes" />
20
20
  <frame src="fr_method_index.html" name="Methods" />
21
21
  </frameset>
22
- <frame src="files/lib/autobuild/importer_rb.html" name="docwin" />
22
+ <frame src="files/README.html" name="docwin" />
23
23
  </frameset>
24
24
  </html>
data/lib/autobuild.rb ADDED
@@ -0,0 +1,3 @@
1
+ require 'autobuild/config'
2
+ require 'autobuild/reporting'
3
+ require 'autobuild/package'
@@ -1,174 +1,108 @@
1
- require 'yaml'
2
- require 'pathname'
3
-
4
- require 'autobuild/config-interpolator'
5
- require 'autobuild/reporting'
6
- require 'autobuild/package'
7
- require 'autobuild/importer'
8
-
9
- class Hash
10
- def keys_to_sym
11
- inject(Hash.new) do |h, sample|
12
- k, v = sample[0], sample[1]
13
- if v.respond_to?(:keys_to_sym)
14
- h[k.to_sym] = v.keys_to_sym
15
- else
16
- h[k.to_sym] = v
17
- end
18
- h
19
- end
20
- end
1
+ require 'optparse'
2
+ require 'rake'
3
+ require 'singleton'
21
4
 
22
- def each_recursive(&p)
23
- each { |k, v|
24
- yield(k, v)
25
- if v.respond_to?(:each_recursive)
26
- v.each_recursive(&p)
27
- end
28
- }
29
- end
5
+ def Autobuild(&script)
6
+ Autobuild.send(:module_eval, &script)
30
7
  end
31
8
 
32
- module Autobuild::Config
33
- def self.check_backward_compatibility(config)
34
- if config.has_key?('autobuild-config')
35
- puts 'WARNING: the \'autobuild-config\' block is now named \'autobuild\''
36
- end
37
- config.each_recursive { |k, v|
38
- if k == 'common-config'
39
- puts 'WARNING: the \'common-config\' blocks are now named \'common\''
40
- end
41
- }
42
- if config["autobuild"] && config["autobuild"]["clean-log"]
43
- puts 'WARNING: the \'clean-log\' option is now named \'clean_log\''
9
+ module Autobuild
10
+ class << self
11
+ %w{ nice srcdir prefix
12
+ verbose debug do_update do_build
13
+ daemonize clean_log }.each do |name|
14
+ attr_accessor name
44
15
  end
45
- end
46
-
47
- def self.load(conffile, user_options = Options.nil)
48
- case conffile
49
- when Hash
50
- config = conffile
51
- else
52
- data = YAML.load(conffile)
53
- config = Interpolator.interpolate(data)
54
- end
55
-
56
- check_backward_compatibility(config)
57
- config = config.keys_to_sym
58
- if !config[:autobuild]
59
- raise ConfigException, "no toplevel autobuild config block"
60
- end
61
-
62
- # Merge user_options into the autobuild block
63
- autobuild_config = config[:autobuild]
64
- default_options = Options.default
65
- user_options.each_pair { |sym, value|
66
- if !value.nil?
67
- autobuild_config[sym] = value
68
- elsif !autobuild_config.has_key?(sym)
69
- autobuild_config[sym] = default_options.send(sym)
70
- end
71
- }
72
-
73
- $verbose = $VERBOSE = autobuild_config[:verbose]
74
- $trace = $DEBUG = autobuild_config[:debug]
75
16
 
76
- get_autobuild_config(config)
77
- get_package_config(config)
17
+ attr_reader :programs
18
+ attr_writer :logdir
19
+ end
20
+ DEFAULT_OPTIONS = { :nice => 0,
21
+ :srcdir => nil, :prefix => nil, :logdir => nil,
22
+ :verbose => false, :debug => false, :do_build => true, :do_update => true,
23
+ :daemonize => false }
24
+
25
+ @programs = Hash.new
26
+ DEFAULT_OPTIONS.each do |name, value|
27
+ send("#{name}=", value)
78
28
  end
79
29
 
80
- def self.get_autobuild_config(config)
81
- $PROGRAMS = (config[:programs] or "make")
82
-
83
- autobuild = config[:autobuild]
84
- $SRCDIR = File.expand_path(autobuild[:srcdir], Dir.pwd)
85
- $PREFIX = File.expand_path(autobuild[:prefix], Dir.pwd)
86
- $LOGDIR = File.expand_path(autobuild[:logdir] || "autobuild/log", $PREFIX)
87
- $CACHEDIR = File.expand_path(autobuild[:cachedir] || "autobuild/cache", $PREFIX)
88
-
89
- FileUtils.mkdir_p $SRCDIR if !File.directory?($SRCDIR)
90
- FileUtils.mkdir_p $LOGDIR if !File.directory?($LOGDIR)
91
- if autobuild[:clean_log]
92
- puts "Cleaning log dir #{$LOGDIR}"
93
- FileUtils.rm_rf Dir.glob("#{$LOGDIR}/*.log")
94
- end
30
+ @mail = Hash.new
31
+ class << self
32
+ attr_reader :mail
33
+ def logdir; @logdir || "#{prefix}/log" end
95
34
 
96
- FileUtils.mkdir_p $CACHEDIR if !File.directory?($CACHEDIR)
97
-
98
- if autobuild[:mail]
99
- if autobuild[:mail].respond_to?(:[])
100
- mail_config = autobuild[:mail]
101
- elsif autobuild[:mail].respond_to?(:to_str)
102
- Hash[:to => autobuild[:mail].to_str]
103
- elsif autobuild[:mail] == true
104
- mail_config = {}
105
- else
106
- raise ConfigException, "mail configuration should be either a option hash or a string"
107
-
35
+ def clean_log!
36
+ Reporting.each_log do |file|
37
+ FileUtils.rm_f file
108
38
  end
109
- Reporting << MailReporter.new(mail_config)
110
39
  end
111
- $UPDATE = autobuild[:update]
112
- $NICE = autobuild[:nice]
113
-
114
- autobuild[:environment].to_a.each { |k, v|
115
- ENV[k.to_s] = v.to_a.join(':')
116
- }
117
- end
118
40
 
119
- def self.add_package(name, config)
120
- # Get the package type
121
- package_type = config[:type].to_sym
122
- require "autobuild/packages/#{package_type}"
123
-
124
- # Build the importer object, if there is one
125
- import_type = config[:import]
126
- if import_type
127
- require "autobuild/import/#{import_type}"
128
- if !config.has_key?(:source)
129
- raise ConfigException, "missing 'source' option in the '#{name}' package description"
130
- end
131
-
132
- config[:import] = Import.method(import_type).call(config[:source], config)
41
+ # Get a given program, using its name as default value
42
+ def tool(name)
43
+ programs[name.to_sym] || programs[name.to_s] || name.to_s
133
44
  end
134
45
 
135
- # Set the default dir if needed
136
- config[:srcdir] ||= name.to_s
137
- config[:prefix] ||= name.to_s
46
+ # Gets autobuild options from the command line
47
+ # and returns the remaining elements
48
+ def commandline(args)
49
+ parser = OptionParser.new do |opts|
50
+ opts.separator "Path specification"
51
+ opts.on("--srcdir PATH", "sources are installed in PATH") do |@srcdir| end
52
+ opts.on("--prefix PATH", "built packages are installed in PATH") do |@prefix|
53
+ logdir = "#{prefix}/autobuild"
54
+ end
55
+ opts.on("--logdir PATH", "logs are saved in PATH (default: <prefix>/autobuild)") do |@logdir| end
56
+
57
+ opts.separator ""
58
+ opts.separator "General behaviour"
59
+ opts.on('--nice NICE', Integer, 'nice the subprocesses to the given value') do |@nice| end
60
+ opts.on("-h", "--help", "Show this message") do
61
+ puts opts
62
+ exit
63
+ end
64
+ opts.on("--[no-]daemon", "go into daemon mode") do |@daemonize| end
65
+ opts.on("--[no-]update", "update already checked-out sources") do |@do_update| end
66
+ opts.on("--[no-]build", "only prepare packages, do not build them") do |@do_build| end
67
+
68
+ opts.separator ""
69
+ opts.separator "Program output"
70
+ opts.on("--[no-]verbose", "display output of commands on stdout") do |@verbose| end
71
+ opts.on("--[no-]debug", "verbose information (for debugging purposes)") do |@debug| end
72
+
73
+ opts.separator ""
74
+ opts.separator "Mail reports"
75
+ opts.on("--mail-from EMAIL", String, "From: field of the sent mails") do |from_email|
76
+ mail[:from] = from_email
77
+ end
78
+ opts.on("--mail-to EMAILS", String, "comma-separated list of emails to which the reports should be sent") do |emails|
79
+ mail[:to] ||= []
80
+ mail[:to] += emails.split(',')
81
+ end
82
+ opts.on("--mail-subject SUBJECT", String, "Subject: field of the sent mails") do |subject_email|
83
+ mail[:subject] = subject_email
84
+ end
85
+ opts.on("--mail-smtp HOSTNAME", String, " address of the mail server written as hostname[:port]") do |smtp|
86
+ raise "invalid SMTP specification #{smtp}" unless smtp =~ /^([^:]+)(?::(\d+))?$/
87
+ mail[:smtp] = $1
88
+ mail[:port] = Integer($2) unless $2.empty?
89
+ end
90
+ opts.on("--mail-only-errors", "send mail only on errors") do
91
+ mail[:only_errors] = true
92
+ end
138
93
 
139
- # Initializes the package
140
- Package.build(package_type, name, config)
141
- end
94
+ end
142
95
 
143
- def self.get_package_config(config)
144
- packages = config[:packages]
145
- return if !packages
146
-
147
- # Get the common config block
148
- common = packages[:common]
149
- packages.each do |p, config|
150
- next if p == :common
151
-
152
- # Merge the common config
153
- config = config.merge(common) { |k, v1, v2|
154
- if v2.respond_to?(:to_ary)
155
- v1.to_a | v2.to_ary
156
- elsif v2.respond_to?(:to_str)
157
- v1.to_s + " " + v2.to_str
158
- end
159
- }
160
- # Remove p -> p dependency which may come from common
161
- if config.has_key?(:depends)
162
- config[:depends] = config[:depends].to_a.reject { |el| el == p.to_s }
96
+ parser.parse!(args)
97
+ if !args[0]
98
+ puts parser
99
+ exit
163
100
  end
164
101
 
165
- add_package(p, config)
166
- end
102
+ Rake.application.options.trace = debug
167
103
 
168
- # Post-import, pre-build pass
169
- Package.each(false) { |name, pkg| pkg.prepare }
104
+ args[0..-1]
105
+ end
170
106
  end
171
-
172
- private_class_method :get_autobuild_config, :get_package_config, :add_package
173
107
  end
174
108