Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-pylib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
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-pylib
Merge requests
!21
ENH: add json schema validation for config files
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
ENH: add json schema validation for config files
f-validate-config
into
dev
Overview
0
Commits
10
Pipelines
3
Changes
14
Merged
Henrik tom Wörden
requested to merge
f-validate-config
into
dev
3 years ago
Overview
0
Commits
10
Pipelines
3
Changes
14
Expand
https://gitlab.com/caosdb/caosdb-pylib/-/merge_requests/47
0
0
Merge request reports
Compare
dev
version 2
e5a041e1
3 years ago
version 1
bd8c9859
3 years ago
dev (base)
and
latest version
latest version
6f01a382
10 commits,
3 years ago
version 2
e5a041e1
9 commits,
3 years ago
version 1
bd8c9859
8 commits,
3 years ago
14 files
+
236
−
7
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
14
Search (e.g. *.vue) (Ctrl+P)
src/caosdb/apiutils.py
+
3
−
3
Options
@@ -517,9 +517,9 @@ def getOriginUrlIn(folder):
@@ -517,9 +517,9 @@ def getOriginUrlIn(folder):
with
open
(
t
.
name
,
"
r
"
)
as
t
:
with
open
(
t
.
name
,
"
r
"
)
as
t
:
urlString
=
"
Fetch URL:
"
urlString
=
"
Fetch URL:
"
for
l
in
t
.
readlines
():
for
l
ine
in
t
.
readlines
():
if
urlString
in
l
:
if
urlString
in
l
ine
:
return
l
[
l
.
find
(
urlString
)
+
len
(
urlString
):].
strip
()
return
l
ine
[
line
.
find
(
urlString
)
+
len
(
urlString
):].
strip
()
return
None
return
None
Loading