You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by hu...@apache.org on 2019/08/05 05:29:25 UTC

svn commit: r1864409 - /comdev/reporter.apache.org/trunk/site/wizard/kibble.py

Author: humbedooh
Date: Mon Aug  5 05:29:25 2019
New Revision: 1864409

URL: http://svn.apache.org/viewvc?rev=1864409&view=rev
Log:
tweak subfiltering, some projects may have just left the incubator

Modified:
    comdev/reporter.apache.org/trunk/site/wizard/kibble.py

Modified: comdev/reporter.apache.org/trunk/site/wizard/kibble.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/kibble.py?rev=1864409&r1=1864408&r2=1864409&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/kibble.py (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/kibble.py Mon Aug  5 05:29:25 2019
@@ -41,7 +41,7 @@ def main():
                     "page":"issues",
                     "quick":True,
                     "interval": "week",
-                    "subfilter":"/" + project + ".*\\.git",
+                    "subfilter":"/(?:incubator-)?" + project + ".*\\.git",
                     "distinguish":True
                     }
                  ).json();
@@ -85,7 +85,7 @@ def main():
                     "interval": "month",
                     "from": BEFORE, 
                     "to": int(time.time()),
-                    "subfilter":"/" + project + ".*\\.git",
+                    "subfilter":"/(?:incubator-)?" + project + ".*\\.git",
                     }
                  ).json();
         
@@ -147,7 +147,7 @@ def main():
                     "page":"issues",
                     "quick":True,
                     "interval": "week",
-                    "subfilter":"/" + project + ".*\\.git",
+                    "subfilter":"/(?:incubator-)?" + project + ".*\\.git",
                     }
                  ).json();
         after = [x for x in commits['timeseries'] if x['date'] > BEFORE]
@@ -173,7 +173,7 @@ def main():
                     "from": int(BEFORE - (90*86400)),
                     "to": BEFORE,
                     "interval": "99999d",
-                    "subfilter":"/" + project + ".*\\.git",
+                    "subfilter":"/(?:incubator-)?" + project + ".*\\.git",
                     }
                  ).json()
         authors_a = requests.post('https://demo.kibble.apache.org/api/code/committers',
@@ -187,7 +187,7 @@ def main():
                     "from": BEFORE,
                     "to": int(time.time()),
                     "interval": "99999d",
-                    "subfilter":"/" + project + ".*\\.git",
+                    "subfilter":"/(?:incubator-)?" + project + ".*\\.git",
                     }
                  ).json();
         after = authors_a['timeseries']