Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Odevzdávací Systém MO
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
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
Martin Mareš
Odevzdávací Systém MO
Merge requests
!97
Import orgů
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Import orgů
jk/import-orgu
into
devel
Overview
63
Commits
36
Changes
20
Merged
Import orgů
Jiří Kalvoda
requested to merge
jk/import-orgu
into
devel
Sep 28, 2021
Overview
60
Commits
36
Changes
44
0
0
Merge request reports
Compare
version 8
version 32
5b7b328b
Oct 6, 2021
version 31
6e780581
Oct 6, 2021
version 30
c5daaa8d
Oct 6, 2021
version 29
b4bb4965
Oct 6, 2021
version 28
4e37d32d
Oct 6, 2021
version 27
67c907cc
Oct 6, 2021
version 26
52f3a7c4
Oct 6, 2021
version 25
9823fb53
Oct 6, 2021
version 24
7b7a4725
Oct 6, 2021
version 23
f6d5ee56
Oct 6, 2021
version 22
35a841cf
Oct 6, 2021
version 21
ccf57a9d
Oct 5, 2021
version 20
1b306d5b
Oct 4, 2021
version 19
befd1c65
Oct 4, 2021
version 18
3dedb72d
Oct 4, 2021
version 17
0b53c752
Oct 4, 2021
version 16
54501491
Oct 4, 2021
version 15
ff9401c1
Oct 4, 2021
version 14
daa84713
Oct 4, 2021
version 13
52afbd61
Oct 4, 2021
version 12
cb738ce0
Oct 4, 2021
version 11
31041554
Oct 4, 2021
version 10
b4aba466
Oct 4, 2021
version 9
a47ef346
Oct 3, 2021
version 8
a67c7f8b
Oct 1, 2021
version 7
5069ee50
Sep 30, 2021
version 6
bfde0715
Sep 29, 2021
version 5
bfde0715
Sep 29, 2021
version 4
bfde0715
Sep 28, 2021
version 3
4a895342
Sep 28, 2021
version 2
283cf84b
Sep 28, 2021
version 1
e030a544
Sep 28, 2021
devel (base)
and
version 28
latest version
d683a679
36 commits,
Oct 6, 2021
version 32
5b7b328b
35 commits,
Oct 6, 2021
version 31
6e780581
34 commits,
Oct 6, 2021
version 30
c5daaa8d
33 commits,
Oct 6, 2021
version 29
b4bb4965
32 commits,
Oct 6, 2021
version 28
4e37d32d
30 commits,
Oct 6, 2021
version 27
67c907cc
24 commits,
Oct 6, 2021
version 26
52f3a7c4
24 commits,
Oct 6, 2021
version 25
9823fb53
25 commits,
Oct 6, 2021
version 24
7b7a4725
33 commits,
Oct 6, 2021
version 23
f6d5ee56
35 commits,
Oct 6, 2021
version 22
35a841cf
19 commits,
Oct 6, 2021
version 21
ccf57a9d
18 commits,
Oct 5, 2021
version 20
1b306d5b
17 commits,
Oct 4, 2021
version 19
befd1c65
17 commits,
Oct 4, 2021
version 18
3dedb72d
16 commits,
Oct 4, 2021
version 17
0b53c752
16 commits,
Oct 4, 2021
version 16
54501491
16 commits,
Oct 4, 2021
version 15
ff9401c1
16 commits,
Oct 4, 2021
version 14
daa84713
16 commits,
Oct 4, 2021
version 13
52afbd61
29 commits,
Oct 4, 2021
version 12
cb738ce0
26 commits,
Oct 4, 2021
version 11
31041554
26 commits,
Oct 4, 2021
version 10
b4aba466
26 commits,
Oct 4, 2021
version 9
a47ef346
14 commits,
Oct 3, 2021
version 8
a67c7f8b
13 commits,
Oct 1, 2021
version 7
5069ee50
12 commits,
Sep 30, 2021
version 6
bfde0715
9 commits,
Sep 29, 2021
version 5
bfde0715
9 commits,
Sep 29, 2021
version 4
bfde0715
9 commits,
Sep 28, 2021
version 3
4a895342
9 commits,
Sep 28, 2021
version 2
283cf84b
9 commits,
Sep 28, 2021
version 1
e030a544
9 commits,
Sep 28, 2021
Show latest version
44 files
+
731
−
304
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
44
bin/create-round
+
2
−
0
View file @ 4e37d32d
Edit in single-file editor
Open in Web IDE
Show full file
@@ -10,6 +10,7 @@ parser = argparse.ArgumentParser(description='Založí soutěžní kolo')
parser
.
add_argument
(
'
-y
'
,
'
--year
'
,
type
=
int
,
required
=
True
,
help
=
'
ročník
'
)
parser
.
add_argument
(
'
-c
'
,
'
--cat
'
,
type
=
str
,
required
=
True
,
help
=
'
kategorie
'
)
parser
.
add_argument
(
'
-s
'
,
'
--seq
'
,
type
=
int
,
required
=
True
,
help
=
'
pořadí kola
'
)
parser
.
add_argument
(
'
-C
'
,
'
--code
'
,
type
=
str
,
help
=
'
kód kola (default: roven pořadí)
'
)
parser
.
add_argument
(
'
-l
'
,
'
--level
'
,
type
=
int
,
required
=
True
,
help
=
'
úroveň v hierarchii oblastí
'
)
parser
.
add_argument
(
'
-p
'
,
'
--part
'
,
type
=
int
,
default
=
0
,
help
=
'
část v rámci skupiny kol (default: 0)
'
)
parser
.
add_argument
(
'
-n
'
,
'
--name
'
,
type
=
str
,
required
=
True
,
help
=
'
název kola
'
)
@@ -33,6 +34,7 @@ rnd = db.Round(
year
=
args
.
year
,
category
=
args
.
cat
,
seq
=
args
.
seq
,
code
=
args
.
code
or
str
(
args
.
seq
),
part
=
args
.
part
,
level
=
args
.
level
,
name
=
args
.
name
,
Loading