socketsecurity 0.0.93__tar.gz → 0.0.94__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {socketsecurity-0.0.93/socketsecurity.egg-info → socketsecurity-0.0.94}/PKG-INFO +1 -1
- {socketsecurity-0.0.93 → socketsecurity-0.0.94}/socketsecurity/__init__.py +1 -1
- {socketsecurity-0.0.93 → socketsecurity-0.0.94}/socketsecurity/core/__init__.py +5 -1
- {socketsecurity-0.0.93 → socketsecurity-0.0.94}/socketsecurity/socketcli.py +2 -1
- {socketsecurity-0.0.93 → socketsecurity-0.0.94/socketsecurity.egg-info}/PKG-INFO +1 -1
- {socketsecurity-0.0.93 → socketsecurity-0.0.94}/LICENSE +0 -0
- {socketsecurity-0.0.93 → socketsecurity-0.0.94}/README.md +0 -0
- {socketsecurity-0.0.93 → socketsecurity-0.0.94}/pyproject.toml +0 -0
- {socketsecurity-0.0.93 → socketsecurity-0.0.94}/setup.cfg +0 -0
- {socketsecurity-0.0.93 → socketsecurity-0.0.94}/socketsecurity/core/classes.py +0 -0
- {socketsecurity-0.0.93 → socketsecurity-0.0.94}/socketsecurity/core/exceptions.py +0 -0
- {socketsecurity-0.0.93 → socketsecurity-0.0.94}/socketsecurity/core/git_interface.py +0 -0
- {socketsecurity-0.0.93 → socketsecurity-0.0.94}/socketsecurity/core/github.py +0 -0
- {socketsecurity-0.0.93 → socketsecurity-0.0.94}/socketsecurity/core/gitlab.py +0 -0
- {socketsecurity-0.0.93 → socketsecurity-0.0.94}/socketsecurity/core/issues.py +0 -0
- {socketsecurity-0.0.93 → socketsecurity-0.0.94}/socketsecurity/core/licenses.py +0 -0
- {socketsecurity-0.0.93 → socketsecurity-0.0.94}/socketsecurity/core/messages.py +0 -0
- {socketsecurity-0.0.93 → socketsecurity-0.0.94}/socketsecurity/core/scm_comments.py +0 -0
- {socketsecurity-0.0.93 → socketsecurity-0.0.94}/socketsecurity.egg-info/SOURCES.txt +0 -0
- {socketsecurity-0.0.93 → socketsecurity-0.0.94}/socketsecurity.egg-info/dependency_links.txt +0 -0
- {socketsecurity-0.0.93 → socketsecurity-0.0.94}/socketsecurity.egg-info/entry_points.txt +0 -0
- {socketsecurity-0.0.93 → socketsecurity-0.0.94}/socketsecurity.egg-info/requires.txt +0 -0
- {socketsecurity-0.0.93 → socketsecurity-0.0.94}/socketsecurity.egg-info/top_level.txt +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
__author__ = 'socket.dev'
|
|
2
|
-
__version__ = '0.0.
|
|
2
|
+
__version__ = '0.0.94'
|
|
@@ -22,7 +22,6 @@ from socketsecurity.core.classes import (
|
|
|
22
22
|
)
|
|
23
23
|
import platform
|
|
24
24
|
from glob import glob
|
|
25
|
-
import fnmatch
|
|
26
25
|
import time
|
|
27
26
|
|
|
28
27
|
__all__ = [
|
|
@@ -156,6 +155,11 @@ class Core:
|
|
|
156
155
|
all_new_alerts = True
|
|
157
156
|
Core.set_org_vars()
|
|
158
157
|
|
|
158
|
+
@staticmethod
|
|
159
|
+
def enable_debug_log(level: int):
|
|
160
|
+
global log
|
|
161
|
+
log.setLevel(level)
|
|
162
|
+
|
|
159
163
|
@staticmethod
|
|
160
164
|
def set_org_vars() -> None:
|
|
161
165
|
"""
|
|
@@ -169,7 +169,9 @@ def main_code():
|
|
|
169
169
|
arguments = parser.parse_args()
|
|
170
170
|
debug = arguments.enable_debug
|
|
171
171
|
if debug:
|
|
172
|
+
logging.basicConfig(level=logging.DEBUG)
|
|
172
173
|
log.setLevel(logging.DEBUG)
|
|
174
|
+
Core.enable_debug_log(logging.DEBUG)
|
|
173
175
|
log.debug("Debug logging enabled")
|
|
174
176
|
repo = arguments.repo
|
|
175
177
|
branch = arguments.branch
|
|
@@ -262,7 +264,6 @@ def main_code():
|
|
|
262
264
|
log.debug(f"Getting comments for Repo {scm.repository} for PR {scm.pr_number}")
|
|
263
265
|
comments = scm.get_comments_for_pr(repo, str(pr_number))
|
|
264
266
|
log.debug("Removing comment alerts")
|
|
265
|
-
log.debug("")
|
|
266
267
|
diff.new_alerts = Comments.remove_alerts(comments, diff.new_alerts)
|
|
267
268
|
log.debug("Creating Dependency Overview Comment")
|
|
268
269
|
overview_comment = Messages.dependency_overview_template(diff)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{socketsecurity-0.0.93 → socketsecurity-0.0.94}/socketsecurity.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|