SF.net SVN: gar:[23725] csw/mgar/gar/v2/lib

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Thu May 29 00:39:20 CEST 2014


Revision: 23725
          http://sourceforge.net/p/gar/code/23725
Author:   wahwah
Date:     2014-05-28 22:39:20 +0000 (Wed, 28 May 2014)
Log Message:
-----------
pkgdb: Export bundle in the Timing REST url

Modified Paths:
--------------
    csw/mgar/gar/v2/lib/python/models.py
    csw/mgar/gar/v2/lib/python/representations.py
    csw/mgar/gar/v2/lib/web/pkgdb_web.py

Modified: csw/mgar/gar/v2/lib/python/models.py
===================================================================
--- csw/mgar/gar/v2/lib/python/models.py	2014-05-28 22:39:12 UTC (rev 23724)
+++ csw/mgar/gar/v2/lib/python/models.py	2014-05-28 22:39:20 UTC (rev 23725)
@@ -595,6 +595,7 @@
        'mtime',          # 10
        'created_on',     # 11
        'created_by',     # 12
+       'bundle',         # 13
       ],
       where=where,
       orderBy='catalogname',

Modified: csw/mgar/gar/v2/lib/python/representations.py
===================================================================
--- csw/mgar/gar/v2/lib/python/representations.py	2014-05-28 22:39:12 UTC (rev 23724)
+++ csw/mgar/gar/v2/lib/python/representations.py	2014-05-28 22:39:20 UTC (rev 23725)
@@ -24,7 +24,8 @@
 CatalogTimingEntry = collections.namedtuple(
     'CatalogTimingEntry',
     ['catalogname', 'version', 'pkgname', 'basename', 'md5_sum', 'size',
-     'deps', 'category', 'i_deps', 'desc', 'maintainer', 'mtime', 'inserted_on', 'inserted_by'])
+     'deps', 'category', 'i_deps', 'desc', 'maintainer', 'mtime',
+     'inserted_on', 'inserted_by', 'bundle'])
 
 PkgmapEntry = collections.namedtuple(
     'PkgmapEntry',

Modified: csw/mgar/gar/v2/lib/web/pkgdb_web.py
===================================================================
--- csw/mgar/gar/v2/lib/web/pkgdb_web.py	2014-05-28 22:39:12 UTC (rev 23724)
+++ csw/mgar/gar/v2/lib/web/pkgdb_web.py	2014-05-28 22:39:20 UTC (rev 23725)
@@ -764,6 +764,7 @@
         mtime=row[10].isoformat(),
         inserted_on=row[11].isoformat(),
         inserted_by=row[12],
+        bundle=row[13],
       )
       return entry
     rows = [MakeCatalogTimingEntry(x)._asdict() for x in rows]

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list