[med-svn] [Git][med-team/community/debian-med-flyer][master] Do not add specific packages maintained in other teams or by other maintainers...

Andreas Tille gitlab at salsa.debian.org
Mon Nov 18 21:51:04 GMT 2019



Andreas Tille pushed to branch master at Debian Med / community / debian-med-flyer


Commits:
c87a8359 by Andreas Tille at 2019-11-18T21:50:21Z
Do not add specific packages maintained in other teams or by other maintainers but rather exclude some packages that are irrelevant for the wordcloud

- - - - -


2 changed files:

- debian-med-wordcloud.py
- packagecloud.png


Changes:

=====================================
debian-med-wordcloud.py
=====================================
@@ -25,7 +25,14 @@ med_tasks = [
     'typesetting',
     ]
 
-other = { }
+exclude = {
+            'gmic',
+            'octave',
+            'r-cran-foreign',
+            'texlive-latex-extra',
+            'texlive-science',
+            'workrave',
+          }
 
 renaming = {
     'python-biopython': 'biopython',
@@ -66,7 +73,7 @@ for t in med_tasks:
         pt = c[name].versions[-1]
         srcname = pt.source_name
         maint = pt.record['maintainer']
-        if 'med' in maint or srcname in other:
+        if name not in exclude:
             # pp = popcon.package(name) # that's "install"
             pp = popcon.package_raw(name)
             srcname = renaming.get(srcname, srcname)
@@ -74,7 +81,6 @@ for t in med_tasks:
 #            tt[srcname] = max(pp[name], tt[srcname])
             tt[srcname] += pp[name].vote * multiplier.get(srcname, 1)
 
-
 frequencies = {}
 tasks = {} # later to be used for color
 for t, p in packages.items():


=====================================
packagecloud.png
=====================================
Binary files a/packagecloud.png and b/packagecloud.png differ



View it on GitLab: https://salsa.debian.org/med-team/community/debian-med-flyer/commit/c87a8359747d8cd4345bce03af762e9a2bebf706

-- 
View it on GitLab: https://salsa.debian.org/med-team/community/debian-med-flyer/commit/c87a8359747d8cd4345bce03af762e9a2bebf706
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20191118/cbe6867b/attachment-0001.html>


More information about the debian-med-commit mailing list