reap 9.3.5 → 9.4.0

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.
Files changed (105) hide show
  1. data/CHANGES +10 -0
  2. data/MANIFEST +37 -21
  3. data/NOTES +13 -11
  4. data/bin/reap-announce +40 -2
  5. data/bin/reap-check-load +20 -2
  6. data/bin/reap-check-syntax +20 -2
  7. data/bin/reap-clean +24 -2
  8. data/bin/reap-clobber +17 -2
  9. data/bin/reap-doc +12 -2
  10. data/bin/reap-doc-rdoc +17 -2
  11. data/bin/reap-doc-ri +16 -2
  12. data/bin/reap-doc-spec +18 -0
  13. data/bin/reap-init +9 -0
  14. data/bin/reap-inspect +20 -2
  15. data/bin/reap-install +13 -2
  16. data/bin/reap-install-gem +14 -2
  17. data/bin/reap-log +15 -2
  18. data/bin/reap-log-changes +15 -2
  19. data/bin/reap-log-notes +20 -2
  20. data/bin/reap-make +16 -2
  21. data/bin/reap-make-clean +10 -2
  22. data/bin/reap-make-distclean +18 -2
  23. data/bin/reap-make-extconf +14 -2
  24. data/bin/reap-make-static +14 -2
  25. data/bin/reap-package +25 -2
  26. data/bin/reap-package-gem +14 -2
  27. data/bin/reap-package-tgz +14 -2
  28. data/bin/reap-package-zip +14 -2
  29. data/bin/reap-prepare +21 -2
  30. data/bin/reap-publish +25 -2
  31. data/bin/reap-release +22 -2
  32. data/bin/reap-rollout +32 -2
  33. data/bin/reap-scaffold +16 -2
  34. data/bin/reap-scm-branch +13 -2
  35. data/bin/reap-scm-tag +13 -2
  36. data/bin/reap-spec +14 -2
  37. data/bin/reap-stats +21 -2
  38. data/bin/reap-test +14 -2
  39. data/bin/reap-test-cross +23 -2
  40. data/bin/reap-test-load +17 -2
  41. data/bin/reap-test-solo +19 -2
  42. data/bin/reap-uninstall +14 -2
  43. data/bin/reap-uninstall-gem +17 -2
  44. data/bin/reap-version +10 -2
  45. data/lib/reap/announcement.rb +136 -0
  46. data/lib/reap/application.rb +3 -1
  47. data/lib/reap/default.yaml +12 -12
  48. data/lib/reap/defaults.rb +49 -0
  49. data/lib/reap/emailer.rb +189 -0
  50. data/lib/reap/extensions.rb +1 -2
  51. data/lib/reap/hosts.rb +4 -0
  52. data/lib/reap/hosts/host.rb +69 -0
  53. data/lib/reap/hosts/mailinglist.rb +83 -0
  54. data/lib/reap/{systems → hosts}/rubyforge.rb +72 -60
  55. data/lib/reap/hosts/rubytalk.rb +39 -0
  56. data/lib/reap/iobject.rb +5 -3
  57. data/lib/reap/metadata.rb +31 -4
  58. data/lib/reap/project.rb +101 -41
  59. data/lib/reap/project/announce.rb +50 -180
  60. data/lib/reap/project/check.rb +1 -1
  61. data/lib/reap/project/gem.rb +32 -68
  62. data/lib/reap/project/log.rb +12 -7
  63. data/lib/reap/project/make.rb +0 -1
  64. data/lib/reap/project/package.rb +228 -75
  65. data/lib/reap/project/rdoc.rb +9 -8
  66. data/lib/reap/project/release.rb +52 -6
  67. data/lib/reap/project/scm.rb +40 -25
  68. data/lib/reap/project/spec.rb +3 -3
  69. data/lib/reap/project/test.rb +1 -2
  70. data/lib/reap/project/version.rb +18 -4
  71. data/lib/reap/runmodes.rb +24 -0
  72. data/lib/reap/settings.rb +3 -14
  73. data/lib/reap/systems.rb +4 -0
  74. data/lib/reap/systems/git.rb +0 -0
  75. data/lib/reap/systems/hg.rb +0 -0
  76. data/lib/reap/systems/{subversion.rb → svn.rb} +47 -16
  77. data/lib/reap/systems/system.rb +53 -0
  78. data/lib/reap/tool.rb +38 -0
  79. data/lib/reap/utilities.rb +43 -86
  80. data/log/{Changelog.txt → changelog.rdoc} +56 -0
  81. data/log/fixme.rdoc +25 -0
  82. data/log/todo.rdoc +85 -0
  83. data/meta/project.yaml +13 -2
  84. data/meta/version +1 -0
  85. data/setup.rb +74 -64
  86. data/task/allshare.rb +109 -0
  87. data/task/clean +13 -0
  88. data/task/compile +28 -0
  89. data/task/configure +372 -0
  90. data/task/install +1481 -0
  91. data/test/case/test_init.rb +32 -0
  92. data/test/case/test_scaffold.rb +32 -0
  93. data/test/data/scaffold/meta/project.yaml +28 -0
  94. data/test/lib/case_testable.rb +23 -0
  95. metadata +64 -31
  96. data/bin/reap-spec-doc +0 -8
  97. data/demo/README +0 -15
  98. data/demo/lib/foo/foo.rb +0 -7
  99. data/demo/meta/VERSION +0 -1
  100. data/demo/meta/project.yaml +0 -21
  101. data/lib/reap/project/rubyforge.rb +0 -71
  102. data/lib/reap/project/svn.rb +0 -76
  103. data/log/Fixme.txt +0 -22
  104. data/log/Todo.txt +0 -84
  105. data/meta/VERSION +0 -1
