From 4a676aa1958e40260124f8f3279ad0af070d6111 Mon Sep 17 00:00:00 2001 From: magdev Date: Sun, 1 Feb 2026 15:44:25 +0100 Subject: [PATCH] Use path repository with version alias for CI compatibility - Remove VCS repository (CI cannot access private Gitea server) - Add version alias to path repository for wc-licensed-product-client - Lock file now uses submodule directly without network access Co-Authored-By: Claude Opus 4.5 --- composer.json | 10 ++++------ composer.lock | 17 ++++++++++------- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/composer.json b/composer.json index 24aa8af..d5eed32 100644 --- a/composer.json +++ b/composer.json @@ -18,14 +18,12 @@ { "type": "path", "url": "lib/wc-licensed-product-client", - "canonical": false, "options": { - "symlink": false + "symlink": false, + "versions": { + "magdev/wc-licensed-product-client": "0.2.2" + } } - }, - { - "type": "vcs", - "url": "https://src.bundespruefstelle.ch/magdev/wc-licensed-product-client.git" } ], "require": { diff --git a/composer.lock b/composer.lock index 0698afe..567848b 100644 --- a/composer.lock +++ b/composer.lock @@ -4,15 +4,15 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "43c2814217974c30faf49971e114e0c0", + "content-hash": "3cacd9c609c3c49fb4600d09a38c04be", "packages": [ { "name": "magdev/wc-licensed-product-client", - "version": "v0.2.2", - "source": { - "type": "git", - "url": "https://src.bundespruefstelle.ch/magdev/wc-licensed-product-client.git", - "reference": "56abe8a97c72419c07a6daf263ba6f4a9b5fe4b1" + "version": "0.2.2", + "dist": { + "type": "path", + "url": "lib/wc-licensed-product-client", + "reference": "818f0330276ecdb1d90edea94da3de3728bb4ada" }, "require": { "php": "^8.3", @@ -51,7 +51,10 @@ "issues": "https://src.bundespruefstelle.ch/magdev/wc-licensed-product-client/issues", "source": "https://src.bundespruefstelle.ch/magdev/wc-licensed-product-client" }, - "time": "2026-01-28T10:56:47+00:00" + "transport-options": { + "symlink": false, + "relative": true + } }, { "name": "promphp/prometheus_client_php",