[Pkg-debile-commits] [debile-master] 95/126: Added XML firehose export feature in lucy.

Sylvestre Ledru sylvestre at alioth.debian.org
Mon Aug 19 14:56:22 UTC 2013


This is an automated email from the git hooks/post-receive script.

sylvestre pushed a commit to branch scan-build-html
in repository debile-master.

commit eb4ea384980cf65247db4b5f6e2e121d1ecf0c3c
Author: Léo Cavaillé <leo at cavaille.net>
Date:   Fri Jul 19 19:57:50 2013 +0200

    Added XML firehose export feature in lucy.
---
 lucy/server.py |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/lucy/server.py b/lucy/server.py
index d44cea7..b88c872 100644
--- a/lucy/server.py
+++ b/lucy/server.py
@@ -95,6 +95,11 @@ class LucyInterface(object):
         path = os.path.join(config['pool'], report['log_path'])
         return path
 
+    def get_firehose_write_location(self, report):
+        report = Report.load(report)
+        path = os.path.join(config['pool'], report['firehose_path'])
+        return path
+
     def get_deb_info(self, package):
         """
         Get a list of .debs for the given Binary package, otherwise None.
@@ -171,6 +176,7 @@ class LucyInterface(object):
             os.makedirs(path)
 
         report['log_path'] = os.path.join(uuid_path, 'log')
+        report['firehose_path'] = os.path.join(uuid_path, 'firehose.xml')
         rid = report.save()
 
         if failed:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-debile/debile-master.git



More information about the Pkg-debile-commits mailing list