dsimaging-admin 0.3.1__tar.gz → 0.3.2__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dsimaging-admin
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Summary: Admin CLI for managing medical imaging datasets in S3/MinIO for DataSHIELD
5
5
  Project-URL: Homepage, https://github.com/isglobal-brge/dsimaging-admin
6
6
  Project-URL: Repository, https://github.com/isglobal-brge/dsimaging-admin
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "dsimaging-admin"
7
- version = "0.3.1"
7
+ version = "0.3.2"
8
8
  description = "Admin CLI for managing medical imaging datasets in S3/MinIO for DataSHIELD"
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -1,3 +1,3 @@
1
1
  """dsimaging-admin: Admin CLI for managing medical imaging datasets in S3/MinIO."""
2
2
 
3
- __version__ = "0.3.1"
3
+ __version__ = "0.3.2"
@@ -294,7 +294,9 @@ else
294
294
  fi
295
295
 
296
296
  mc version enable "local/${BUCKET_NAME}"
297
- mc cp /dev/null "local/${BUCKET_NAME}/datasets/.keep" 2>/dev/null || true
297
+ mkdir -p /tmp/dsimaging-init
298
+ : > /tmp/dsimaging-init/.keep
299
+ mc cp /tmp/dsimaging-init/.keep "local/${BUCKET_NAME}/datasets/.keep" 2>/dev/null || true
298
300
  mc event add "local/${BUCKET_NAME}" arn:minio:sqs::DSIMAGING:webhook \
299
301
  --event put,delete \
300
302
  --prefix "datasets/" \
File without changes