grz-cli 1.2.0__tar.gz → 1.3.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {grz_cli-1.2.0 → grz_cli-1.3.1}/CHANGELOG.md +14 -0
- {grz_cli-1.2.0 → grz_cli-1.3.1}/PKG-INFO +2 -2
- {grz_cli-1.2.0 → grz_cli-1.3.1}/pyproject.toml +1 -1
- grz_cli-1.3.1/src/grz_cli/__init__.py +1 -0
- {grz_cli-1.2.0 → grz_cli-1.3.1}/src/grz_cli/commands/encrypt.py +14 -2
- {grz_cli-1.2.0 → grz_cli-1.3.1}/src/grz_cli/commands/submit.py +1 -1
- grz_cli-1.2.0/src/grz_cli/__init__.py +0 -1
- {grz_cli-1.2.0 → grz_cli-1.3.1}/.gitignore +0 -0
- {grz_cli-1.2.0 → grz_cli-1.3.1}/LICENSE +0 -0
- {grz_cli-1.2.0 → grz_cli-1.3.1}/MANIFEST.in +0 -0
- {grz_cli-1.2.0 → grz_cli-1.3.1}/README.md +0 -0
- {grz_cli-1.2.0 → grz_cli-1.3.1}/src/__init__.py +0 -0
- {grz_cli-1.2.0 → grz_cli-1.3.1}/src/grz_cli/cli.py +0 -0
- {grz_cli-1.2.0 → grz_cli-1.3.1}/src/grz_cli/commands/__init__.py +0 -0
- {grz_cli-1.2.0 → grz_cli-1.3.1}/src/grz_cli/commands/get_id.py +0 -0
- {grz_cli-1.2.0 → grz_cli-1.3.1}/src/grz_cli/commands/upload.py +0 -0
- {grz_cli-1.2.0 → grz_cli-1.3.1}/src/grz_cli/commands/validate.py +0 -0
- {grz_cli-1.2.0 → grz_cli-1.3.1}/src/grz_cli/models/__init__.py +0 -0
- {grz_cli-1.2.0 → grz_cli-1.3.1}/src/grz_cli/models/config.py +0 -0
- {grz_cli-1.2.0 → grz_cli-1.3.1}/src/grz_cli/py.typed +0 -0
- {grz_cli-1.2.0 → grz_cli-1.3.1}/uv.lock +0 -0
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.3.1](https://github.com/BfArM-MVH/grz-tools/compare/grz-cli-v1.3.0...grz-cli-v1.3.1) (2025-10-13)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **grz-cli,grz-common:** check validation progress logs before encrypt ([#411](https://github.com/BfArM-MVH/grz-tools/issues/411)) ([a33b342](https://github.com/BfArM-MVH/grz-tools/commit/a33b342da6f32a59c57acfa067584ac7798f9764))
|
|
9
|
+
|
|
10
|
+
## [1.3.0](https://github.com/BfArM-MVH/grz-tools/compare/grz-cli-v1.2.0...grz-cli-v1.3.0) (2025-10-07)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* **grzctl,grz-cli:** bump required dependencies ([#402](https://github.com/BfArM-MVH/grz-tools/issues/402)) ([9b7e6f6](https://github.com/BfArM-MVH/grz-tools/commit/9b7e6f6e97c603efb335c0e339a3bc08ea2b2da8))
|
|
16
|
+
|
|
3
17
|
## [1.2.0](https://github.com/BfArM-MVH/grz-tools/compare/grz-cli-v1.1.2...grz-cli-v1.2.0) (2025-08-19)
|
|
4
18
|
|
|
5
19
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: grz-cli
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.3.1
|
|
4
4
|
Summary: Tool for validation, encryption and upload of MV submissions to GDCs.
|
|
5
5
|
Project-URL: Homepage, https://github.com/BfArM-MVH/grz-tools
|
|
6
6
|
Project-URL: Repository, https://github.com/BfArM-MVH/grz-tools
|
|
@@ -17,7 +17,7 @@ Requires-Dist: boto3<2,>=1.36
|
|
|
17
17
|
Requires-Dist: click<9,>=8.2
|
|
18
18
|
Requires-Dist: crypt4gh<2,>=1.7
|
|
19
19
|
Requires-Dist: grz-common<2,>=1.3.0
|
|
20
|
-
Requires-Dist: grz-pydantic-models<3,>=2.
|
|
20
|
+
Requires-Dist: grz-pydantic-models<3,>=2.3
|
|
21
21
|
Requires-Dist: jsonschema<5,>=4.23.0
|
|
22
22
|
Requires-Dist: platformdirs<5,>=4.3.6
|
|
23
23
|
Requires-Dist: pydantic-settings<2.10,>=2.9.0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.3.1"
|
|
@@ -18,7 +18,13 @@ log = logging.getLogger(__name__)
|
|
|
18
18
|
@submission_dir
|
|
19
19
|
@config_file
|
|
20
20
|
@force
|
|
21
|
-
|
|
21
|
+
@click.option(
|
|
22
|
+
"--check-validation-logs/--no-check-validation-logs",
|
|
23
|
+
"check_validation_logs",
|
|
24
|
+
default=True,
|
|
25
|
+
help="Check validation logs before encrypting.",
|
|
26
|
+
)
|
|
27
|
+
def encrypt(submission_dir, config_file, force, check_validation_logs):
|
|
22
28
|
"""
|
|
23
29
|
Encrypt a submission.
|
|
24
30
|
|
|
@@ -45,7 +51,12 @@ def encrypt(submission_dir, config_file, force):
|
|
|
45
51
|
with NamedTemporaryFile("w") as f:
|
|
46
52
|
f.write(pubkey)
|
|
47
53
|
f.flush()
|
|
48
|
-
worker_inst.encrypt(
|
|
54
|
+
worker_inst.encrypt(
|
|
55
|
+
f.name,
|
|
56
|
+
submitter_private_key_path=submitter_privkey_path,
|
|
57
|
+
force=force,
|
|
58
|
+
check_validation_logs=check_validation_logs,
|
|
59
|
+
)
|
|
49
60
|
else:
|
|
50
61
|
# This case cannot occur here, but an explicit check is needed for type-checking.
|
|
51
62
|
if config.keys.grz_public_key_path is None:
|
|
@@ -54,6 +65,7 @@ def encrypt(submission_dir, config_file, force):
|
|
|
54
65
|
config.keys.grz_public_key_path,
|
|
55
66
|
submitter_private_key_path=submitter_privkey_path,
|
|
56
67
|
force=force,
|
|
68
|
+
check_validation_logs=check_validation_logs,
|
|
57
69
|
)
|
|
58
70
|
|
|
59
71
|
log.info("Encryption successful!")
|
|
@@ -30,6 +30,6 @@ def submit(ctx, submission_dir, config_file, threads, force):
|
|
|
30
30
|
"""
|
|
31
31
|
click.echo("Starting submission process...")
|
|
32
32
|
ctx.invoke(validate, submission_dir=submission_dir, config_file=config_file, force=force)
|
|
33
|
-
ctx.invoke(encrypt, submission_dir=submission_dir, config_file=config_file, force=force)
|
|
33
|
+
ctx.invoke(encrypt, submission_dir=submission_dir, config_file=config_file, force=force, check_validation_logs=True)
|
|
34
34
|
ctx.invoke(upload, submission_dir=submission_dir, config_file=config_file, threads=threads)
|
|
35
35
|
click.echo("Submission finished!")
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.2.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|