Commit Graph
267 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
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
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 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
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
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
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
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 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 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 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 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 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
Samuel Verschelde 8d3edb468e Merge pull request #718 from xcp-ng/gln/pkg-reduce-debug-klol
Add options to reduce the number of packages to process
2025-06-27 17:33:09 +02:00
Samuel Verschelde ac198508b5 Merge pull request #723 from xcp-ng/gln/pkg-in-pipe-wnsy
Don't match the repository name in the merge commit
2025-06-27 17:32:37 +02:00
Gaëtan Lehmann ec59c9661d Merge pull request #726 from xcp-ng/gln/host-installer-maintainer-wwto 2025-06-26 15:38:23 +02:00
Gaëtan Lehmann 192c346511 Fix missing maintainer for packages without repository
Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>
2025-06-18 09:39:54 +02:00
Gaëtan Lehmann ae4a15965c Sort the build based on the tagging timestamp
Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>
2025-06-17 15:59:43 +02:00
Gaëtan Lehmann a48a1f1e9a Add options to reduce the number of packages to process
and ease the debugging

Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>
2025-06-17 15:59:43 +02:00
Gaëtan Lehmann 9e577ecfcb Don't match the repository name in the merge commit
some PR may come from forked repositories

Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>
2025-06-17 15:59:43 +02:00
Gaëtan Lehmann a2709d495f add host-installer maintainer
Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>
2025-06-17 15:50:22 +02:00
Gaëtan Lehmann 9d1eb15112 Merge pull request #721 from xcp-ng/gln/tag-name-anchors-pprt 2025-06-06 14:29:31 +02:00
Gaëtan Lehmann 40537fd2c3 Add anchors on the tag names
Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>
2025-06-04 22:41:35 +02:00
Gaëtan Lehmann 52b17235fa Issues that explicitly mention the build in italic
Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>
2025-06-04 22:41:35 +02:00
Gaëtan Lehmann 702e96ee36 Add maintainers for the new packages in v8.3-updates
Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>
2025-05-26 17:23:53 +02:00
Gaëtan Lehmann 1af4291236 Display generation time
Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>
2025-05-22 22:45:51 +02:00