Commit Graph
435 Commits
Author SHA1 Message Date
Samuel Verschelde c7b458d07c koji_build.py: fix XCP-ng release detection for test builds
The current code assumes we're in a vX.Y-u- tag, but we can also do test
builds in v8.3-lab.

Signed-off-by: Samuel Verschelde <stormi-xcp@ylix.fr>
2025-09-24 10:41:36 +02:00
Samuel Verschelde ef5283f4e9 Merge pull request #760 from xcp-ng/grant-tool
Add grant table cacheability test tool
2025-09-19 14:34:00 +02:00
Tu Dinh 879b09aa66 Add grant table cacheability test tool
Signed-off-by: Tu Dinh <ngoc-tu.dinh@vates.tech>
2025-09-12 15:02:52 +02:00
Samuel Verschelde 3dede855bb Merge pull request #759 from xcp-ng/gln/host-upgrade-plugin-maintainer-qyuk
Set OS Platform & Release team as maintainer of host-upgrade-plugin
2025-09-10 17:29:23 +02:00
Gaëtan Lehmann 7c043f164e Set OS Platform & Release team as maintainer of host-upgrade-plugin
Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>
2025-09-10 14:36:00 +02:00
Samuel Verschelde 2629ac623f Merge pull request #758 from xcp-ng/gln/koji-build-clean-old-branches-smnl
Only clean old branches when using --pre-build or --test-build
2025-09-10 12:02:14 +02:00
Gaëtan Lehmann 8a91723465 Only clean old branches when using --pre-build or --test-build
This is to prevent koji_build to write to the repository while it wouldn't
need to for a standard build.

Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>
2025-09-10 10:02:57 +02:00
Yann Dirson a15f34c80d Merge pull request #754 from xcp-ng/build-koji-detached-head
build_koji: don't break when starting on a detached head
2025-09-04 11:19:43 +02:00
Samuel Verschelde c81f50378a Merge pull request #753 from xcp-ng/stormi/tix-tk-bluez
Add tk and bluez to packages.json, and update tix
2025-09-01 10:35:15 +02:00
Samuel Verschelde 46691aaa90 Add tk and bluez to packages.json, and update tix
We had to import these to rebuild python2 and python3.

