Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CaosDB Crawler
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
CaosDB Crawler
Commits
600ce5b8
Commit
600ce5b8
authored
2 years ago
by
Alexander Schlemmer
Browse files
Options
Downloads
Patches
Plain Diff
REVIEW: documented change in signature of function save_debug_tree
parent
cd8c3bfe
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!108
Release 0.5.0
,
!104
Create a new scanner module and move functions from crawl module there
Pipeline
#34885
passed with warnings
2 years ago
Stage: info
Stage: setup
Stage: cert
Stage: style
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+3
-0
3 additions, 0 deletions
CHANGELOG.md
src/caoscrawler/crawl.py
+5
-0
5 additions, 0 deletions
src/caoscrawler/crawl.py
with
8 additions
and
0 deletions
CHANGELOG.md
+
3
−
0
View file @
600ce5b8
...
...
@@ -28,6 +28,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
ConverterValidationError when the YAML header cannot be read instead of silently not matching.
-
Refactoring of the crawl.py module: Now there is a separate scanner module handling the
collecting of information that is independent of CaosDB itself.
-
The signature of the function
``save_debug_data``
was changed to explicitely take the debug_tree
as its first argument. This change was necessary, as the debug_tree is no longer saved as
member field of the Crawler class.
### Deprecated ###
...
...
This diff is collapsed.
Click to expand it.
src/caoscrawler/crawl.py
+
5
−
0
View file @
600ce5b8
...
...
@@ -918,6 +918,11 @@ ____________________\n""".format(i + 1, len(pending_changes)) + str(el[3]))
return
res
def
save_debug_data
(
self
,
debug_tree
:
DebugTree
,
filename
:
str
):
"""
Save the information contained in a debug_tree to a file named filename.
"""
paths
:
dict
[
str
,
Union
[
dict
,
list
]]
=
dict
()
def
flatten_debug_info
(
key
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment