diff options
Diffstat (limited to '.be/bea86499-824e-4e77-b085-2d581fa9ccab')
5 files changed, 68 insertions, 0 deletions
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/35a50658-c13c-4f29-9bd0-032c411e4a6b/comments/1f3a2868-5308-42fd-b46c-68d8dfc851b2/body b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/35a50658-c13c-4f29-9bd0-032c411e4a6b/comments/1f3a2868-5308-42fd-b46c-68d8dfc851b2/body new file mode 100644 index 0000000..5b88ffe --- /dev/null +++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/35a50658-c13c-4f29-9bd0-032c411e4a6b/comments/1f3a2868-5308-42fd-b46c-68d8dfc851b2/body @@ -0,0 +1,26 @@ +From 80ce5b9707750edba08842cd267843fa035d7b0a Mon Sep 17 00:00:00 2001 +From: Valtteri Kokkoniemi <rvk@iki.fi> +Date: Thu, 17 Feb 2011 12:03:56 +0200 +Subject: [PATCH] fixed created tag handling in import-xml + +--- + libbe/bug.py | 4 ++++ + 1 files changed, 4 insertions(+), 0 deletions(-) + +diff --git a/libbe/bug.py b/libbe/bug.py +index 6d3d836..122c81a 100644 +--- a/libbe/bug.py ++++ b/libbe/bug.py +@@ -395,6 +395,10 @@ class Bug (settings_object.SavedSettingsObject): + if child.tag == 'uuid': + uuid = text + continue # don't set the bug's uuid tag. ++ elif child.tag == 'created': ++ self.time = utility.str_to_time(text) ++ self.explicit_attrs.append('time') ++ continue + elif child.tag == 'extra-string': + estrs.append(text) + continue # don't set the bug's extra_string yet. +-- +1.7.1 diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/35a50658-c13c-4f29-9bd0-032c411e4a6b/comments/1f3a2868-5308-42fd-b46c-68d8dfc851b2/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/35a50658-c13c-4f29-9bd0-032c411e4a6b/comments/1f3a2868-5308-42fd-b46c-68d8dfc851b2/values new file mode 100644 index 0000000..3b73aaa --- /dev/null +++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/35a50658-c13c-4f29-9bd0-032c411e4a6b/comments/1f3a2868-5308-42fd-b46c-68d8dfc851b2/values @@ -0,0 +1,11 @@ +Alt-id: 6ca8e92a-52b2-4909-a088-6bae5d7511a6 + + +Author: kokval <kokval@vesuri> + + +Content-type: text/plain + + +Date: Thu, 17 Feb 2011 10:40:51 +0000 + diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/35a50658-c13c-4f29-9bd0-032c411e4a6b/comments/e9c40503-84a0-47eb-b923-ac7b2f1b8de9/body b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/35a50658-c13c-4f29-9bd0-032c411e4a6b/comments/e9c40503-84a0-47eb-b923-ac7b2f1b8de9/body new file mode 100644 index 0000000..44ae6b6 --- /dev/null +++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/35a50658-c13c-4f29-9bd0-032c411e4a6b/comments/e9c40503-84a0-47eb-b923-ac7b2f1b8de9/body @@ -0,0 +1,3 @@ +show --xml generates <created> tags for bug creation timestamp, but these break in import + +for fix, see attached patch diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/35a50658-c13c-4f29-9bd0-032c411e4a6b/comments/e9c40503-84a0-47eb-b923-ac7b2f1b8de9/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/35a50658-c13c-4f29-9bd0-032c411e4a6b/comments/e9c40503-84a0-47eb-b923-ac7b2f1b8de9/values new file mode 100644 index 0000000..e9a75cc --- /dev/null +++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/35a50658-c13c-4f29-9bd0-032c411e4a6b/comments/e9c40503-84a0-47eb-b923-ac7b2f1b8de9/values @@ -0,0 +1,11 @@ +Alt-id: 3193f33d-ed57-4c32-9f6e-598bdc4ea67e + + +Author: kokval <kokval@vesuri> + + +Content-type: text/plain + + +Date: Thu, 17 Feb 2011 10:40:21 +0000 + diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/35a50658-c13c-4f29-9bd0-032c411e4a6b/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/35a50658-c13c-4f29-9bd0-032c411e4a6b/values new file mode 100644 index 0000000..2da1626 --- /dev/null +++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/35a50658-c13c-4f29-9bd0-032c411e4a6b/values @@ -0,0 +1,17 @@ +creator: Valtteri Kokkoniemi <rvk@iki.fi + + +reporter: Valtteri Kokkoniemi <rvk@iki.fi> + + +severity: minor + + +status: open + + +summary: created-tags break import-xml + + +time: Thu, 17 Feb 2011 10:38:22 +0000 + |