From d00c7742e3983ceb0c7561f649ca4038cb78c461 Mon Sep 17 00:00:00 2001 From: Aida Jafarbigloo Date: Thu, 19 Feb 2026 14:48:31 +0100 Subject: [PATCH 1/5] Update HERMES package reference to new branch --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 7c3ebb7..950072f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -12,5 +12,5 @@ GitPython>=3.1.41 # Git-based packages pinned to specific commits/branches git+https://github.com/softwarepub/hermes-plugin-github-gitlab -git+https://github.com/Aidajafarbigloo/hermes@14fc040afd4b7f7268b937477dce56bd7695fbf3#egg=hermes +git+https://github.com/Aidajafarbigloo/hermes.git@feature/harvesting-metadata-from-a-provided-repository-URL-via-cloning#egg=hermes From b629a2827c52f4ca798b3401400605b5c2e9a1dd Mon Sep 17 00:00:00 2001 From: Aida Jafarbigloo Date: Thu, 19 Feb 2026 17:12:42 +0100 Subject: [PATCH 2/5] Modify run_hermes_commands Updated the run_hermes_commands function to include 'token' in the harvest command and 'url' instead of 'path'. --- meta_creator/hermes_process.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meta_creator/hermes_process.py b/meta_creator/hermes_process.py index 8d41b7e..b1871e9 100644 --- a/meta_creator/hermes_process.py +++ b/meta_creator/hermes_process.py @@ -5,7 +5,6 @@ from .token_handling_in_toml import update_token_to_toml, remove_token_from_toml from .utils import merge_people_metadata -# hermes_utils.py def run_hermes_commands(url, token=None): errors = [] @@ -21,7 +20,7 @@ def run_hermes_commands(url, token=None): # Step 2: Run hermes harvest with the specified URL print("Running hermes harvest with URL...") - harvest_process = subprocess.run(['hermes', 'harvest', '--path', url], capture_output=True, text=True, cwd=base_directory) + harvest_process = subprocess.run(['hermes', 'harvest', '--url', url, '--token', token], capture_output=True, text=True, cwd=base_directory) hermes_dir = os.path.join(base_directory, ".hermes", "harvest") # Print harvested files @@ -181,4 +180,3 @@ def run_hermes_commands(url, token=None): 'errors': errors, 'metadata': hermes_metadata_dict if hermes_metadata_dict else {} } - From 20ba330438c2ce923751d987a7802d871a4d766e Mon Sep 17 00:00:00 2001 From: Aida Jafarbigloo Date: Fri, 20 Feb 2026 11:32:47 +0100 Subject: [PATCH 3/5] Update Python image version to 3.11 --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3166d7c..60122af 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -38,4 +38,4 @@ test_job: # - echo "$CI_PERSONAL_TOKEN_KEY_GL" - python manage.py test tests -image: python:3.10 +image: python:3.11 From 9fcafe779626d630b646d411cc8f7e0e2dc79c72 Mon Sep 17 00:00:00 2001 From: Aida Jafarbigloo Date: Fri, 20 Feb 2026 11:41:06 +0100 Subject: [PATCH 4/5] Upgrade Python version from 3.10 to 3.11 --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0bf3d9d..295c736 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,10 +16,10 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Set up Python 3.10 + - name: Set up Python 3.11 uses: actions/setup-python@v2 with: - python-version: "3.10" + python-version: "3.11" - name: Cache pip dependencies uses: actions/cache@v4 @@ -58,10 +58,10 @@ jobs: uses: actions/checkout@v4 - - name: Set up Python 3.10 + - name: Set up Python 3.11 uses: actions/setup-python@v2 with: - python-version: "3.10" + python-version: "3.11" - name: Install dependencies run: | @@ -74,4 +74,4 @@ jobs: source env/bin/activate echo "$GL_URL" echo "$GH_URL" - python manage.py test tests \ No newline at end of file + python manage.py test tests From 560eb484ffa86b1e2eaede9af36228bf34afc181 Mon Sep 17 00:00:00 2001 From: Aida Jafarbigloo Date: Tue, 2 Jun 2026 15:23:37 +0200 Subject: [PATCH 5/5] Upgrade python-gitlab version to 8.4.0 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 950072f..64f369a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,7 +7,7 @@ pyyaml>=6.0 pyld==2.0.3 # Git integration libraries -python-gitlab==3.13.0 +python-gitlab==8.4.0 GitPython>=3.1.41 # Git-based packages pinned to specific commits/branches