meta_project 0.4.12 → 0.4.13
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.
- data/CHANGES +283 -277
- data/MIT-LICENSE +21 -21
- data/README +130 -126
- data/Rakefile +152 -152
- data/doc/base_attrs.rdoc +2 -2
- data/lib/meta_project.rb +11 -11
- data/lib/meta_project/core_ext/open_uri.rb +22 -22
- data/lib/meta_project/core_ext/pathname.rb +36 -36
- data/lib/meta_project/core_ext/string.rb +4 -4
- data/lib/meta_project/http/multipart.rb +31 -31
- data/lib/meta_project/patois/parser.rb +98 -98
- data/lib/meta_project/project.rb +4 -4
- data/lib/meta_project/project/base.rb +8 -8
- data/lib/meta_project/project/codehaus.rb +1 -1
- data/lib/meta_project/project/codehaus/codehaus_project_svn.rb +30 -30
- data/lib/meta_project/project/trac.rb +1 -1
- data/lib/meta_project/project/trac/trac_project.rb +53 -53
- data/lib/meta_project/project/xforge.rb +5 -5
- data/lib/meta_project/project/xforge/ruby_forge.rb +46 -46
- data/lib/meta_project/project/xforge/session.rb +177 -177
- data/lib/meta_project/project/xforge/source_forge.rb +49 -49
- data/lib/meta_project/project/xforge/xfile.rb +44 -44
- data/lib/meta_project/project/xforge/xforge_base.rb +81 -81
- data/lib/meta_project/project_analyzer.rb +35 -35
- data/lib/meta_project/release/freshmeat.rb +267 -267
- data/lib/meta_project/release/raa.rb +572 -572
- data/lib/meta_project/scm_web.rb +1 -1
- data/lib/meta_project/scm_web/browser.rb +111 -111
- data/lib/meta_project/scm_web/pathname.rb +88 -88
- data/lib/meta_project/tracker.rb +6 -6
- data/lib/meta_project/tracker/base.rb +23 -23
- data/lib/meta_project/tracker/digit_issues.rb +33 -33
- data/lib/meta_project/tracker/issue.rb +56 -56
- data/lib/meta_project/tracker/jira.rb +2 -2
- data/lib/meta_project/tracker/jira/jira_issues.rb +34 -34
- data/lib/meta_project/tracker/jira/jira_tracker.rb +148 -123
- data/lib/meta_project/tracker/trac.rb +1 -1
- data/lib/meta_project/tracker/trac/trac_tracker.rb +32 -32
- data/lib/meta_project/tracker/xforge.rb +3 -3
- data/lib/meta_project/tracker/xforge/ruby_forge_tracker.rb +17 -17
- data/lib/meta_project/tracker/xforge/source_forge_tracker.rb +17 -17
- data/lib/meta_project/tracker/xforge/xforge_tracker.rb +190 -190
- data/lib/meta_project/version_parser.rb +52 -52
- data/lib/rake/contrib/xforge.rb +3 -3
- data/lib/rake/contrib/xforge/base.rb +64 -64
- data/lib/rake/contrib/xforge/news_publisher.rb +97 -97
- data/lib/rake/contrib/xforge/release.rb +134 -134
- metadata +4 -3
data/CHANGES
CHANGED
@@ -1,277 +1,283 @@
|
|
1
|
-
= MetaProject Changelog
|
2
|
-
|
3
|
-
== Version 0.4.
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
* Removed
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
*
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
*
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
*
|
32
|
-
|
33
|
-
== Version 0.4.
|
34
|
-
|
35
|
-
This release
|
36
|
-
|
37
|
-
*
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
*
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
*
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
*
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
*
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
*
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
*
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
Supported
|
129
|
-
- RubyForge.org
|
130
|
-
- SourceForge.org
|
131
|
-
-
|
132
|
-
- Trac projects
|
133
|
-
|
134
|
-
Supported
|
135
|
-
-
|
136
|
-
|
137
|
-
|
138
|
-
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
*
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
*
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
*
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
*
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
* Added
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
*
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
*
|
204
|
-
|
205
|
-
== Version 0.1.
|
206
|
-
|
207
|
-
This release adds more functionality for
|
208
|
-
|
209
|
-
* Added
|
210
|
-
|
211
|
-
== Version 0.1.
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
*
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
*
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
1
|
+
= MetaProject Changelog
|
2
|
+
|
3
|
+
== Version 0.4.13
|
4
|
+
|
5
|
+
Bugfix release
|
6
|
+
|
7
|
+
* Removed some irritating debugging
|
8
|
+
|
9
|
+
== Version 0.4.12
|
10
|
+
|
11
|
+
This release improves the issue tracking API
|
12
|
+
|
13
|
+
* Removed reference to nonexistant e in JiraTracker.
|
14
|
+
* Add support for creation of RubyForge issues.
|
15
|
+
* Add support for closing of RubyForge issues.
|
16
|
+
|
17
|
+
== Version 0.4.11
|
18
|
+
|
19
|
+
This release fixes several bugs in the XForge release code and improves documentation.
|
20
|
+
|
21
|
+
* Fixed #2398: Rake::XForge::Release doesn't allow manual setting of release_notes or release_changes
|
22
|
+
* Fixed #2399: Net::HTTPRequestURITooLong 414 readbody=true
|
23
|
+
* Fixed #2400: Project release always selects the *first* package
|
24
|
+
|
25
|
+
== Version 0.4.10
|
26
|
+
|
27
|
+
This version fixes some bugs in the JIRA and SourceForge APIs.
|
28
|
+
|
29
|
+
* Made error reporting better for JIRA exceptions.
|
30
|
+
* Avoid exception rippling through when login credentials are not specified.
|
31
|
+
* Made SourceForge tracker API more robust.
|
32
|
+
|
33
|
+
== Version 0.4.9
|
34
|
+
|
35
|
+
This release makes the validation of Browser objects more robust.
|
36
|
+
|
37
|
+
* Moved Browser spec attributes to validating setters.
|
38
|
+
|
39
|
+
== Version 0.4.8
|
40
|
+
|
41
|
+
This release fixes some bugs with XForge (RubyForge) Rake tasks.
|
42
|
+
|
43
|
+
* Documented how to avoid parsing of CHANGES.
|
44
|
+
* Fixed a bug in interactive modus for user name and password prompts.
|
45
|
+
* Fixed a bug in retrieval of package_id when releasing to RubyForge.
|
46
|
+
* Fixed bug in open-uri extension that clobbered HTTP request headers failing login.
|
47
|
+
* Fixed a bug in the determination of Trac version.
|
48
|
+
|
49
|
+
== Version 0.4.7
|
50
|
+
|
51
|
+
This release makes HTTP access more robust and improves the Pathname API.
|
52
|
+
|
53
|
+
* More robust HTTP GET with retries and better error messages.
|
54
|
+
* Added Pathname.basename and Pathname.parent
|
55
|
+
* Small improvements to ScmWeb API.
|
56
|
+
* More robust detection of XForge package_id.
|
57
|
+
|
58
|
+
== Version 0.4.6
|
59
|
+
|
60
|
+
This release updates documentaion, adds iteration support to Pathname and fixes some minor bugs.
|
61
|
+
|
62
|
+
* Updated README.
|
63
|
+
* Added PathnameIterator mixin that can be used to iterate over Pathname and MetaProject::ScmWeb::Pathname to
|
64
|
+
do e.g. egrep or other operations.
|
65
|
+
* Fixed a bug in Project::RubyForge that prevented group_id from being recognised for some projects.
|
66
|
+
* Made the scm_web test for rubyforge be less fragile by storing the compared local file locally.
|
67
|
+
|
68
|
+
== Version 0.4.5
|
69
|
+
|
70
|
+
This version improves the MetaProject::ScmWeb::Pathname support, allowing online contents in scm web interfaces to be navigated and read in a similar fashion to the standard library's Pathname class.
|
71
|
+
|
72
|
+
* Better support for Pathname. children, directory? and open now supported.
|
73
|
+
* Fixed some bugs for JIRA support.
|
74
|
+
* Improved Pathname settings for Codehaus, SourceForge, Trac and RubyForge.
|
75
|
+
* Pathname now takes a revision argument in the constructor.
|
76
|
+
* Moved ScmWeb to ScmWeb::Browser.
|
77
|
+
* Added a subset of the Ruby stlib Pathname API to ScmWeb.
|
78
|
+
* Added a String extension for dealing with trailing slashes in URLs.
|
79
|
+
|
80
|
+
== Version 0.4.4
|
81
|
+
|
82
|
+
This release introduces a new Domain Specific Language (DSL) for SCM commit messages similar to Trac's post-commit hook for updating tickets.
|
83
|
+
Patois is supported in a tracker-agnostic way (although it's only half implemented for JIRA only ATM).
|
84
|
+
There is also initial support for FreshMeat and RAA thanks to Thomas Leitner.
|
85
|
+
|
86
|
+
* Added support for Patois parsing (See RubyDoc).
|
87
|
+
* Gave the Patois DSL its name.
|
88
|
+
* Improved the Tracker::Issue API to be more OO and uniform across trackers.
|
89
|
+
* Adds support for FreshMeat and RAA (Fixes #2323). This is not aligned with the rest of the MetaProject API yet.
|
90
|
+
|
91
|
+
== Version 0.4.3
|
92
|
+
|
93
|
+
This release fixes some bugs and implements some new issue tracker features.
|
94
|
+
|
95
|
+
* Aligned properties between TracTracker and JiraTracker with ProjectAnalyzer.
|
96
|
+
* Stripping leading and trailing whitespace from issue summaries (SF seems to have changed).
|
97
|
+
* Added name to XForge projects.
|
98
|
+
* Added create_issue to JiraTracker.
|
99
|
+
|
100
|
+
== Version 0.4.2
|
101
|
+
|
102
|
+
This is a minor release that accommodates fos some changes needed by DamageControl.
|
103
|
+
|
104
|
+
* Made tracker constructors empty so they can be used from DamageControl.
|
105
|
+
* Made ScmWeb constructor empty so it can be used from DamageControl.
|
106
|
+
* Made JiraTracker look for user/password in environment variables and log error if not defined.
|
107
|
+
|
108
|
+
== Version 0.4.1
|
109
|
+
|
110
|
+
This version renames xforge to meta_project. This is because the scope of this project
|
111
|
+
has grown beyond SourceForge clones.
|
112
|
+
|
113
|
+
* renamed gem
|
114
|
+
|
115
|
+
== Version 0.4.0
|
116
|
+
|
117
|
+
This release of XForge completely reorganises classes and modules into a more
|
118
|
+
coherent API for accessing projects' issue trackers, scms and scm browsers. The toplevel
|
119
|
+
namespace is now MetaProject.
|
120
|
+
|
121
|
+
The new ScmWeb class now supports *any* scm browser through its flexible
|
122
|
+
configuration options.
|
123
|
+
|
124
|
+
In order to easily gather information from various hosting services, XForge comes with a ProjectAnalyzer
|
125
|
+
class, which given an scm browser URL will discover the associated issue tracker, preconfigured scm_web,
|
126
|
+
project home page and of course, an RSCM object.
|
127
|
+
|
128
|
+
Supported project sources:
|
129
|
+
- RubyForge.org
|
130
|
+
- SourceForge.org
|
131
|
+
- Codehaus.org
|
132
|
+
- Trac projects
|
133
|
+
|
134
|
+
Supported issue trackers:
|
135
|
+
- RubyForge.org
|
136
|
+
- SourceForge.org
|
137
|
+
- JIRA
|
138
|
+
- Trac projects
|
139
|
+
|
140
|
+
Supported SCM browsers:
|
141
|
+
- *Any* scm browser through its flexible configuration options.
|
142
|
+
|
143
|
+
Supported SCMs:
|
144
|
+
- Any SCM implemented in the <a href="http://rscm.rubyforge.org/">RSCM</a> project.
|
145
|
+
|
146
|
+
The QRS Rake tasks for releasing files and news on RubyForge has changed slightly. Please refer to XForge's
|
147
|
+
own Rakefile for details.
|
148
|
+
|
149
|
+
== Version 0.3.5
|
150
|
+
|
151
|
+
This is a bugfix release that fixes some bugs in ViewCvs.
|
152
|
+
|
153
|
+
* Changed the way the server path of RSCM::Cvs objects are initialised from ViewCvs to fix a subtle bug.
|
154
|
+
* Factored out generic file_uri to ScmWeb::FileUri.
|
155
|
+
* Fixed bug in RubyForge's recognition of modules in ViewCvs.
|
156
|
+
|
157
|
+
== Version 0.3.4
|
158
|
+
|
159
|
+
This release simplifies ViewCvs configuration
|
160
|
+
|
161
|
+
* Removed project_unix_name from ViewCvs' uri_specs
|
162
|
+
* Tuned how XForge::Project is YAMLed, to avoid backreferences
|
163
|
+
* Renamed some Tracker classes to be prefixed with the module name. This was to ease DamageControl integration.
|
164
|
+
|
165
|
+
== Version 0.3.3
|
166
|
+
|
167
|
+
This is a minor refactoring release
|
168
|
+
|
169
|
+
* Decoupled Trac::Project from RSCM::Subversion
|
170
|
+
* Made Tracker::ViewCvs use Strings as values instead of symbols (to make it easier to post from a web form)
|
171
|
+
|
172
|
+
== Version 0.3.2
|
173
|
+
|
174
|
+
This release adds more support for other issue trackers ans scm browsers.
|
175
|
+
|
176
|
+
* Fixed #2242
|
177
|
+
* Added a lot of tracker and scm_web classes (factored out from DamageControl)
|
178
|
+
* Decoupled view_cvs from rubyforge/sourceforge
|
179
|
+
|
180
|
+
== Version 0.3.1
|
181
|
+
|
182
|
+
This XForge release adds initial support for Trac and JIRA.
|
183
|
+
|
184
|
+
* Added support for formatting of text containing issue identifiers
|
185
|
+
* Refactored trackers into other modules
|
186
|
+
* Added support for JIRA issue tracker
|
187
|
+
* Added support for Trac's issue tracker
|
188
|
+
* Added support for diff URLs on SourceForge and RubyForge
|
189
|
+
|
190
|
+
== Version 0.2.1
|
191
|
+
|
192
|
+
This XForge release adds support for tracker meta info
|
193
|
+
|
194
|
+
* Added Project.tracker method
|
195
|
+
* Require Rake tasks from toplevel xforge.rb
|
196
|
+
|
197
|
+
== Version 0.2.0
|
198
|
+
|
199
|
+
First stable release of the XForge QRS.
|
200
|
+
|
201
|
+
* Renamed Project.name to Project.unix_name
|
202
|
+
* Wrote better documentation
|
203
|
+
* Included CVS tagging in the Rakefile
|
204
|
+
|
205
|
+
== Version 0.1.9
|
206
|
+
|
207
|
+
This release adds more functionality for news publishing
|
208
|
+
|
209
|
+
* Added Session.publish_news
|
210
|
+
|
211
|
+
== Version 0.1.8
|
212
|
+
|
213
|
+
This release adds more functionality for RubyForge projects' home page
|
214
|
+
|
215
|
+
* Added Project.home_page_uri and Project.project_uri
|
216
|
+
|
217
|
+
== Version 0.1.7
|
218
|
+
|
219
|
+
Updated README
|
220
|
+
|
221
|
+
== Version 0.1.6
|
222
|
+
|
223
|
+
This release of XForge improves scm browser capabilities.
|
224
|
+
|
225
|
+
* Added ViewCvs.uri(path, options) method to get an URI to a file on the web
|
226
|
+
* Added an rspec suite
|
227
|
+
* Added logic for parsing top-level CVS modules
|
228
|
+
* Made Rake Release task use RubyForge by default
|
229
|
+
|
230
|
+
== Version 0.1.5
|
231
|
+
|
232
|
+
This release of XForge adds functionality to access scm browsers (ViewCvs) and RSCM objects.
|
233
|
+
|
234
|
+
* Refactored classes into separate files
|
235
|
+
* Added Project.scm_web to access a ViewCvs object
|
236
|
+
* Added ViewCvs.scms to access an array of RSCM::Cvs
|
237
|
+
|
238
|
+
== Version 0.1.4
|
239
|
+
|
240
|
+
This is the first functional release of XForge, a Ruby library and Rake task to automate release of
|
241
|
+
files on RubyForge and other SourceForge clones.
|
242
|
+
|
243
|
+
It's as simple as this:
|
244
|
+
|
245
|
+
require 'xforge'
|
246
|
+
|
247
|
+
desc "Create a new release on RubyForge"
|
248
|
+
task :publish_files => [:gem] do
|
249
|
+
release_files = FileList[
|
250
|
+
"pkg/#{PKG_FILE_NAME}.gem"
|
251
|
+
]
|
252
|
+
|
253
|
+
Rake::XForge::Release.new(PKG_NAME) do |release|
|
254
|
+
# Never hardcode user name and password in the Rakefile!
|
255
|
+
release.user_name = ENV['RUBYFORGE_USER']
|
256
|
+
release.password = ENV['RUBYFORGE_PASSWORD']
|
257
|
+
release.files = release_files.to_a
|
258
|
+
release.release_name = "XForge #{PKG_VERSION}"
|
259
|
+
# The rest of the options are defaults (among others, release_notes and release_changes, parsed from CHANGES)
|
260
|
+
end
|
261
|
+
end
|
262
|
+
|
263
|
+
* Added logic for parsing of CHANGES files and include it in the release notes when publishing.
|
264
|
+
* Wrote some proper release notes for once.
|
265
|
+
|
266
|
+
== Version 0.1.3
|
267
|
+
|
268
|
+
* Added logic for parsing of CHANGES files and include it in the release notes when publishing.
|
269
|
+
|
270
|
+
== Version 0.1.2
|
271
|
+
|
272
|
+
This release is a minor release with fixes in the Rake script.
|
273
|
+
|
274
|
+
* Fixed RDoc for gem
|
275
|
+
* Cleaned up documentation
|
276
|
+
|
277
|
+
== Version 0.1.1
|
278
|
+
|
279
|
+
* Rakefile: Don't include old gems in release.
|
280
|
+
|
281
|
+
== Version 0.1
|
282
|
+
|
283
|
+
* Added support for file releases
|