rubyforge 0.0.0 → 1.0.4

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/History.txt ADDED
@@ -0,0 +1,100 @@
1
+ === 1.0.4 / 2009-07-21
2
+
3
+ * Uses the passed in proxy, if provided. (Thanks sdabet, RF #24071).
4
+ * Update group_id pattern for scraping project configs you are only a member of.
5
+ * Update regexp used to validate login page to be less restrictive.
6
+ * Fixed --help to not require an argument.
7
+ * add --force flag for login command to ignore previous cookie. (or use logout)
8
+
9
+ === 1.0.3 / 2009-02-26
10
+
11
+ * Fixed nil error in our Net::HTTP patches.
12
+ * Removed password from warning if the login possibly failed.
13
+
14
+ === 1.0.2 / 2009-01-05
15
+
16
+ * All webby commands now login automatically.
17
+ * Login now no-ops if it already has a session cookie.
18
+ * Added logout command.
19
+ * Much more of the config is self-repairing, but still not bulletproof yet.
20
+
21
+ === 1.0.1 / 2008-10-22
22
+
23
+ * Fixed multipart form upload so it isn't url escaping the data. DOH.
24
+ * Affects release_notes and release_changes, but never reported for 5 months.
25
+
26
+ === 1.0.0 / 2008-05-20
27
+
28
+ * Removed HTTPAccess2, thanks to Aaron Patterson. Even tho he's whiny.
29
+ * Changed initialize/configure to make testing scream. 100x faster.
30
+
31
+ === 0.4.5 / 2008-03-11
32
+
33
+ * Update for Ruby 1.9.0.
34
+ * Updated History, Rakefile, and Readme for new hoe abilities.
35
+ * Added config backup/restore rake tasks (for testing).
36
+
37
+ === 0.4.4 / 2007-08-13
38
+
39
+ * New type_id values will merge with extant data. (self-repairing data is Good)
40
+ * Scrape processor_ids, merging in with extant data.
41
+ * Default to "Other" if a file's type is unrecognized.
42
+
43
+ === 0.4.3 / 2007-07-23
44
+
45
+ * Set mode on .rubyforge directory to 700.
46
+ * Fix fetching of user id when user has no releases.
47
+
48
+ === 0.4.2 / 2007-05-21
49
+
50
+ * Fix for windoze users (spaces in path).
51
+ * Added check for extant release.
52
+ * Added default hash for first-time releases.
53
+
54
+ === 0.4.1 / 2007-03-08
55
+
56
+ * Verify that login succeeded and warn against if not (prolly should raise).
57
+ * Print a friendly error if you have the wrong package id.
58
+ * Handle upload error in add_release a bit better.
59
+
60
+ === 0.4.0 / 2007-01-09
61
+
62
+ * config.yml split and moved to user-config.yml (up to the user to do).
63
+ * auto-config.yml now generated via config command.
64
+ * @config renamed to @userconfig.
65
+ * @config["rubyforge"] moved to @autoconfig.
66
+ * Added save_autoconfig.
67
+ * Pulled scrape_project from scrape_config.
68
+ * scrape_config no longer takes a user param. Use opts to specify.
69
+ * scrape_project, add_project, add/remove_release now save automatically.
70
+
71
+ === 0.3.2 / 2006-11-29
72
+
73
+ * Fixed file uploads for windows.
74
+ * Correctly scrape releases with funky characters.
75
+
76
+ === 0.3.1 / 2006-10-24
77
+
78
+ * Added SSL login.
79
+ * Added yet more debugging output if $DEBUG.
80
+
81
+ === 0.3.0 / 2006-09-30
82
+
83
+ * Added more debugging output if $DEBUG
84
+ * Added news posting.
85
+ * Added multiple file release to add_release (uses add_file for extras).
86
+ * add_release now returns release_id
87
+ * Fixed config scraper to include '-' in names.
88
+
89
+ === 0.2.1 / 2006-09-14
90
+
91
+ * Gemspec was too loose about packaging. Now using manifest.
92
+
93
+ === 0.2.0 / 2006-09-13
94
+
95
+ * Split original script into script and library.
96
+ * Added tests for library.
97
+ * Refactored heavily.
98
+ * Added "config" command to scrape group/project/release ids from rubyforge.
99
+ * Added "names" command to help pick groups and projects.
100
+ * Added "add_file" command to add a file to an existing release.
data/Manifest.txt ADDED
@@ -0,0 +1,11 @@
1
+ History.txt
2
+ Manifest.txt
3
+ README.txt
4
+ Rakefile
5
+ bin/rubyforge
6
+ lib/rubyforge.rb
7
+ lib/rubyforge/client.rb
8
+ lib/rubyforge/cookie_manager.rb
9
+ test/test_rubyforge.rb
10
+ test/test_rubyforge_client.rb
11
+ test/test_rubyforge_cookie_manager.rb
data/README.txt ADDED
@@ -0,0 +1,58 @@
1
+ = Rubyforge
2
+
3
+ * http://codeforpeople.rubyforge.org/rubyforge/
4
+ * http://rubyforge.org/projects/codeforpeople/
5
+
6
+ == Description
7
+
8
+ A script which automates a limited set of rubyforge operations.
9
+
10
+ * Run 'rubyforge help' for complete usage.
11
+ * Setup: For first time users AND upgrades to 0.4.0:
12
+ * rubyforge setup (deletes your username and password, so run sparingly!)
13
+ * edit ~/.rubyforge/user-config.yml
14
+ * rubyforge config
15
+ * For all rubyforge upgrades, run 'rubyforge config' to ensure you have latest.
16
+ * Don't forget to login! logging in will store a cookie in your
17
+ .rubyforge directory which expires after a time. always run the
18
+ login command before any operation that requires authentication,
19
+ such as uploading a package.
20
+
21
+ == Synopsis
22
+
23
+ rubyforge [options]* mode [mode_args]*
24
+
25
+ == REQUIREMENTS
26
+
27
+ * hoe
28
+ * rubygems
29
+
30
+ == INSTALL
31
+
32
+ * sudo gem install rubyforge
33
+
34
+ == LICENSE
35
+
36
+ (The MIT License)
37
+
38
+ Copyright (c) Ryan Davis, Eric Hodel, Ara T Howard.
39
+
40
+ Permission is hereby granted, free of charge, to any person obtaining
41
+ a copy of this software and associated documentation files (the
42
+ "Software"), to deal in the Software without restriction, including
43
+ without limitation the rights to use, copy, modify, merge, publish,
44
+ distribute, sublicense, and/or sell copies of the Software, and to
45
+ permit persons to whom the Software is furnished to do so, subject to
46
+ the following conditions:
47
+
48
+ The above copyright notice and this permission notice shall be
49
+ included in all copies or substantial portions of the Software.
50
+
51
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
52
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
53
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
54
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
55
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
56
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
57
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
58
+
data/Rakefile ADDED
@@ -0,0 +1,34 @@
1
+ # -*- ruby -*-
2
+
3
+ require 'rubygems'
4
+ require 'hoe'
5
+
6
+ abort "you _must_ install this gem to release it" if
7
+ ENV['VERSION'] && ENV['VERSION'] != RubyForge::VERSION
8
+
9
+ Hoe.spec "rubyforge" do
10
+ developer 'Ryan Davis', 'ryand-ruby@zenspider.com'
11
+ developer 'Eric Hodel', 'drbrain@segment7.net'
12
+ developer 'Ara T Howard', 'ara.t.howard@gmail.com'
13
+
14
+ multiruby_skip << "rubinius"
15
+
16
+ self.rubyforge_name = "codeforpeople"
17
+ self.need_tar = false
18
+ end
19
+
20
+ task :backup do
21
+ Dir.chdir File.expand_path("~/.rubyforge") do
22
+ cp "user-config.yml", "user-config.yml.bak"
23
+ cp "auto-config.yml", "auto-config.yml.bak"
24
+ end
25
+ end
26
+
27
+ task :restore do
28
+ Dir.chdir File.expand_path("~/.rubyforge") do
29
+ cp "user-config.yml.bak", "user-config.yml"
30
+ cp "auto-config.yml.bak", "auto-config.yml"
31
+ end
32
+ end
33
+
34
+ # vim:syntax=ruby