Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
quiver-frontend-local
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
subugoe
OCR-D
quiver-frontend-local
Commits
be5a985d
Commit
be5a985d
authored
5 years ago
by
Konstantin Baierer
Browse files
Options
Downloads
Patches
Plain Diff
record whether CLI is OCR-D spec-compliant
parent
f237dd78
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
kwalitee/config.yml
+9
-0
9 additions, 0 deletions
kwalitee/config.yml
kwalitee/repo.py
+3
-1
3 additions, 1 deletion
kwalitee/repo.py
requirements.txt
+1
-1
1 addition, 1 deletion
requirements.txt
with
13 additions
and
2 deletions
kwalitee/config.yml
+
9
−
0
View file @
be5a985d
...
@@ -4,23 +4,32 @@ repodir: /data/ocrd_all
...
@@ -4,23 +4,32 @@ repodir: /data/ocrd_all
repolist
:
repolist
:
-
url
:
https://github.com/ASVLeipzig/cor-asv-ann
-
url
:
https://github.com/ASVLeipzig/cor-asv-ann
official
:
true
official
:
true
compliant_cli
:
true
-
url
:
https://github.com/ASVLeipzig/cor-asv-fst
-
url
:
https://github.com/ASVLeipzig/cor-asv-fst
official
:
true
official
:
true
compliant_cli
:
true
-
url
:
https://github.com/OCR-D/ocrd_calamari
-
url
:
https://github.com/OCR-D/ocrd_calamari
compliant_cli
:
true
-
url
:
https://github.com/OCR-D/ocrd_im6convert
-
url
:
https://github.com/OCR-D/ocrd_im6convert
compliant_cli
:
true
-
url
:
https://github.com/OCR-D/ocrd_keraslm
-
url
:
https://github.com/OCR-D/ocrd_keraslm
-
url
:
https://github.com/OCR-D/ocrd_kraken
-
url
:
https://github.com/OCR-D/ocrd_kraken
-
url
:
https://github.com/OCR-D/ocrd_ocropy
-
url
:
https://github.com/OCR-D/ocrd_ocropy
-
url
:
https://github.com/OCR-D/ocrd_olena
-
url
:
https://github.com/OCR-D/ocrd_olena
compliant_cli
:
true
-
url
:
https://github.com/OCR-D/ocrd_segment
-
url
:
https://github.com/OCR-D/ocrd_segment
compliant_cli
:
true
-
url
:
https://github.com/OCR-D/ocrd_tesserocr
-
url
:
https://github.com/OCR-D/ocrd_tesserocr
official
:
true
official
:
true
compliant_cli
:
true
-
url
:
https://github.com/cisocrgroup/ocrd_cis
-
url
:
https://github.com/cisocrgroup/ocrd_cis
official
:
true
official
:
true
compliant_cli
:
true
-
url
:
https://github.com/mjenckel/LAYoutERkennung
-
url
:
https://github.com/mjenckel/LAYoutERkennung
official
:
true
official
:
true
-
url
:
https://github.com/ocr-d-modul-2-segmentierung/segmentation-runner
-
url
:
https://github.com/ocr-d-modul-2-segmentierung/segmentation-runner
official
:
true
official
:
true
compliant_cli
:
false
-
url
:
https://github.com/qurator-spk/dinglehopper
-
url
:
https://github.com/qurator-spk/dinglehopper
-
url
:
https://github.com/qurator-spk/pixelwise_segmentation_SBB
-
url
:
https://github.com/qurator-spk/pixelwise_segmentation_SBB
-
url
:
https://github.com/seuretm/ocrd_typegroups_classifier
-
url
:
https://github.com/seuretm/ocrd_typegroups_classifier
...
...
This diff is collapsed.
Click to expand it.
kwalitee/repo.py
+
3
−
1
View file @
be5a985d
...
@@ -10,11 +10,12 @@ LOG = getLogger('kwalitee.repo')
...
@@ -10,11 +10,12 @@ LOG = getLogger('kwalitee.repo')
class
Repo
():
class
Repo
():
def
__init__
(
self
,
config
,
url
,
official
=
False
):
def
__init__
(
self
,
config
,
url
,
official
=
False
,
compliant_cli
=
False
):
self
.
url
=
url
self
.
url
=
url
self
.
config
=
config
self
.
config
=
config
self
.
name
=
Path
(
url
).
name
self
.
name
=
Path
(
url
).
name
self
.
official
=
official
self
.
official
=
official
self
.
compliant_cli
=
compliant_cli
self
.
path
=
Path
(
self
.
config
[
'
repodir
'
],
self
.
name
)
self
.
path
=
Path
(
self
.
config
[
'
repodir
'
],
self
.
name
)
def
__str__
(
self
):
def
__str__
(
self
):
...
@@ -75,6 +76,7 @@ class Repo():
...
@@ -75,6 +76,7 @@ class Repo():
desc
=
{}
desc
=
{}
desc
[
'
url
'
]
=
self
.
url
desc
[
'
url
'
]
=
self
.
url
desc
[
'
official
'
]
=
self
.
official
desc
[
'
official
'
]
=
self
.
official
desc
[
'
compliant_cli
'
]
=
self
.
compliant_cli
desc
[
'
org_plus_name
'
]
=
'
/
'
.
join
(
self
.
url
.
split
(
'
/
'
)[
-
2
:])
desc
[
'
org_plus_name
'
]
=
'
/
'
.
join
(
self
.
url
.
split
(
'
/
'
)[
-
2
:])
desc
[
'
name
'
]
=
self
.
name
desc
[
'
name
'
]
=
self
.
name
desc
[
'
files
'
]
=
self
.
get_file_contents
()
desc
[
'
files
'
]
=
self
.
get_file_contents
()
...
...
This diff is collapsed.
Click to expand it.
requirements.txt
+
1
−
1
View file @
be5a985d
click
>=7
click
>=7
ocrd
>= 2.0.0a1
ocrd
pyyaml
pyyaml
requests
requests
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