@@ -1,76 +0,0 @@
1
- require 'reap/systems/subversion'
2
-
3
- module Reap
4
-
5
- class Project
6
-
7
- # Branch current version.
8
- #
9
- # message Optional commit message. This is intended for commandline
10
- # usage. (Use -m for shorthand).
11
- #
12
- # TODO: How should metadata.repository come into play here?
13
-
14
- def svn_branch(options=nil)
15
- options = configure_options(options, 'scm-branch', 'scm')
16
- svn_system.branch(options)
17
- end
18
-
19
- # Tag current version.
20
- #
21
- # message Optional commit message. This is intended for commandline
22
- # usage. (Use -m for shorthand).
23
- #
24
- # TODO: How should metadata.repository come into play here?
25
-
26
- def svn_tag(options=nil)
27
- options = configure_options(options, 'scm-tag', 'scm')
28
- svn_system.tag(options)
29
- end
30
-
31
- # Create changelog.
32
- #
33
- # change File path to store rdoc formated changelog. Default is 'log/changelog.txt'.
34
- # xmlchange File path to store XML formated changelog. Default is 'doc/log/changelog.xml'.
35
- #
36
- # Set either to false to supress creation.
37
-
38
- def svn_log(options=nil)
39
- txtlog = options['txtlog']
40
- xmllog = options['xmllog']
41
-
42
- svn_system.log(txtlog)
43
- svn_system.log_xml(xmllog) if xmllog
44
- end
45
-
46
- private
47
-
48
- # Branch current version.
49
- #
50
- # repository Developers URL to repository. Defaults to Rubyforge address.
51
- # username Username. Defaults to ENV['RUBYFORGE_USERNAME'].
52
- # protocol The URL protocol to use. Defaults to "svn+ssh".
53
- # prefix Prefix to use on tag folder. Default is no prefix.
54
- # tagpath Directory to store tags. Defaults to tags/.
55
- # branchpath Directory to store branches. Defaults to branches/.
56
- #
57
- def svn_system
58
- @svn_system ||= (
59
- options = configuration['svn'] || {}
60
-
61
- rubyforge = configuration['rubyforge'] || {}
62
-
63
- options['repository'] ||= metadata.repository
64
- options['dryrun'] ||= dryrun?
65
- options['project'] ||= rubyforge['project'] || metadata.project
66
-
67
- options['version'] = metadata.version
68
-
69
- Subversion.new(options)
70
- )
71
- end
72
-
73
- end
74
-
75
- end
76
-
@@ -1,22 +0,0 @@
1
-
2
- = FIXME
3
-
4
- file://lib/reap/project/check.rb
5
- * FIXME: This isn't routing output to dev/null as expected. (61)
6
-
7
- file://lib/reap/project/gem.rb
8
- * FIXME (154)
9
-
10
- file://lib/reap/project/package.rb
11
- * FIXME: will type, name and version always be right? (197)
12
- * FIXME: will type, name and version always be right? (182)
13
- * FIXME: package_docs is not yet ready for use. (143)
14
-
15
- file://lib/reap/project/scaffold.rb
16
- * FIXME: RubyGems has a new way to do this. Use that instead and fix Rolls to use it too. (136)
17
- * FIXME: This doesn't yet work b/c reap doesn't work unless
18
- a project file is already in place. (34)
19
-
20
- file://lib/reap/settings.rb
21
- * FIXME: when using the settings, I think nil should be considered a none entry and
22
- so false would be required to actually mean "off". This means assigning each key value par one a time? (33)
@@ -1,84 +0,0 @@
1
-
2
- = TODO
3
-
4
- file://lib/reap/iobject.rb
5
- * TODO Could add yield(self) via:
6
- yld.to_h.each do |k,v|
7
- send( "#{k}=", v ) rescue nil
8
- end (113)
9
- * TODO Use in method missing instead? (125)
10
- * TODO Change name of this method to something better? (141)
11
-
12
- file://lib/reap/metadata.rb
13
- * TODO: Improve buildno support. (473)
14
- * TODO: Fit release name into name or package_name (?)
15
- def name
16
- @name ||= release.name
17
- end (134)
18
- * TODO Move to Variants? (168)
19
- * TODO: Think of a more descirptive name than 'default'. (296)
20
- * TODO: if current? (436)
21
-
22
- file://lib/reap/project/gem.rb
23
- * TODO: Looks like there is no choice but to auto-rdoc gem install. (136)
24
- * TODO: Sepcify version? (88)
25
- * TODO: Endure that we even need a gem package using #out_of_date? (79)
26
- * TODO: Should this use staging too, like zip/tgz? (19)
27
-
28
- file://lib/reap/project/log.rb
29
- * TODO: Naming policy needs to be apply to changelog too. (158)
30
- * TODO: Remove format field, and ultimately use XML as primary format? (34)
31
- * TODO: Add ability to read header notes. (22)
32
-
33
- file://lib/reap/project/make.rb
34
- * TODO: win32 cross-compile ? (10)
35
-
36
- file://lib/reap/project/package.rb
37
- * TODO: When we add support for binary packages distclean
38
- should not be done for them. (24)
39
-
40
- file://lib/reap/project/publish.rb
41
- * TODO: Add FTP/SFTP support. (12)
42
-
43
- file://lib/reap/project/scaffold.rb
44
- * TODO: Improve scaffolding. Make more intelligent. (72)
45
-
46
- file://lib/reap/project/site.rb
47
- * TODO: Create uninstall task. (18)
48
- * TODO: Remove special reap options from command line. (7)
49
-
50
- file://lib/reap/project/stats.rb
51
- * TODO: Add C support for ext/. (20)
52
-
53
- file://lib/reap/project/svn.rb
54
- * TODO: How should metadata.repository come into play here? (24)
55
- * TODO: How should metadata.repository come into play here? (12)
56
-
57
- file://lib/reap/project/test.rb
58
- * TODO: Generate a test log entry? (38)
59
-
60
- file://lib/reap/project/version.rb
61
- * TODO: Should we also update a lib/version.rb file? (33)
62
- * TODO: Stamp .roll if roll file exists.
63
- should we read current .roll file and use as defaults? (89)
64
- * TODO: Considerding createing a standard status marker (a=alpha, b=beta, r=release candidate)
65
- So a version would read, eg. 1.2.4a, or with status number, eg. 1.2.4r1). (34)
66
-
67
- file://lib/reap/settings.rb
68
- * TODO: Settings needs improvement -- it's rather sloppy at this point. (7)
69
-
70
- file://lib/reap/systems/rubyforge.rb
71
- * TODO Remove package argument, it is no longer needed. (591)
72
- * TODO Deal with https, and possible other protocols too. (33)
73
- * TODO IS THIS WORKING? (549)
74
-
75
- file://lib/reap/systems/subversion.rb
76
- * TODO: Perhaps format prefix, like:
77
- prefix = prefix + '_' if prefix && prefix !~ /[_-]$/ (51)
78
- * TODO: Allow for a way to dump the text-based Changelog to standard out. "$stdout" as the filename? (147)
79
- * TODO: How to apply naming policy from here? (148)
80
-
81
- file://lib/reap/utilities.rb
82
- * TODO Dryrun test here or before folder creation? (259)
83
- * TODO: Make more robust. (202)
84
- * TODO: Make more robust. Probably needs to be fixed for Windows. (189)
@@ -1 +0,0 @@
1
- 9.3.5 beta (2008-02-21)