From af89655e83f8084d67d52c1dc8269b728b9c38cc Mon Sep 17 00:00:00 2001 From: aramd Date: Tue, 22 Jul 2025 14:47:59 +0400 Subject: [PATCH] update List Patchsets API usage and AlmaLinux 10 info - Document distro filtering support in /admin/api/patchsets/ - Add AlmaLinux 10 installation instructions - Update GPG key information --- docs/eportal-api/README.md | 10 ++++++---- docs/eportal/README.md | 4 ++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/docs/eportal-api/README.md b/docs/eportal-api/README.md index 637dc9ee3..b143c31ce 100644 --- a/docs/eportal-api/README.md +++ b/docs/eportal-api/README.md @@ -390,8 +390,8 @@ curl -X DELETE -u admin https://eportal.corp.com/admin/api/keys/test-key **GET /admin/api/patchsets/** -Endpoint lists available patchsets for a feed and product. -Sort order is from oldest to newest patchsets. +Endpoint lists available patchsets for a specified feed and product, optionally filtered by distribution(s). The distro filter narrows results to only those patchsets that apply to the specified distributions. +If no distro is provided, patchsets for all available distributions are returned. Results are returned from oldest to newest patchsets. Requires read permissions and accepts basic authorization. @@ -400,6 +400,7 @@ Requires read permissions and accepts basic authorization. * `feed`: String, optional. Name of the feed to list patchsets for. `main` by default. * `product`: String, optional. Possible values are: `kernel`, `user`, `qemu`, `db`. Selects a patchstore for a specified product. `kernel` by default. +* `distro`: String (multi), optional. Filters results by one or more Linux distributions. Can be passed multiple times, e.g., `?distro=centos7&distro=almalinux8`. **Response:** @@ -408,7 +409,8 @@ Requires read permissions and accepts basic authorization. "result": [ { "patchset": "patchset-name", - "status": "enabled" // possible values are: enabled, disabled, not-downloaded, undeployed + "status": "enabled", // possible values are: enabled, disabled, not-downloaded, undeployed + "distros": ["distro-1", "distro-2"] }, ... ] @@ -418,7 +420,7 @@ Requires read permissions and accepts basic authorization. **Example:** ``` -curl -u admin 'https://eportal.corp.com/admin/api/patchsets/?feed=main&product=kernel' +curl -u admin 'https://eportal.corp.com/admin/api/patchsets/?feed=main&product=kernel&distro=almalinux8' ``` diff --git a/docs/eportal/README.md b/docs/eportal/README.md index 69b15f42f..221907686 100644 --- a/docs/eportal/README.md +++ b/docs/eportal/README.md @@ -43,7 +43,7 @@ As far as other requirements concerned, we have tested the following configurati If you are installing for the first time, please confirm with our sales engineering team at [sales@tuxcare.com](sales@tuxcare.com) **BEFORE** trying the installation via the documentation below. Please note that support tickets resulting from not following this recommendation will not be accepted. ::: -ePortal is compatible with 64-bit versions of EL7/8/9 based distros like CentOS 7/8, AlmaLinux 8/9, Ubuntu 20.04/22.04/24.04 and Debian 11/12 +ePortal is compatible with 64-bit versions of EL7/8/9 based distros like CentOS 7/8, AlmaLinux 8/9/10, Ubuntu 20.04/22.04/24.04 and Debian 11/12 ### RHEL-based distros @@ -71,7 +71,7 @@ Setup ePortal repo: name=KernelCare ePortal baseurl=https://www.repo.cloudlinux.com/kcare-eportal/\$releasever/\$basearch/ enabled=1 -gpgkey=https://repo.cloudlinux.com/kernelcare/RPM-GPG-KEY-KernelCare +gpgkey=https://repo.cloudlinux.com/kernelcare/RPM-GPG-KEY-KernelCare-rsa4096 gpgcheck=1 EOL ```