Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-advanced-user-tools
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-advanced-user-tools
Commits
8b39eead
Commit
8b39eead
authored
Jun 2, 2021
by
Henrik tom Wörden
Browse files
Options
Downloads
Plain Diff
Merge commit '
b33c9f0b
' into f-openpyxl
parents
9213fee1
b33c9f0b
No related branches found
No related tags found
No related merge requests found
Pipeline
#8081
failed
Jun 2, 2021
Stage: setup
Stage: cert
Stage: style
Stage: unittest
Stage: integrationtest
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
integrationtests/test.sh
+2
-0
2 additions, 0 deletions
integrationtests/test.sh
src/caosadvancedtools/crawler.py
+5
-4
5 additions, 4 deletions
src/caosadvancedtools/crawler.py
with
7 additions
and
4 deletions
integrationtests/test.sh
+
2
−
0
View file @
8b39eead
...
...
@@ -20,10 +20,12 @@ echo "Testing the crawler database"
python3
-m
pytest test_crawler_with_cfoods.py
echo
"make a change"
pushd
extroot
set
+e
egrep
-liRZ
'A description of another example'
.
| xargs
-0
-l
sed
-i
-e
's/A description of another example/A description of this example/g'
# remove a file to check that this does not lead to a crawler crash
mv
DataAnalysis/2010_TestProject/2019-02-03_something/README.xlsx DataAnalysis/2010_TestProject/2019-02-03_something/README.xlsx_back
popd
set
-e
echo
"run crawler"
./crawl.py / |
tee
$OUT
# rename the moved file
...
...
This diff is collapsed.
Click to expand it.
src/caosadvancedtools/crawler.py
+
5
−
4
View file @
8b39eead
...
...
@@ -607,6 +607,7 @@ carefully and if the changes are ok, click on the following link:
logger
.
debug
(
"
No new entities to be inserted.
"
)
else
:
try
:
if
len
(
missing_identifiables
)
>
0
:
logger
.
info
(
"
Inserting {} Records...
"
.
format
(
len
(
missing_identifiables
)))
...
...
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