Browse Source

several additions

Nikolaos Alexopoulos 5 years ago
parent
commit
6f72449b16

+ 1 - 1
plot_functions.py

@@ -251,4 +251,4 @@ def plot_all(src2month, src2sloccount, pkg_with_cvss):
     
     # consider severity (low, medium, high, undefined)
     # Undefined is usual for newly added packages
-    myplotter.plot_all_severity(False,False,True,False)
+    myplotter.plot_all_severity(True,True,True,True)

BIN
vendors/debian/DLA_sum.txt


+ 5 - 1
vendors/debian/DLAmine.py

@@ -1,5 +1,5 @@
 #!/usr/bin/python3
-from .DebianAdvisory import DebianAdvisory as da
+from DebianAdvisory import DebianAdvisory as da
 import re
 import datetime
 from html.parser import HTMLParser
@@ -9,6 +9,7 @@ from pymongo import MongoClient
 import urllib.request
 import logging, sys
 import pickle
+import json
 
 
 def getDLAs():
@@ -66,6 +67,9 @@ def getDLAs():
 
     with open("DLA_sum.txt","wb") as fp:
         pickle.dump(totalDLAsList,fp)
+    
+    with open("src2month_DLA.txt","w") as fp:
+        json.dump(src2monthDLAs,fp)
 
     return(totalDLAsList)
 

File diff suppressed because it is too large
+ 0 - 0
vendors/debian/cache/dsa2cve


File diff suppressed because it is too large
+ 0 - 0
vendors/debian/cache/dsatable


File diff suppressed because it is too large
+ 0 - 0
vendors/debian/cache/src2dsa


+ 1 - 1
vendors/debian/cache/state

@@ -1 +1 @@
-{"cache_dir": "cache/", "vendor": "debian", "next_adv": 4323, "next_fsa": 0, "Packages": "", "Sources": "", "Sha1Sums": ""}
+{"cache_dir": "cache/", "vendor": "debian", "next_adv": 4324, "next_fsa": 0, "Packages": "", "Sources": "", "Sha1Sums": ""}

File diff suppressed because it is too large
+ 0 - 0
vendors/debian/src2month_DLA.txt


Some files were not shown because too many files changed in this diff