From 46cf0c55897a947e39e7f7746bacfb71fb36e0ba Mon Sep 17 00:00:00 2001 From: Gang Li Date: Wed, 29 Oct 2025 09:07:59 +0800 Subject: [PATCH 1/3] Update version to 1.3.5 --- charon.spec | 2 +- pyproject.toml | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charon.spec b/charon.spec index 95eb21a9..c6e38705 100644 --- a/charon.spec +++ b/charon.spec @@ -1,7 +1,7 @@ %global owner Commonjava %global modulename charon -%global charon_version 1.3.4 +%global charon_version 1.3.5 %global sdist_tar_name %{modulename}-%{charon_version} %global python3_pkgversion 3 diff --git a/pyproject.toml b/pyproject.toml index cd439657..c0735696 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ requires = ["setuptools", "setuptools-scm"] [project] name = "charon" -version = "1.3.4" +version = "1.3.5" authors = [ {name = "RedHat EXD SPMM"}, ] diff --git a/setup.py b/setup.py index 5c37fc84..eb9b51fb 100755 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ """ from setuptools import setup, find_packages -version = "1.3.4" +version = "1.3.5" long_description = """ This charon is a tool to synchronize several types of From 57f74132525505d314b96fb1f66cd739f6966722 Mon Sep 17 00:00:00 2001 From: Gang Li Date: Wed, 29 Oct 2025 09:39:34 +0800 Subject: [PATCH 2/3] Update charon.spec for release notes --- charon.spec | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/charon.spec b/charon.spec index c6e38705..4e68547b 100644 --- a/charon.spec +++ b/charon.spec @@ -64,6 +64,25 @@ export LANG=en_US.UTF-8 LANGUAGE=en_US.en LC_ALL=en_US.UTF-8 %changelog +* Wed Oct 29 2025 Gang Li +- 1.3.5 release +- Support recursive indexing for index function +- Accept multiple maven zips for uploading + +* Mon Jun 23 2025 Gang Li +- 1.3.4 release +- Add --version flag to support version check +- Bug fix: MMENG-4362 re-sort the indexing page items +- Add pyproject.toml + +* Mon Dec 16 2024 Gang Li +- 1.3.3 release +- Bug fix: MMENG-4284 npm del error when deleting a package which has overlapped name with others + +* Wed Jul 10 2024 Gang Li +- 1.3.2 release +- Container file update + * Tue May 7 2024 Gang Li - 1.3.1 release - Add checksum refresh command: refresh checksum files for maven artifacts From 1dad8793da6c1f06cf8a96fae1a3da0113d97bb0 Mon Sep 17 00:00:00 2001 From: Gang Li Date: Wed, 29 Oct 2025 09:51:50 +0800 Subject: [PATCH 3/3] Update README --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c0cb8377..7b9e9cd3 100644 --- a/README.md +++ b/README.md @@ -53,12 +53,14 @@ to configure AWS access credentials. ### charon-upload: upload a repo to S3 ```bash -usage: charon upload $tarball --product/-p ${prod} --version/-v ${ver} [--root_path] [--ignore_patterns] [--debug] [--contain_signature] [--key] +usage: charon upload $tarball [$tarball*] --product/-p ${prod} --version/-v ${ver} [--root_path] [--ignore_patterns] [--debug] [--contain_signature] [--key] ``` This command will upload the repo in tarball to S3. It will auto-detect if the tarball is for maven or npm +**New in 1.3.5**: For Maven archives, this command now supports uploading multiple zip files at once. When multiple Maven zips are provided, they will be merged intelligently, including proper handling of archetype catalog files and duplicate artifact detection. + * For maven type, it will: * Scan the tarball for all paths and collect them all. @@ -99,11 +101,13 @@ This command will delete some paths from repo in S3. ### charon-index: refresh the index.html for the specified path ```bash -usage: charon index $PATH [-t, --target] [-D, --debug] [-q, --quiet] +usage: charon index $PATH [-t, --target] [-D, --debug] [-q, --quiet] [--recursive] ``` This command will refresh the index.html for the specified path. +**New in 1.3.5**: Added `--recursive` flag to support recursive indexing under the specified path. + * Note that if the path is a NPM metadata path which contains package.json, this refreshment will not work because this type of folder will display the package.json instead of the index.html in http request. ### charon-cf-check: check the invalidation status of the specified invalidation id for AWS CloudFront