Take the 2008 Git User's Survey and help out! [ hide ]

public
Description: CruiseControl.rb is a continuous integration tool, written in Ruby. It is quick to install, simple to use and easy to hack.
Homepage: http://cruisecontrolrb.thoughtworks.com/
Clone URL: git://github.com/benburkert/cruisecontrolrb.git
Search Repo:
hopefully fixing a few bugs - revision should depend on being bigger than 
actual revision, not last change, external checking should not recurse, 
and ssl socket still seems broken

git-svn-id: http://cruisecontrolrb.rubyforge.org/svn/trunk@610 
c04ce798-636b-4ca8-9149-0f9336831111
stellsmi (author)
Fri Mar 14 16:52:15 -0700 2008
commit  3b67766a92bb18994fbd33d131dd8f8a331e31fe
tree    4ef5398a50843da1122d0792dc6028c64530c4ab
parent  ddc745f1ad8f36c989d61555c1808afe84ca5bb1
...
2
3
4
5
6
7
 
 
 
 
 
 
 
 
8
9
10
...
2
3
4
 
 
 
5
6
7
8
9
10
11
12
13
14
15
0
@@ -2,9 +2,14 @@ Todo
0
 ----
0
 
0
 externals
0
-- docs
0
-- changesets
0
-- what if external dir doesn't exist yet
0
+- 1
0
+ - use revision to see if something has been changed
0
+- 2
0
+ -
0
+- 3
0
+ - optimize external handling
0
+ - only use 1 level
0
+ - optimize if in same repos
0
 
0
 Questions
0
 ---------
...
9
10
11
12
 
13
14
15
...
9
10
11
 
12
13
14
15
0
@@ -9,7 +9,7 @@ Net::SMTP.class_eval do
0
     open_conversation(helodomain)
0
 
0
     if starttls
0
- create_ssl_socket(@socket, helodomain)
0
+ create_ssl_socket(socket, helodomain)
0
     else
0
       # some SMTP servers that don't support TLS drop the socket after rejecting
0
       # STARTTLS command, so reopen the conversation
...
55
56
57
58
 
59
60
61
...
76
77
78
79
 
 
 
80
81
82
...
55
56
57
 
58
59
60
61
...
76
77
78
 
79
80
81
82
83
84
0
@@ -55,7 +55,7 @@ class Subversion
0
 
0
   def last_locally_known_revision
0
     return Revision.new(0) unless File.exist?(path)
0
- Revision.new(info.last_changed_revision)
0
+ Revision.new(info.revision)
0
   end
0
 
0
   def latest_revision
0
@@ -76,7 +76,9 @@ class Subversion
0
     if @check_externals
0
       externals.each do |ext_path, ext_url|
0
         ext_logger = ExternalReasons.new(ext_path, reasons)
0
- ext_svn = Subversion.new(:path => File.join(self.path, ext_path), :url => ext_url)
0
+ ext_svn = Subversion.new(:path => File.join(self.path, ext_path),
0
+ :url => ext_url,
0
+ :check_externals => false)
0
         result = false unless ext_svn.up_to_date?(ext_logger)
0
       end
0
     end
...
2
3
4
5
6
7
8
...
2
3
4
 
5
6
7
0
@@ -2,7 +2,6 @@ require 'date'
0
 require 'xml_simple'
0
 
0
 class Subversion::LogParser
0
-
0
   def parse(lines)
0
     return [] if lines.empty?
0
     entries = XmlSimple.xml_in(lines.join, 'ForceArray' => ['logentry','path'])['logentry'] || []

Comments

    No one has commented yet.