[Pkg-debile-commits] [debile-master] 34/126: nice

Sylvestre Ledru sylvestre at alioth.debian.org
Mon Aug 19 14:56:10 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 e8a5f2e1139e68d218108f4d6a1913863a10d86b
Author: Paul Tagliamonte <tag at pault.ag>
Date:   Mon May 27 01:11:12 2013 -0400

    nice
---
 lucy/server.py |   45 +++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 41 insertions(+), 4 deletions(-)

diff --git a/lucy/server.py b/lucy/server.py
index dff23c7..160e642 100644
--- a/lucy/server.py
+++ b/lucy/server.py
@@ -15,32 +15,69 @@ NAMESPACE = threading.local()
 class LucyInterface(object):
 
     def get_source_package(self, package):
+        """
+        Get the DB entry for the source package. Return None if it doesn't
+        exist.
+        """
         pass
 
     def get_binary_package(self, package):
+        """
+        Get the DB entry for the binary package. Return None if it doesn't
+        exist.
+        """
         pass
 
-    def get_dsc(self):
+    def get_dsc(self, package):
+        """
+        Get the .dsc path if the package is a valid source package. Otherwise
+        return None.
+        """
         pass
 
-    def get_debs(self):
+    def get_debs(self, package):
+        """
+        Get a list of .debs for the given Binary package, otherwise None.
+        """
         pass
 
     #
 
     def get_current_job(self):
+        """
+        Get the current job for the builder or return None.
+        """
         pass
 
-    def get_lint_job(self):
+    def get_lint_job(self, types):
+        """
+        Get an unassigned lint job from type types.
+        """
         pass
 
-    def get_build_job(self):
+    def get_build_job(self, suites, arches):
+        """
+        Get an unassigned build job that is both in suites and arches.
+        """
         pass
 
     def submit_report(self, report, log, package, package_type, job, failed):
+        """
+        Submit a report from a run.
+
+        report - firehose lint job
+        log - full text of the run
+        package - related binary or source package
+        package_type - either source / binary
+        job - job ID this relates to
+        failed - was it able to complete properly
+        """
         pass
 
     def close_job(self, job):
+        """
+        Close a job after pushing reports / binaries up.
+        """
         pass
 
 

-- 
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