#151: AssertionError tailorizing openssl CVS history
--------------------+-------------------------------------------------------
 Reporter:  zooko   |       Owner:  lele      
     Type:  defect  |      Status:  new       
 Priority:  major   |   Milestone:  VersionOne
Component:  tailor  |     Version:  0.9       
 Keywords:          |  
--------------------+-------------------------------------------------------
 Here is the tailor.config:

 {{{
 [DEFAULT]
 remove-first-log-line = True
 verbose = True
 patch-name-format = %(firstlogline)s

 [project]
 target = darcs:target
 start-revision = INITIAL
 state-file = tailor.state
 source = cvs:source
 subdir = .

 [darcs:target]
 init-options = --darcs-2

 [cvs:source]
 module = openssl
 repository = [EMAIL PROTECTED]:/openssl-cvs
 }}}

 and here is the output from the run:

 {{{
 HACN wonwin-mcbrootles-computer:~/playground/openssl/tailored$ time tailor
 --configfile=./tailor.config
 13:53:14 [I] Bootstrapping "project" in
 "/Users/wonwinmcbrootles/playground/openssl/tailored"
 13:53:14 [I] /Users/wonwinmcbrootles/playground/openssl/tailored $ darcs
 initialize --darcs-213:53:14 [I] [Ok]
 13:53:14 [I] $ cvs -f -d [EMAIL PROTECTED]:/openssl-cvs rlog
 -r:HEAD -b openssl 2>&1
 The authenticity of host 'cvs.openssl.org (195.30.6.166)' can't be
 established.RSA key fingerprint is
 55:c1:16:04:82:09:3a:ac:88:14:27:3f:46:7c:25:e4.
 Are you sure you want to continue connecting (yes/no)? yes
 14:06:36 [W] [Status 1]14:06:36 [I] $ cvs -f -d [EMAIL PROTECTED]
 :/openssl-cvs rlog -r:HEAD -b openssl 2>&1 returned status 1, retrying in
 2 seconds...
 14:06:37 [I] $ cvs -f -d [EMAIL PROTECTED]:/openssl-cvs rlog
 -r:HEAD -b openssl 2>&1
 14:12:33 [I] [Ok]14:12:33 [C] Checkout of project failed!
 Traceback (most recent call last):
   File "/usr/local/bin/tailor", line 8, in <module>
 load_entry_point('tailor==0.9.31', 'console_scripts', 'tailor')()
   File "/usr/local/stow/python-release25-maint-2008-05-12/lib/python2.5
 /site-packages/tailor-0.9.31-py2.5.egg/vcpx/tailor.py", line 342, in main
     tailorizer()
   File "/usr/local/stow/python-release25-maint-2008-05-12/lib/python2.5
 /site-packages/tailor-0.9.31-py2.5.egg/vcpx/tailor.py", line 144, in
 __call__
     self.bootstrap()
   File "/usr/local/stow/python-release25-maint-2008-05-12/lib/python2.5
 /site-packages/tailor-0.9.31-py2.5.egg/vcpx/tailor.py", line 74, in
 bootstrap
     actual = dwd.checkoutUpstreamRevision(revision)
   File "/usr/local/stow/python-release25-maint-2008-05-12/lib/python2.5
 /site-packages/tailor-0.9.31-py2.5.egg/vcpx/source.py", line 253, in
 checkoutUpstreamRevision
     last = self._checkoutUpstreamRevision(revision)
   File "/usr/local/stow/python-release25-maint-2008-05-12/lib/python2.5
 /site-packages/tailor-0.9.31-py2.5.egg/vcpx/repository/cvs.py", line 680,
 in _checkoutUpstreamRevision
     last = CvspsWorkingDir._checkoutUpstreamRevision(self, revision)
   File "/usr/local/stow/python-release25-maint-2008-05-12/lib/python2.5
 /site-packages/tailor-0.9.31-py2.5.egg/vcpx/repository/cvsps.py", line
 430, in _checkoutUpstreamRevision
     csets = self.getPendingChangesets(revision)
   File "/usr/local/stow/python-release25-maint-2008-05-12/lib/python2.5
 /site-packages/tailor-0.9.31-py2.5.egg/vcpx/source.py", line 221, in
 getPendingChangesets
     self.state_file.setPendingChangesets(changesets)
   File "/usr/local/stow/python-release25-maint-2008-05-12/lib/python2.5
 /site-packages/tailor-0.9.31-py2.5.egg/vcpx/statefile.py", line 230, in
 setPendingChangesets
   File "/usr/local/stow/python-release25-maint-2008-05-12/lib/python2.5
 /site-packages/tailor-0.9.31-py2.5.egg/vcpx/statefile.py", line 86, in
 _write
     for cs in changesets:
   File "/usr/local/stow/python-release25-maint-2008-05-12/lib/python2.5
 /site-packages/tailor-0.9.31-py2.5.egg/vcpx/repository/cvs.py", line 104,
 in changesets_from_cvslog
     trim_module_components)
   File "/usr/local/stow/python-release25-maint-2008-05-12/lib/python2.5
 /site-packages/tailor-0.9.31-py2.5.egg/vcpx/repository/cvs.py", line 209,
 in __init__
     self.__parseCvsLog(branch, entries, since)
   File "/usr/local/stow/python-release25-maint-2008-05-12/lib/python2.5
 /site-packages/tailor-0.9.31-py2.5.egg/vcpx/repository/cvs.py", line 438,
 in __parseCvsLog
     cs = self.__parseRevision(entry)
   File "/usr/local/stow/python-release25-maint-2008-05-12/lib/python2.5
 /site-packages/tailor-0.9.31-py2.5.egg/vcpx/repository/cvs.py", line 320,
 in __parseRevision
     assert info[1].strip()[:8] == 'author: ', infoline
 AssertionError: date: 2000-11-06 22:02:53 +0000;


 real    19m21.900s
 user    0m16.459s
 sys     0m16.424s

 }}}

-- 
Ticket URL: <http://progetti.arstecnica.it/tailor/ticket/151>
Tailor <http://progetti.arstecnica.it/tailor>
An inter-VCs changeset exchanger
_______________________________________________
Tailor mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/tailor

Reply via email to