Signed-off-by: Samuel Verschelde <stormi-xcp@ylix.fr>
2025-08-29 16:57:43 +02:00
Yann Dirson d981b4acde build_koji: don't break when starting on a detached head
Signed-off-by: Yann Dirson <yann.dirson@vates.tech>
2025-08-29 16:27:00 +02:00
Samuel Verschelde 673284aa50 Merge pull request #752 from xcp-ng/vmfs6-tools
owners: add vmfs6-tools
2025-08-29 12:14:10 +02:00
Yann Dirson 0e6ddbfdcb owners: add vmfs6-tools
Signed-off-by: Yann Dirson <yann.dirson@vates.tech>
2025-08-29 11:49:46 +02:00
Samuel Verschelde 6ce549b00b Merge pull request #747 from xcp-ng/gln/pkg-owners-update-ysss
Assign some maintainers to some packages with frequent updates
2025-08-28 11:47:10 +02:00
Gaëtan Lehmann 9b1cef662a Assign some maintainers to some packages with frequent updates
in order to avoid pinging everybody on mattermost for each update

Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>
2025-08-25 21:36:33 +02:00
Samuel Verschelde 5f27a5871d Merge pull request #751 from xcp-ng/owners-yumutils
owners: add note to yum-utils
2025-08-25 18:11:27 +02:00
Yann Dirson 67a953f4c4 owners: add note to yum-utils
Signed-off-by: Yann Dirson <yann.dirson@vates.tech>
2025-08-25 16:24:23 +02:00
Samuel Verschelde 8f716c12dd Merge pull request #745 from xcp-ng/gln/user-target-build-options-vowv
Require using --pre-build or --test-build when building with a user target
2025-08-25 16:17:03 +02:00
Gaëtan Lehmann 64e7edfb3e Require using --pre-build or --test-build when building with a user target
Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>
2025-08-11 16:23:16 +02:00
Samuel Verschelde 60dcc93fa1 scripts/koji/koji_import_rpms.py: fix python3 execution
Signed-off-by: Samuel Verschelde <stormi-xcp@ylix.fr>
2025-08-07 19:21:19 +02:00
Samuel Verschelde 47b4417b84 Merge pull request #741 from xcp-ng/gln/openssl-compat-packages-rxrx
Add openssl-compat-10 to packages.json
2025-08-05 10:42:18 +02:00
Gaëtan Lehmann 01da5795fe Add openssl-compat-10 to packages.json
Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>
2025-08-04 16:47:30 +02:00
Pau Ruiz Safont 1b9c715c44 scripts/koji: add more informative error messages for koji_build (#738)
Also fixes fix ruff errors in the directory
2025-08-04 08:45:45 +00:00
Pau Ruiz Safont 319ad7f9d4 scripts/koji: add more informative error messages for koji_build
Signed-off-by: Pau Ruiz Safont <pau.safont@vates.tech>
2025-08-01 14:56:26 +01:00
Pau Ruiz Safont 2346ac3cf7 scripts/koji: fix ruff errors
Signed-off-by: Pau Ruiz Safont <pau.safont@vates.tech>
2025-08-01 14:56:23 +01:00
Samuel Verschelde e4f46196b5 Merge pull request #739 from xcp-ng/gln/merge-package-data-kwwn
Merge packages_provenance.csv and package_status.csv in packages.json
2025-07-31 17:41:08 +02:00
Samuel Verschelde f7b8c4f83c Add kronosnet to packages.json
Signed-off-by: Samuel Verschelde <stormi-xcp@ylix.fr>
2025-07-30 16:53:56 +02:00
Samuel Verschelde fd3991f41a Update packages.json (added_by, note, etc.)
Signed-off-by: Samuel Verschelde <stormi-xcp@ylix.fr>
2025-07-30 12:00:15 +02:00
Gaëtan Lehmann 797199768b Fix missing added_by field in some packages
Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>
2025-07-29 15:02:04 +02:00
Gaëtan Lehmann ee4febf420 Merge packages_provenance.csv and package_status.csv in packages.json
Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>
2025-07-29 08:53:15 +02:00
Yann Dirson 0e7c25f7c8 Merge pull request #731 from xcp-ng/isoremaster-improve-samples
iso-remaster: improve samples, show how to add answerfile in ISO
2025-07-21 17:59:41 +02:00
Gaëtan Lehmann 269ebd0565 Merge pull request #737 from xcp-ng/gln/storage-xcpng-generic-lib-wqqt 2025-07-21 15:20:08 +02:00
Gaëtan Lehmann 087b94c87b Give maintainership of xcp-ng-generic-lib to the storage team
Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>
2025-07-21 08:36:12 +02:00
Yann Dirson dcc338523b Merge pull request #728 from xcp-ng/gln/build-last-commit-protected-uzyx
Ensure to build the last commit of the expected branch for protected targets
2025-07-17 16:42:13 +02:00
Samuel Verschelde 2648316f99 Merge pull request #735 from xcp-ng/stormi/license
Create LICENSE
2025-07-17 12:32:47 +02:00
Samuel Verschelde e510c22238 Merge pull request #734 from xcp-ng/stormi/koji-python3
Make koji scripts compatible with python 3
2025-07-16 15:31:07 +02:00
Samuel Verschelde 16d437b291 Adapt two more koji-related python scripts to python 3
Just updating the shebang and removing the print_function import.

Signed-off-by: Samuel Verschelde <stormi-xcp@ylix.fr>
2025-07-16 15:29:35 +02:00
Samuel Verschelde 8bb732afb7 Create LICENSE
No explicit license was documented for the scripts in this repository. Add one. This only applies to the contents of this repository.

Signed-off-by: Samuel Verschelde <stormi-xcp@ylix.fr>
2025-07-16 14:49:40 +02:00
Samuel Verschelde 4649ecf872 Make koji scripts compatible with python 3
Following the upgrade of the koji server, we can at last convert the
scripts to python 3.

Some scripts not re-enabled yet on the server might need to be ported
too.

Signed-off-by: Samuel Verschelde <stormi-xcp@ylix.fr>
2025-07-16 11:43:58 +02:00
Yann Dirson 1ac59c366b iso-remaster: add samples for including answerfile inside ISO
Signed-off-by: Yann Dirson <yann.dirson@vates.tech>
2025-07-10 14:47:17 +02:00
Yann Dirson a1b98730e3 iso-remaster: cleanup samples
Hopefully makes sample snippets easier to use.

Signed-off-by: Yann Dirson <yann.dirson@vates.tech>
2025-07-10 14:47:17 +02:00
dinhngtu 73314df0cd Merge pull request #715 from xcp-ng/dnt/upload-bugtool
scripts: Add upload_bugtool.py
2025-07-07 21:54:27 +02:00
Tu Dinh e4c9a972b4 remove version_lt version comparer
Signed-off-by: Tu Dinh <ngoc-tu.dinh@vates.tech>
2025-07-07 15:41:50 +02:00
Tu Dinh d235180905 scripts: Add upload_bugtool.py
Signed-off-by: Tu Dinh <ngoc-tu.dinh@vates.tech>
2025-07-07 15:41:15 +02:00
Gaëtan Lehmann 4ba9c1e25a Build protected targets from the latest commit of their intended branch
Ensures that packages for protected targets (e.g., v8.3-incoming from
master, v8.2-incoming from 8.2) are built directly from the latest
commit of their respective target branch.

This prevent from building a package from sources that may not be in
the intended branch.

This prevents another common issue where a PR is merged into the target
branch but the build uses the PR branch's commit. Such builds omit the
merge commit, leading to the PR appearing in subsequent build reports
despite being effectively integrated.

A --force option is added to bypass these checks, for the few cases
for which it is valid to not build the last commit of the intended
branch.

Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>
2025-07-02 10:48:35 +02:00
Gaëtan Lehmann 9945fe7c7c Merge pull request #727 from xcp-ng/gln/pkg-missing-maintainer-qsvk 2025-07-01 17:29:41 +02:00
Gaëtan Lehmann 8b636cf70f Merge pull request #720 from xcp-ng/gln/cache-refresh-option-srwq 2025-07-01 17:27:53 +02:00
Gaëtan Lehmann 0ada6cd12c use generator comprehension instead of a list comprehension
where we don't need an actual list

Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>
2025-07-01 17:26:35 +02:00
Gaëtan Lehmann 2116c4625c Add an option to refresh the cache
it helps debugging the code which produces a cached result

Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>
2025-07-01 17:24:32 +02:00
Samuel Verschelde b3bfeb6cab Merge pull request #719 from xcp-ng/gln/sort-build-tag-timestamp-onvy
Sort the builds based on the tagging timestamp
2025-06-27 17:33:42 +02:00