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

Re: Please allow deliciousapi 1.5.0 into sid/lenny



Hello again,

> I'm here to ask your approval to upload deliciousapi 1.5.0-1 in sid,
> and then let it transit to Lenny; attached you can find the debdiff
> with 1.4.4-1 (the version currently in the archive).

Upstream just released v1.5.1, due to minimal changes to code (4 lines
of code changed, the rest is just documentation) I'd like to kindly
ask to allow that version in sid/lenny.

In attach the diff between upstem 1.5.0 and 1.5.1 versions, and
debdiff between 1.4.4-1 and 1.5.1-1 (proposed version).

Thanks for considering,
-- 
Sandro Tosi (aka morph, Morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
diff -urNad DeliciousAPI-1.5.0/deliciousapi.py DeliciousAPI-1.5.1/deliciousapi.py
--- DeliciousAPI-1.5.0/deliciousapi.py	2008-08-06 00:42:05.000000000 +0200
+++ DeliciousAPI-1.5.1/deliciousapi.py	2008-08-07 13:48:04.000000000 +0200
@@ -13,6 +13,7 @@
       if you know the corresponding password
     * getting a user's full public tagging vocabulary, i.e. tags and tag counts
     * HTTP proxy support
+    * updated to support delicious.com "version 2" (mini-relaunch as of August 2008)
 
     The official delicious.com API and the JSON/RSS feeds do not provide all
     the functionality mentioned above, and in such cases this module will query
@@ -45,7 +46,7 @@
 __maintainer__ = "Michael G. Noll"
 __status__ = "Development"
 __url__ = "http://www.michael-noll.com/";
-__version__ = "1.5.0"
+__version__ = "1.5.1"
 
 import base64
 import cgi
@@ -90,9 +91,9 @@
             a user's bookmark collection.
 
             url is a 'unicode'
-            tags is a 'list' of 'unicode'
+            tags is a 'list' of 'unicode' ([] if no tags)
             title is a 'unicode'
-            comment is a 'unicode'
+            comment is a 'unicode' (u"" if no comment)
             timestamp is a 'datetime.datetime'
 
         tags (read-only property):
@@ -152,7 +153,7 @@
 
             user is a 'unicode'
             tags is a 'list' of 'unicode's ([] if no tags)
-            comment is a 'list' of 'unicode's (None if no comment)
+            comment is a 'unicode' (u"" if no comment)
             timestamp is a 'datetime.datetime' (granularity: creation *day*,
                 i.e. the day but not the time of day)
 
@@ -548,7 +549,7 @@
                     timestamp =  datetime.datetime.strptime(date_str, '%d %b %y')
 
             # extract comments
-            comment = None
+            comment = u""
             datas = bookmark_element.findAll("div", attrs={"class": "data"})
             if datas:
                 divs = datas[0].findAll("div", attrs={"class": "description"})
@@ -601,7 +602,7 @@
                         timestamp =  datetime.datetime.strptime(date_str, '%d %b %y')
 
                 # extract comments
-                comment = None
+                comment = u""
                 datas = bookmark_element.findAll("div", attrs={"class": "data"})
                 if datas:
                     links = datas[0].findAll("a", attrs={"class": "taggedlink"})
@@ -678,7 +679,7 @@
                     url = element["href"]
                     title = element["description"] or u""
                     comment = element["extended"] or u""
-                    tags = None
+                    tags = []
                     if element["tag"]:
                         tags = element["tag"].split()
                     timestamp = datetime.datetime.strptime(element["time"], "%Y-%m-%dT%H:%M:%SZ")
@@ -700,7 +701,7 @@
                         pass
 
                     url = timestamp = None
-                    title = comment = ""
+                    title = comment = u""
                     tags = []
 
                     for post in posts:
diff -urNad DeliciousAPI-1.5.0/PKG-INFO DeliciousAPI-1.5.1/PKG-INFO
--- DeliciousAPI-1.5.0/PKG-INFO	2008-08-06 00:53:05.000000000 +0200
+++ DeliciousAPI-1.5.1/PKG-INFO	2008-08-07 13:48:29.000000000 +0200
@@ -1,7 +1,7 @@
 Metadata-Version: 1.0
 Name: DeliciousAPI
-Version: 1.5.0
-Summary: Unofficial Python API for retrieving data from del.icio.us
+Version: 1.5.1
+Summary: Unofficial Python API for retrieving data from delicious.com
 Home-page: http://www.michael-noll.com/wiki/Del.icio.us_Python_API
 Author: Michael G. Noll
 Author-email: coding[AT]michael-noll[DOT]com
@@ -18,6 +18,7 @@
         if you know the corresponding password
         * getting a user's full public tagging vocabulary, i.e. tags and tag counts
         * HTTP proxy support
+        * updated to support delicious.com "version 2" (mini-relaunch as of August 2008)
         
         The official delicious.com API and the JSON/RSS feeds do not provide all
         the functionality mentioned above, and in such cases this module will query
diff -urNad DeliciousAPI-1.5.0/setup.py DeliciousAPI-1.5.1/setup.py
--- DeliciousAPI-1.5.0/setup.py	2008-08-06 00:45:36.000000000 +0200
+++ DeliciousAPI-1.5.1/setup.py	2008-08-07 13:47:36.000000000 +0200
@@ -3,9 +3,9 @@
 
 setup(
     name="DeliciousAPI",
-    version="1.5.0",
+    version="1.5.1",
     keywords='del.icio.us delicious api research social bookmarking python',
-    description="Unofficial Python API for retrieving data from del.icio.us",
+    description="Unofficial Python API for retrieving data from delicious.com",
     long_description="""This module provides the following features plus some more:
 
     * getting a url's full public bookmarking history including
@@ -18,6 +18,7 @@
       if you know the corresponding password
     * getting a user's full public tagging vocabulary, i.e. tags and tag counts
     * HTTP proxy support
+    * updated to support delicious.com "version 2" (mini-relaunch as of August 2008)
 
     The official delicious.com API and the JSON/RSS feeds do not provide all
     the functionality mentioned above, and in such cases this module will query

Attachment: deliciousapi_1.5.1-1.debdiff
Description: Binary data


Reply to: