From 5f7ac45e4dfe4849338f4a8c39652266689e3eea Mon Sep 17 00:00:00 2001 From: Jan Pokorný Date: Wed, 25 Sep 2013 23:46:49 +0200 Subject: Expose tracked info upon entity click via tooltip + stdout text MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jan Pokorný --- lib_cman.py | 58 ++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 36 insertions(+), 22 deletions(-) (limited to 'lib_cman.py') diff --git a/lib_cman.py b/lib_cman.py index 198ca34..60a0e63 100644 --- a/lib_cman.py +++ b/lib_cman.py @@ -64,9 +64,11 @@ class CmanCmanTool(Executable): man = [ 'cman_tool(8)' ] - srpm = 'cluster' - rpm = 'cman' - rhbz = 'cluster' + ids = dict( + srpm='cluster', + rpm='cman', + rhbz='cluster', + ) class CmanRicci(Daemon): @@ -83,9 +85,11 @@ class CmanRicci(Daemon): man = [ 'ricci(8)' ] - srpm = 'ricci' - rpm = 'ricci' - rhbz = 'ricci' + ids = dict( + srpm='ricci', + rpm='ricci', + rhbz='ricci', + ) class CmanCcs(Executable): @@ -103,9 +107,11 @@ class CmanCcs(Executable): man = [ 'ccs(8)' ] - srpm = 'ricci' - rpm = 'ccs' - rhbz = 'ricci' + ids = dict( + srpm='ricci', + rpm='ccs', + rhbz='ricci', + ) class CmanCcsSync(Executable): @@ -121,9 +127,11 @@ class CmanCcsSync(Executable): man = [ 'ccs_sync(8)' ] - srpm = 'ricci' - rpm = 'ricci' - rhbz = 'ricci' + ids = dict( + srpm='ricci', + rpm='ricci', + rhbz='ricci', + ) class CmanLuci(Daemon): @@ -139,9 +147,11 @@ class CmanLuci(Daemon): web='https://git.fedorahosted.org/cgit/luci.git', ml='https://lists.fedorahosted.org/mailman/listinfo/luci-commits', ) - srpm = 'luci' - rpm = 'luci' - rhbz = 'luci' + ids = dict( + srpm='luci', + rpm='luci', + rhbz='luci', + ) class CmanModclusterd(Daemon): @@ -154,12 +164,14 @@ class CmanModclusterd(Daemon): git='git://git.fedorahosted.org/git/conga.git', web='https://git.fedorahosted.org/cgit/conga.git', ) - srpm = 'clustermon' - rpm = 'modcluster' - rhbz = 'clustermon' + ids = dict( + srpm='clustermon', + rpm='modcluster', + rhbz='clustermon', + ) -class CmanModcluster(Executable): +class CmanModcluster(Executable): defaults = dict(( LABEL('modcluster'), )) @@ -169,6 +181,8 @@ class CmanModcluster(Executable): git='git://git.fedorahosted.org/git/conga.git', web='https://git.fedorahosted.org/cgit/conga.git', ) - srpm = 'clustermon' - rpm = 'modcluster' - rhbz = 'clustermon' + ids = dict( + srpm='clustermon', + rpm='modcluster', + rhbz='clustermon', + ) -- cgit