[Pkg-debile-commits] [debile-slave] 85/100: Added version skeleton for clanganalyzer.

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


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

sylvestre pushed a commit to branch master
in repository debile-slave.

commit e47b0ffe3c6df05ea20418b42061933f46d995dd
Author: Léo Cavaillé <leo at cavaille.net>
Date:   Fri Jul 19 20:12:52 2013 +0200

    Added version skeleton for clanganalyzer.
    
    Yet to be implemented.
---
 ethel/commands/clanganalyzer.py |    5 ++++-
 ethel/runners/clanganalyzer.py  |    5 +++++
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/ethel/commands/clanganalyzer.py b/ethel/commands/clanganalyzer.py
index 142ba27..36ec376 100644
--- a/ethel/commands/clanganalyzer.py
+++ b/ethel/commands/clanganalyzer.py
@@ -1,4 +1,4 @@
-from ethel.runners.clanganalyzer import clanganalyzer
+from ethel.runners.clanganalyzer import clanganalyzer, version
 
 
 # target package firehose
@@ -8,3 +8,6 @@ def run(dsc, package, job, firehose):
     arch = 'amd64'
 
     return clanganalyzer(dsc, suite, arch, firehose)
+
+def get_version():
+    version()
diff --git a/ethel/runners/clanganalyzer.py b/ethel/runners/clanganalyzer.py
index 8211e6c..28aaa0f 100644
--- a/ethel/runners/clanganalyzer.py
+++ b/ethel/runners/clanganalyzer.py
@@ -82,3 +82,8 @@ def clanganalyzer(package, suite, arch, analysis):
             shutil.rmtree(reports_dir[0])
 
         return analysis, out, failed
+
+
+def version():
+    # TODO
+    return ('clanganalyzer', 'n/a')

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



More information about the Pkg-debile-commits mailing list