Package: tailor
Version: 0.9.30-1
Severity: serious

Hi

RC bug as this package is currently *unusable* if you want to get output
in git format. Try converting
http://ftp-master.debian.org/bzr/ftpmaster-dak/ to git and tailor will just
die and eat the whole cpu, until you kill it

A log, with -D, of such a run:

# tailor -D --configfile tailor.conf
00:02:39 [I] Bootstrapping "project" in "/develop/vcs/dak/gittest"
00:02:39 [D] bzr not found as new-style vcs, trying as monolithic
00:02:39 [I] /develop/vcs/dak/gittest $ git init-db
00:02:39 [D] Executing  git init-db ('/develop/vcs/dak/gittest')
00:02:39 [I] [Ok]
Output stream:
Initialized empty Git repository in .git/
00:02:40 [I] Extracting 'troup-20001124052010-e008369a9a357644' out of 
'file:///develop/vcs/dak/upstream/' in '/develop/vcs/dak/gittest'...
00:02:41 [D] Adjusting the state accordingly to journal
00:02:41 [I] /develop/vcs/dak/gittest $ git update-index --add ./tailor.conf 
./.cvsignore ./TODO ./db_access.py ./init_pool.sql ./katie ./neve ./rhona 
./utils.py
00:02:41 [D] Executing  git update-index --add ./tailor.conf ./.cvsignore 
./TODO ./db_access.py ./init_pool.sql ./katie ./neve ./rhona ./utils.py 
('/develop/vcs/dak/gittest')
00:02:41 [I] [Ok]
00:02:41 [I] /develop/vcs/dak/gittest $ git status
00:02:41 [D] Executing  git status ('/develop/vcs/dak/gittest')
00:02:41 [I] [Ok]
Output stream:
# On branch master
#
# Initial commit
#
# Changes to be committed:
#   (use "git rm --cached <file>..." to unstage)
#
#       new file: .cvsignore
#       new file: TODO
#       new file: db_access.py
#       new file: init_pool.sql
#       new file: katie
#       new file: neve
#       new file: rhona
#       new file: tailor.conf
#       new file: utils.py
#
00:02:41 [I] /develop/vcs/dak/gittest $ git add -u
00:02:41 [D] Executing  git add -u ('/develop/vcs/dak/gittest')
00:02:41 [I] [Ok]
00:02:41 [I] /develop/vcs/dak/gittest $ git write-tree
00:02:41 [D] Executing  git write-tree ('/develop/vcs/dak/gittest')
00:02:41 [I] [Ok]
Output stream:
ba902e867bef9d6692f12f5b6ef03e93f9200fe5
00:02:41 [I] /develop/vcs/dak/gittest $ git rev-parse HEAD 2>&1
00:02:41 [D] Executing  git rev-parse HEAD ('/develop/vcs/dak/gittest')
00:02:41 [W] [Status 128]
Output stream:
HEAD
Error stream:
fatal: ambiguous argument 'HEAD': unknown revision or path not in the working 
tree.
Use '--' to separate paths from revisions
00:02:41 [I] Doing initial commit
00:02:41 [I] /develop/vcs/dak/gittest $ git commit-tree 
ba902e867bef9d6692f12f5b6ef03e93f9200fe5
00:02:41 [D] Executing  git commit-tree 
ba902e867bef9d6692f12f5b6ef03e93f9200fe5 ('/develop/vcs/dak/gittest')
00:02:41 [I] [Ok]
Output stream:
5fb90c3c82e891cee9be0a04dead9136c2cdf458
00:02:41 [I] /develop/vcs/dak/gittest $ git update-ref HEAD 
5fb90c3c82e891cee9be0a04dead9136c2cdf458
00:02:41 [D] Executing  git update-ref HEAD 
5fb90c3c82e891cee9be0a04dead9136c2cdf458 ('/develop/vcs/dak/gittest')
00:02:41 [I] [Ok]
00:02:41 [I] Bootstrap completed
00:02:41 [I] Updating "project" in "/develop/vcs/dak/gittest"
[Here it hangs]
[1]    4410 terminated  tailor -D --configfile tailor.conf


The config:
less tailor.conf
[DEFAULT]
verbose = True
patch-name-format = 

[project]
target = git:target
start-revision = INITIAL
root-directory = /develop/vcs/dak/gittest
state-file = tailor.state
source = bzr:source
subdir = .

[bzr:source]
repository = ../upstream

[git:target]

../upstream is a bzr clone of the repository I mentioned at the
beginning of my mail. I can then restart tailor and it goes on, just to
die a little later with

Traceback (most recent call last):
  File "/usr/bin/tailor", line 35, in ?
    main()
  File "/var/lib/python-support/python2.4/vcpx/tailor.py", line 339, in main
    tailorizer()
  File "/var/lib/python-support/python2.4/vcpx/tailor.py", line 147, in __call__
    self.update()
  File "/var/lib/python-support/python2.4/vcpx/tailor.py", line 110, in update
    last, conflicts = dwd.applyPendingChangesets(
  File "/var/lib/python-support/python2.4/vcpx/dualwd.py", line 97, in 
applyPendingChangesets
    applied=applied)
  File "/var/lib/python-support/python2.4/vcpx/source.py", line 162, in 
applyPendingChangesets
    self.state_file.finalize()
  File "/var/lib/python-support/python2.4/vcpx/statefile.py", line 177, in 
finalize
    cs = load(old)
ValueError: insecure string pickle


-- 
bye, Joerg
.SH AUTHOR
This manual page was not written by anyone.  It sprang forth into
existence on its own.

Attachment: pgpykEnRqyZ5R.pgp
Description: PGP signature

Reply via email to