reap 9.3.5 → 9.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +10 -0
- data/MANIFEST +37 -21
- data/NOTES +13 -11
- data/bin/reap-announce +40 -2
- data/bin/reap-check-load +20 -2
- data/bin/reap-check-syntax +20 -2
- data/bin/reap-clean +24 -2
- data/bin/reap-clobber +17 -2
- data/bin/reap-doc +12 -2
- data/bin/reap-doc-rdoc +17 -2
- data/bin/reap-doc-ri +16 -2
- data/bin/reap-doc-spec +18 -0
- data/bin/reap-init +9 -0
- data/bin/reap-inspect +20 -2
- data/bin/reap-install +13 -2
- data/bin/reap-install-gem +14 -2
- data/bin/reap-log +15 -2
- data/bin/reap-log-changes +15 -2
- data/bin/reap-log-notes +20 -2
- data/bin/reap-make +16 -2
- data/bin/reap-make-clean +10 -2
- data/bin/reap-make-distclean +18 -2
- data/bin/reap-make-extconf +14 -2
- data/bin/reap-make-static +14 -2
- data/bin/reap-package +25 -2
- data/bin/reap-package-gem +14 -2
- data/bin/reap-package-tgz +14 -2
- data/bin/reap-package-zip +14 -2
- data/bin/reap-prepare +21 -2
- data/bin/reap-publish +25 -2
- data/bin/reap-release +22 -2
- data/bin/reap-rollout +32 -2
- data/bin/reap-scaffold +16 -2
- data/bin/reap-scm-branch +13 -2
- data/bin/reap-scm-tag +13 -2
- data/bin/reap-spec +14 -2
- data/bin/reap-stats +21 -2
- data/bin/reap-test +14 -2
- data/bin/reap-test-cross +23 -2
- data/bin/reap-test-load +17 -2
- data/bin/reap-test-solo +19 -2
- data/bin/reap-uninstall +14 -2
- data/bin/reap-uninstall-gem +17 -2
- data/bin/reap-version +10 -2
- data/lib/reap/announcement.rb +136 -0
- data/lib/reap/application.rb +3 -1
- data/lib/reap/default.yaml +12 -12
- data/lib/reap/defaults.rb +49 -0
- data/lib/reap/emailer.rb +189 -0
- data/lib/reap/extensions.rb +1 -2
- data/lib/reap/hosts.rb +4 -0
- data/lib/reap/hosts/host.rb +69 -0
- data/lib/reap/hosts/mailinglist.rb +83 -0
- data/lib/reap/{systems → hosts}/rubyforge.rb +72 -60
- data/lib/reap/hosts/rubytalk.rb +39 -0
- data/lib/reap/iobject.rb +5 -3
- data/lib/reap/metadata.rb +31 -4
- data/lib/reap/project.rb +101 -41
- data/lib/reap/project/announce.rb +50 -180
- data/lib/reap/project/check.rb +1 -1
- data/lib/reap/project/gem.rb +32 -68
- data/lib/reap/project/log.rb +12 -7
- data/lib/reap/project/make.rb +0 -1
- data/lib/reap/project/package.rb +228 -75
- data/lib/reap/project/rdoc.rb +9 -8
- data/lib/reap/project/release.rb +52 -6
- data/lib/reap/project/scm.rb +40 -25
- data/lib/reap/project/spec.rb +3 -3
- data/lib/reap/project/test.rb +1 -2
- data/lib/reap/project/version.rb +18 -4
- data/lib/reap/runmodes.rb +24 -0
- data/lib/reap/settings.rb +3 -14
- data/lib/reap/systems.rb +4 -0
- data/lib/reap/systems/git.rb +0 -0
- data/lib/reap/systems/hg.rb +0 -0
- data/lib/reap/systems/{subversion.rb → svn.rb} +47 -16
- data/lib/reap/systems/system.rb +53 -0
- data/lib/reap/tool.rb +38 -0
- data/lib/reap/utilities.rb +43 -86
- data/log/{Changelog.txt → changelog.rdoc} +56 -0
- data/log/fixme.rdoc +25 -0
- data/log/todo.rdoc +85 -0
- data/meta/project.yaml +13 -2
- data/meta/version +1 -0
- data/setup.rb +74 -64
- data/task/allshare.rb +109 -0
- data/task/clean +13 -0
- data/task/compile +28 -0
- data/task/configure +372 -0
- data/task/install +1481 -0
- data/test/case/test_init.rb +32 -0
- data/test/case/test_scaffold.rb +32 -0
- data/test/data/scaffold/meta/project.yaml +28 -0
- data/test/lib/case_testable.rb +23 -0
- metadata +64 -31
- data/bin/reap-spec-doc +0 -8
- data/demo/README +0 -15
- data/demo/lib/foo/foo.rb +0 -7
- data/demo/meta/VERSION +0 -1
- data/demo/meta/project.yaml +0 -21
- data/lib/reap/project/rubyforge.rb +0 -71
- data/lib/reap/project/svn.rb +0 -76
- data/log/Fixme.txt +0 -22
- data/log/Todo.txt +0 -84
- data/meta/VERSION +0 -1
data/lib/reap/project/svn.rb
DELETED
@@ -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
|
-
|
data/log/Fixme.txt
DELETED
@@ -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)
|
data/log/Todo.txt
DELETED
@@ -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)
|
data/meta/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
9.3.5 beta (2008-02-21)
|