Your message dated Thu, 22 Jun 2023 23:26:31 +0000
with message-id <[email protected]>
and subject line Bug#1038656: Removed package(s) from unstable
has caused the Debian Bug report #860232,
regarding Unicode problems with fast-export
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
860232: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=860232
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: bzr-fastimport
Version: 0.13.0+bzr361-1

[this is in conjunction with python-fastimport 0.9.6-2]

While trying to use "bzr fast-export" on some of my branches, I ran
into a few unicode related problems:

1. it seems python-fastimport expects the user's name/email to be in
Unicode now.

2. python-fastimport expects the target of a symlink to be passed as a
byte string.

Attached is a patch to address both issues.

James.
# Bazaar merge directive format 2 (Bazaar 0.90)
# revision_id: [email protected]
# target_branch: https://anonscm.debian.org/bzr/pkg-bazaar/bzr-\
#   fastimport/unstable/
# testament_sha1: 8fb96ad6ec72047bd074ba33994b53f035368832
# timestamp: 2017-04-13 15:04:50 +0800
# base_revision_id: [email protected]
# 
# Begin patch
=== modified file 'exporter.py'
--- exporter.py	2016-04-24 16:12:34 +0000
+++ exporter.py	2017-04-13 06:59:13 +0000
@@ -372,10 +372,10 @@
             # in order for things to round-trip correctly.
             # (note: parseaddr('[email protected]') => name:'', email: '[email protected]')
             name = user
-            email = ''
+            email = u''
         else:
             name, email = parseaddr(user)
-        return name.encode("utf-8"), email.encode("utf-8")
+        return name, email
 
     def _get_commit_command(self, git_ref, mark, revobj, file_cmds):
         # Get the committer and author info
@@ -492,7 +492,7 @@
             elif kind == 'symlink':
                 file_cmds.append(commands.FileModifyCommand(path.encode("utf-8"),
                     helpers.kind_to_mode('symlink', False),
-                    None, tree_new.get_symlink_target(id_)))
+                        None, tree_new.get_symlink_target(id_).encode('utf-8')))
             elif kind == 'directory':
                 if not self.plain_format:
                     file_cmds.append(commands.FileModifyCommand(path.encode("utf-8"),

# Begin bundle
IyBCYXphYXIgcmV2aXNpb24gYnVuZGxlIHY0CiMKQlpoOTFBWSZTWfZSu4IAA4r/gCRQBABQ7//3
f///8L////BgBx8AAABX2wAAACEqSNNAGgANNAGgAA0DQAAAOAYRhNMQwCAZADCNMmTCMBDQ4BhG
E0xDAIBkAMI0yZMIwENDgGEYTTEMAgGQAwjTJkwjAQ0EqkNAMgNBoBoA0AMgAA0ADQSSE0AJkaAI
xGgCGhT0nqfomAp+intExSoFEuLi/HrK/m4xeEmlfNO1FhSL33mrsgG4+TuO91rUBOCNhG3JabSI
SEjiYgz7nvyiJE7Ue83DDMDN4fRLwPGQlMwxW97OZ4MntzaDZ4naeoYYkP9ihJS759TnxnHH2/Z9
ZDHgS/hwph5N9yAPp5asZxFh8TAzcWf70IhByR1/mHdbj3c8jS/fx5CY8wIO8XMLIGpFqEc4dIZ8
OwDajISBtO0pNiF+t/FRDlSRojMkicpBkS6j66+PRdicOc6KFtGYvCUcFYYgdAQrnEgajX3IR5EU
9GSVCnvQikcGgoYVRWkyNFkj4DQ84Gop0uoGiOD7eZC9hbblV7BveOKBleMMXdZjKw7LvbynkDJJ
kxk94VTyBKTFIaWhm0xYPLjAvQjHSGSM+UVt5+TEV2oqQyEXnpupDlrzWEAY8vTCjj0V75DLQEQ6
xJZyWQdXHSF5FGwlyUQLh08xrtOUNWFiDmbMSrCcdW1nmQswEbZwG+7kImgE/O4slGBpMsqv2lpg
iW8ibYlOmUgS3469FAxaSP0l1ziiUkFSFaETonseiwxPshc3VHnAp2oYqVzi9icKC/AlomNeMoPh
gHC6mYbM56FQjEjAsi+oMqmgXPlaiQhFpkLMwGc7Zia6+fZluykOHwDI8saURUXlNZJShGprhqKN
cRyYY4ZilGb6yUXZrIuMAMAlMaEUV6YDjI7ERIFzaCpxcUATGFCosufAfiTvf+1SNWMYsTsRlC5C
lxZZXlVZNcSBDJouI0Z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GcZFKDvJi+ILu/lBzhcGgIlO+dVJUoHPxEEiQZJiPTF16FBJHyhIfAIFjJIlHvODDWlRaO
OMQ8wCkMbA1KVKVCDWUO4ITp5I7VKOYcG+B8oGMI3hPPehdUQpC0iSgwc4Z3S1maYuCYFYKVydwk
cBgTGKVwkZAGKvQD5AONHMEtVyoA/dnuLBUCHBc7jDh4fapCsQsSFKltQmAwN4mCQPMHXvnOaX9H
5Y1rMsAxWDoNAfxdyRThQkPZSu4I

--- End Message ---
--- Begin Message ---
Version: 0.13.0+bzr361+brz1+rm

Dear submitter,

as the package bzr-fastimport has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1038656

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to