[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#687634: pre-approve unblock: tryton-modules-calendar-todo/2.2.1-1



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Dear release managers,

please approve the upload of tryton-modules-calendar-todo_2.2.1-1.

The new version contains the upstream bug fix release [1].

The fixes are for

 * Fix typo from changeset caaaccd11a73
 * Create new UUID on copy of todo
 * Convert buffer into string for vobject


Mathias

[1] http://news.tryton.org/2012/09/maintenance-releases-for-supported.html


debdiff attached

unblock: tryton-modules-calendar-todo/2.2.1-1
diff -Nru tryton-modules-calendar-todo-2.2.0/CHANGELOG tryton-modules-calendar-todo-2.2.1/CHANGELOG
--- tryton-modules-calendar-todo-2.2.0/CHANGELOG	2011-10-24 19:16:01.000000000 +0200
+++ tryton-modules-calendar-todo-2.2.1/CHANGELOG	2012-09-02 16:12:41.000000000 +0200
@@ -1,3 +1,6 @@
+Version 2.2.1 - 2012-09-02
+* Bug fixes (see mercurial logs for details)
+
 Version 2.2.0 - 2011-10-24
 * Bug fixes (see mercurial logs for details)
 
diff -Nru tryton-modules-calendar-todo-2.2.0/COPYRIGHT tryton-modules-calendar-todo-2.2.1/COPYRIGHT
--- tryton-modules-calendar-todo-2.2.0/COPYRIGHT	2011-07-06 09:56:20.000000000 +0200
+++ tryton-modules-calendar-todo-2.2.1/COPYRIGHT	2012-09-02 16:12:40.000000000 +0200
@@ -1,6 +1,6 @@
-Copyright (C) 2009-2011 Cédric Krier.
+Copyright (C) 2009-2012 Cédric Krier.
 Copyright (C) 2009-2011 Bertrand Chenal.
-Copyright (C) 2009-2011 B2CK SPRL.
+Copyright (C) 2009-2012 B2CK SPRL.
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
diff -Nru tryton-modules-calendar-todo-2.2.0/debian/changelog tryton-modules-calendar-todo-2.2.1/debian/changelog
--- tryton-modules-calendar-todo-2.2.0/debian/changelog	2012-06-30 18:12:53.000000000 +0200
+++ tryton-modules-calendar-todo-2.2.1/debian/changelog	2012-09-12 15:55:04.000000000 +0200
@@ -1,3 +1,9 @@
+tryton-modules-calendar-todo (2.2.1-1) unstable; urgency=low
+
+  * Merging upstream version 2.2.1.
+
+ -- Mathias Behrle <mathiasb@m9s.biz>  Wed, 12 Sep 2012 15:55:04 +0200
+
 tryton-modules-calendar-todo (2.2.0-3) unstable; urgency=low
 
   * Updating maintainers field.
diff -Nru tryton-modules-calendar-todo-2.2.0/PKG-INFO tryton-modules-calendar-todo-2.2.1/PKG-INFO
--- tryton-modules-calendar-todo-2.2.0/PKG-INFO	2011-10-24 19:16:18.000000000 +0200
+++ tryton-modules-calendar-todo-2.2.1/PKG-INFO	2012-09-02 16:12:44.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: trytond_calendar_todo
-Version: 2.2.0
+Version: 2.2.1
 Summary: Add Todo support on CalDAV
 Home-page: http://www.tryton.org/
 Author: B2CK
diff -Nru tryton-modules-calendar-todo-2.2.0/todo.py tryton-modules-calendar-todo-2.2.1/todo.py
--- tryton-modules-calendar-todo-2.2.0/todo.py	2011-08-21 11:21:20.000000000 +0200
+++ tryton-modules-calendar-todo-2.2.1/todo.py	2012-08-23 23:41:22.000000000 +0200
@@ -409,6 +409,25 @@
         collection_obj.todo.reset()
         return res
 
+    def copy(self, ids, default=None):
+        int_id = isinstance(ids, (int, long))
+        if int_id:
+            ids = [ids]
+
+        if default is None:
+            default = {}
+
+        new_ids = []
+        for todo_id in ids:
+            current_default = default.copy()
+            current_default['uuid'] = self.default_uuid()
+            new_id = super(Todo, self).copy(todo_id, default=current_default)
+            new_ids.append(new_id)
+
+        if int_id:
+            return new_ids[0]
+        return new_ids
+
     def ical2values(self, todo_id, ical, calendar_id, vtodo=None):
         '''
         Convert iCalendar to values for create or write
@@ -687,7 +706,7 @@
         ical = vobject.iCalendar()
         vtodo = ical.add('vtodo')
         if todo.vtodo:
-            ical.vtodo = vobject.readOne(todo.vtodo)
+            ical.vtodo = vobject.readOne(str(todo.vtodo))
             vtodo = ical.vtodo
             ical.vtodo.transformToNative()
         if todo.summary:
diff -Nru tryton-modules-calendar-todo-2.2.0/trytond_calendar_todo.egg-info/PKG-INFO tryton-modules-calendar-todo-2.2.1/trytond_calendar_todo.egg-info/PKG-INFO
--- tryton-modules-calendar-todo-2.2.0/trytond_calendar_todo.egg-info/PKG-INFO	2011-10-24 19:16:18.000000000 +0200
+++ tryton-modules-calendar-todo-2.2.1/trytond_calendar_todo.egg-info/PKG-INFO	2012-09-02 16:12:43.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: trytond-calendar-todo
-Version: 2.2.0
+Version: 2.2.1
 Summary: Add Todo support on CalDAV
 Home-page: http://www.tryton.org/
 Author: B2CK
diff -Nru tryton-modules-calendar-todo-2.2.0/__tryton__.py tryton-modules-calendar-todo-2.2.1/__tryton__.py
--- tryton-modules-calendar-todo-2.2.0/__tryton__.py	2011-10-24 19:16:08.000000000 +0200
+++ tryton-modules-calendar-todo-2.2.1/__tryton__.py	2011-10-24 19:21:37.000000000 +0200
@@ -9,7 +9,7 @@
     'name_es_ES': 'Calendario de tareas',
     'name_fr_FR' : 'Tâche Calendrier',
     'name_ru_RU' : 'Ð?адаÑ?и длÑ? календаÑ?Ñ?',
-    'version' : '2.2.0',
+    'version' : '2.2.1',
     'author' : 'B2CK',
     'email': 'info@b2ck.com',
     'website': 'http://www.tryton.org/',

Attachment: signature.asc
Description: PGP signature


Reply to: