From 33ecd5695b034ae47bc760758a399404bd328e80 Mon Sep 17 00:00:00 2001 From: Karolina Przerwa Date: Thu, 23 Jul 2026 19:02:43 +0200 Subject: [PATCH] chore(setup): pin xrootdpyfs --- cds_migrator_kit/rdm/records/transform/transform.py | 11 +++++++++-- scripts/copy_collection_files.py | 4 ++-- setup.cfg | 1 + 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/cds_migrator_kit/rdm/records/transform/transform.py b/cds_migrator_kit/rdm/records/transform/transform.py index 13320266..9b456df4 100644 --- a/cds_migrator_kit/rdm/records/transform/transform.py +++ b/cds_migrator_kit/rdm/records/transform/transform.py @@ -1102,8 +1102,15 @@ def run(self, entries): for entry in entries: if self.should_skip(entry): - if current_app.config["CDS_MIGRATOR_KIT_ENV"] == "local": - current_app.logger.warning(f"Skipping entry {entry['recid']}") + recid = entry["recid"] + self.migration_logger.add_information( + recid, + { + "message": "Record already migrated, skipping", + "value": recid, + }, + ) + self.migration_logger.finalise_record(recid) continue try: yield self._transform(entry) diff --git a/scripts/copy_collection_files.py b/scripts/copy_collection_files.py index d873e56e..e6302bb3 100644 --- a/scripts/copy_collection_files.py +++ b/scripts/copy_collection_files.py @@ -62,8 +62,8 @@ def get_dump_files_paths(json_dump_dir): return dump_files -collection = "former_exp/ua2" -environment = "dev" +collection = "lep/ep/l3" +environment = "sandbox" destination_prefix = "/eos/media/cds/cds-rdm/{0}/migration/{1}/files".format( environment, collection diff --git a/setup.cfg b/setup.cfg index 4e8d5cad..3e12fe38 100644 --- a/setup.cfg +++ b/setup.cfg @@ -28,6 +28,7 @@ install_requires = python-Levenshtein>=0.25.1 # needed to run the server gunicorn + xrootdpyfs>=2.0.0,<3.0.0 [options.extras_require] rdm =