Samuel Verschelde
fad1dbc8a2
Port scripts to python 3
...
The changes are trivial, at first sight.
Signed-off-by: Samuel Verschelde <stormi-xcp@ylix.fr >
2022-08-04 16:47:19 +02:00
Samuel Verschelde
afe47b0fb6
update_vendor_tags.py: don't fail if build is already tagged
...
The built-by-* tag may be set when RPMs are imported and thus already
present. So don't fail in this case.
Signed-off-by: Samuel Verschelde <stormi-xcp@ylix.fr >
2022-03-24 18:20:41 +01:00
Samuel Verschelde
4e38f79f22
koji_import_rpms.py: don't fail if no RPM has SRPMS
...
... provided --create-build is present, of course.
Also display a warning message because in this situation some tags will
not be set on the builds and/or packages.
Signed-off-by: Samuel Verschelde <stormi-xcp@ylix.fr >
2022-03-24 18:19:26 +01:00
Samuel Verschelde
977c32ee26
Enable staging repo in rpmwatcher
...
* Add staging repo
* Enable both testing and staging in the container before installing
anything, to make sure the latest available package is always pulled.
Signed-off-by: Samuel Verschelde <stormi-xcp@ylix.fr >
2022-02-24 11:03:10 +01:00
Samuel Verschelde
ea290bee46
Make scripts/rpmwatcher/sync_repos.sh executable
...
Signed-off-by: Samuel Verschelde <stormi-xcp@ylix.fr >
2022-02-23 15:18:21 +01:00
Samuel Verschelde
ac0200d57b
Generate staging2 repo for 8.2
...
Signed-off-by: Samuel Verschelde <stormi-xcp@ylix.fr >
2022-02-15 18:56:46 +01:00
Samuel Verschelde
cd563cd491
Add example of cron job for mock cleanup on koji server
...
Signed-off-by: Samuel Verschelde <stormi-xcp@ylix.fr >
2022-01-25 17:20:06 +01:00
Samuel Verschelde
d514619b50
Add -s to git commit commands
...
- in scripts/create_rpm_git_repo.py
- in scripts/import_srpm.py
Signed-off-by: Samuel Verschelde <stormi-xcp@ylix.fr >
2022-01-25 17:19:10 +01:00
Samuel Verschelde
138869539f
sync_repo_from_koji.py: generate runx and linstor repos
2021-10-26 16:23:57 +02:00
Samuel Verschelde
a45df47744
Fix koji_garbage_collector.sh: do not GC .deleted files
...
Signed-off-by: Samuel Verschelde <stormi-xcp@ylix.fr >
2021-10-26 16:23:03 +02:00
Samuel Verschelde
1ce5a6c961
Add a staging RPM repository for 8.2
2021-05-18 16:07:18 +02:00
Samuel Verschelde
8d7ee770be
Add koji_garbage_collector.sh script to delete unused files
...
- Removes scratch builds after 90 days
- Removes SRPMs from tasks after 90 days (SRPMs remain available in
tagged builds)
2021-04-09 16:25:23 +02:00
Samuel Verschelde
45126c1343
Fix shebang for scripts/download_centos.py, until ported to python 3
2021-03-18 22:47:01 +01:00
Samuel Verschelde
f4edfe389b
Generate repo 8.2/ipv6
2021-01-29 17:46:18 +01:00
Samuel Verschelde
1183778d5f
Fix shebang of koji_build.py and koji_import_rpms.py
...
Until they're ported to python3, explicitly execute with python2
2021-01-29 15:35:21 +01:00
Samuel Verschelde
e93e872ee5
Switch 8.2 to released status in sync_repo_from_koji.py
2020-11-23 14:29:00 +01:00
Samuel Verschelde
374b580923
Add 8.2 to rpmwatcher
2020-08-10 17:13:34 +02:00
Samuel Verschelde
8770f3657c
import_srpm.py: detect unexpected files in SOURCES directory
2020-07-07 17:42:46 +02:00
Samuel Verschelde
6e9a723918
sync_repo_from_koji.py: add 8.2
2020-07-03 11:58:49 +02:00
Samuel Verschelde
ec9faaf410
Update update_vendor_tags.py for newer koji
...
The output of koji buildinfo has changed.
2020-06-03 10:39:08 +02:00
Samuel Verschelde
8feac1c050
Update sync_repos.sh: add 8.1
2020-01-13 11:15:09 +01:00
Samuel Verschelde
b04d224939
Fix bad "raise" calls in two python scripts from rpmwatcher
2020-01-13 11:14:26 +01:00
Samuel Verschelde
2cb6022837
Add new XS buildhost to update_vendor_tags.py
2020-01-13 11:14:01 +01:00
Samuel Verschelde
dca51f62b2
Update for 8.1
...
- groups-XS.xml
- yum-builddep.log (even if we ultimately didn't use the downloaded RPMs
because we took a shortcut and reused most CentOS and EPEL RPMs from XCP-ng 8.0)
- sync_repo_from_koji.py updated to let it produce RPM repos for XCP-ng 8.1
2020-01-10 14:02:04 +01:00
Samuel Verschelde
a00e6c023c
import_srpm.py: check for untracked files and tolerate empty SOURCES/
2019-12-20 16:19:06 +01:00
Samuel Verschelde
30102327bf
Improve extraction and display of roles
...
- not just one role per RPM, gather them all and sort later
- various improvements
2019-12-04 16:48:44 +01:00
Samuel Verschelde
00daeebcb6
Update compare_packages.py
...
- Fix missing print of removed packages
- Display file lists for added and removed packages
2019-11-28 15:55:35 +01:00
Samuel Verschelde
efbf3587e3
Run docker as privileged
2019-10-15 13:21:28 +02:00
Samuel Verschelde
ba767d60f5
rpmwatcher: add detection and notification of updates in CentOS and EPEL
2019-10-11 17:04:55 +02:00
Samuel Verschelde
59c192b9b3
rpmwatcher: move reports to a reports/ subdirectory
2019-10-11 17:04:25 +02:00
Samuel Verschelde
56dcf97a6d
Update rpmwatcher's README.md
2019-10-11 15:29:45 +02:00
Samuel Verschelde
efad01de09
Update rpmwatcher
...
- quieter output
- do not try to attach STDIN to the docker container
2019-10-11 15:26:49 +02:00
Samuel Verschelde
a9acdd0a56
Update rpmwatcher scripts
...
- add run.sh
- add README.md
- create directories in sync_repos.sh
2019-10-11 14:57:07 +02:00
Samuel Verschelde
f291050f55
Add rpmwatcher
...
Collection of scripts that gather information about our RPMs, those from
CentOS and EPEL, dependencies, roles, and produce reports.
2019-10-10 12:12:24 +02:00
benjamreis
6b0a56f01b
fix(koji_build.py): Use /usr/bin/env
2019-09-04 15:30:04 +02:00
Samuel Verschelde
4fe85f02d7
Fix koji_build.py for use with git repos cloned with https://
2019-07-12 12:23:29 +02:00
Samuel Verschelde
27d7c17619
update_vendor_tags.py: fix variable name
...
bootstrap should be is_bootstrap
Fixes https://github.com/xcp-ng/xcp/issues/205
2019-06-24 11:21:02 +02:00
Samuel Verschelde
70110a3d2c
download_centos.py: do not try to create directory if exists
2019-06-04 12:36:17 +02:00
Samuel Verschelde
dd46e3f4f1
download_centos.py: create destination directory if doesn't exist
2019-06-03 13:55:58 +02:00
Samuel Verschelde
051d7962f5
Add new buildhost for XS
2019-05-17 11:43:44 +02:00
Samuel Verschelde
875554e5e8
Add retire_rpm_git_repo.py
...
Script used to retire RPM git repositories when not used anymore.
2019-05-10 16:10:30 +02:00
Samuel Verschelde
53e87efee1
sync_repo_from_koji.py: write temp repo outside the repo tree
2019-05-09 11:18:15 +02:00
Samuel Verschelde
32b6ab5f82
sync_repo_from_koji.py: add missing return
2019-05-09 10:46:41 +02:00
Samuel Verschelde
5cb2fb44bd
update_vendor_tags.py: add a build host for XS
2019-05-07 16:09:53 +02:00
Samuel Verschelde
0192c43e8a
sync_repo_from_koji.py: add 8.0 and add a lock mechanism
...
The lock mechanism (a simple lock file) is here to avoid having the
script run twice or more at the same time.
2019-05-07 16:08:50 +02:00
Samuel Verschelde
2ea79106a9
koji_import_rpms.py: add --create-build parameter to import RPMs without SRPMS
2019-05-07 16:07:49 +02:00
Samuel Verschelde
93a4b276e4
Improve update_vendor_tags.py
...
Decide based on buildhost first, then Vendor.
Accept 'XCP-ng community' as vendor for built-by-xcp-ng.
2019-03-29 19:04:00 +01:00
Samuel Verschelde
54c1ffa0c9
koji_build.py: add --nowait argument and fix error message
2019-03-28 14:06:35 +01:00
Samuel Verschelde
64e9559493
Add koji_build.py to make building easier (especially chained builds)
2019-03-26 14:56:30 +01:00
Samuel Verschelde
1b6d883835
import_rpms.py renamed into koji_import_rpms.py
2019-03-26 14:56:30 +01:00