aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Iurt: Fix getting srpm when stdout is pollutedHEADmasterPascal Terjan2025-03-242-3/+4
| | | | | | | | | | | | | | | | If parsing the spec causes something to be printed, it ends up in stdout together with the result of the query: rpmspec -q --qf %{NVR}.src.rpm --srpm SPECS/golang-x-vuln.spec 2>/dev/null Setting %{thisgofilelist} = devel.file-list Setting %{currentgoipath} = golang.org/x/vuln Setting %{currentgosourcedir} = /home/pterjan/rpmbuild/BUILD/golang-x-vuln-1.1.4-build/vuln-1.1.4 Setting %{currentgofilelist} = devel.file-list Setting %{currentversion} = 1.1.4 Setting %{currentgoldflags} =  -X golang.org/x/vuln/version=1.1.4 golang-x-vuln-1.1.4-1.mga10.src.rpm Work around this by keeping only the last line
* 0.9.30.9.3Pascal Terjan2025-01-032-1/+2
|
* ulri: Fix a crash on build failurePascal Terjan2025-01-032-6/+9
|
* 0.9.20.9.2Jani Välimaa2024-12-222-1/+2
|
* iurt: recreate .src.rpm using --target <arch> to fix installing BRs using ↵Jani Välimaa2024-12-222-1/+2
| | | | %{?_isa} macro on armv7hl
* Log recreate_srpmPascal Terjan2024-12-204-15/+56
| | | | | | | | | | | This unifies logdir name too as some logs were in different directories, and uses the same behaviour for all srpms. Building a src.rpm with svn revision like "@42:foo-42-1.src.rpm" used to use a directory "foo-42-1" while building "foo-42-1.src.rpm" would use the directory "foo-42-1.src.rpm". In order to not break Mageia's build system and UI the first one was picked and they will now both use "foo-42-1".
* Use File::Copy instead of deprecated File::NCopyPascal Terjan2024-12-203-3/+3
|
* Install cancel_build0.9.1Pascal Terjan2024-05-191-2/+1
|
* 0.9.1Pascal Terjan2024-05-192-1/+2
|
* ulri: Add some loggingPascal Terjan2024-04-121-0/+2
|
* Add an utility to cancel a buildPascal Terjan2024-01-016-138/+281
| | | | | | | | | | | | | | Usage: $ cancel_build 20231231211004.pterjan.duvel.1487312 *: [cancel_build] check uploads tree I: [cancel_build] check dir: /var/lib/schedbot/uploads/done I: [cancel_build] check dir: /var/lib/schedbot/uploads/todo I: [cancel_build] Failing 20231231211004.pterjan.duvel.1487312 and cleaning up done architectures I: [cancel_build] Killing process 1146007 on rabbit2 (building for arch "i586") I: [cancel_build] Killing process 2204767 on ecosse0 (building for arch "x86_64") I: [cancel_build] Killing process 3092253 on ociaa1-a (building for arch "aarch64") I: [cancel_build] Killing process 3092165 on ociaa1-b (building for arch "armv7hl")
* Release 0.9.00.9.0Pascal Terjan2023-12-132-1/+2
|
* Remove a call to deprecated egrepPascal Terjan2023-12-131-1/+1
|
* Fix retry delay logicPascal Terjan2023-12-131-2/+2
|
* Limit retries in case of install_deps_failurePascal Terjan2023-12-114-8/+100
| | | | | | | | | | | A new config option (backoff_delays) was added to ulri. It contains a list of delays (in seconds) between retries and default to [5*60, 30*60, 60*60, 120*60] (5m, 30m, 1h, 2h). When reaching the end of the list, we fail permanently. To never retry, set it to []. To retry forever, set it to undef.
* iurt: Use the target dir when rebuilding chrootPascal Terjan2023-12-032-25/+17
| | | | | Currently we when building a tmpdir, making a tar of it, deleting it and then untar into the target.
* iurt: Make generation of the chroot archive more atomicPascal Terjan2023-11-292-0/+9
| | | | | We may still use the wrong chroot but at least the .tar shoudl not be corrupted.
* iurt: Fix / of the chroot belonging to the user instead of rootPascal Terjan2023-11-263-13/+19
|
* Also set target when building package pathPascal Terjan2023-11-261-1/+1
|
* Fix rebuilding perl on armv7hlPascal Terjan2023-11-262-16/+18
|
* Explain the final commands are to be used by packagers rebuilding using BSThierry Vignaud2023-11-211-0/+2
|
* Sort packages.arch.logThierry Vignaud2023-10-012-1/+3
|
* ulri: Fix a crash after build failures0.8.2.2Pascal Terjan2023-02-013-2/+5
|
* Fix syntax checks to use local tree0.8.2.1Pascal Terjan2023-01-303-4/+7
|
* Fix version0.8.2Pascal Terjan2023-01-301-1/+1
|
* Fix some forever retriesPascal Terjan2023-01-302-1/+4
| | | | | | | | | An error was not set when failing in %prep or %generate_buildrequires while trying to generate dynamic buildrequires. This causes iurt to assume it's a retriable install_deps_failure. Set the failure to build_failure when what fails is rpmbuild -br rather than installing the packages.
* 0.8.2Pascal Terjan2023-01-292-1/+2
|
* ulri: Fix syntaxPascal Terjan2023-01-293-3/+4
|
* Add some tests checking the syntax of scriptsPascal Terjan2023-01-292-0/+6
| | | | | The main scripts (iurt/ulri/emi) were not covered by tests, only the libs.
* 0.8.10.8.1Pascal Terjan2023-01-202-1/+2
|
* iurt: Fix detection of missing_dep on DynamicBuildRequiresPascal Terjan2023-01-202-3/+3
| | | | Currently we always get install_deps_failure which is retriable.
* iurt: Cleanup some duplicated codePascal Terjan2023-01-201-17/+14
|
* Small cleanupsPascal Terjan2023-01-202-7/+3
|
* iurt: Fix buildreqs.nosrc.rpm filename on Mageia build systemPascal Terjan2023-01-192-1/+15
|
* Increase robustness when scp fails0.8.0Pascal Terjan2023-01-194-32/+35
| | | | | Do not remove lock file and mark build as done until we copied all the files.
* 0.8.0Pascal Terjan2023-01-192-1/+2
|
* iurt: Add support for DynamicBuildRequiresPascal Terjan2023-01-193-2/+70
| | | | See https://fedoraproject.org/wiki/Changes/DynamicBuildRequires
* Minor cleanupPascal Terjan2023-01-191-4/+3
| | | | No need for 2 variables with the same content.
* Fix matching bogus foobar.spec.licenseThierry Vignaud2022-09-131-1/+1
|
* 0.7.180.7.18Pascal Terjan2022-08-222-2/+3
|
* Fix false positives of iurt dying on the build machinePascal Terjan2022-08-222-1/+2
| | | | | | | | | | | | | sout("foo || bar") was fetching the output of: ssh -x user@host foo || bar instead of: ssh -x user@host "foo || bar" This means we were considering the remote command to have failed when ssh to the machine to check status was failing.
* fix calling clean_chroot()Thierry Vignaud2022-06-112-1/+3
| | | | | | | The call wasn't matching the function signature thus breaking cleaning chroots. Bug introducted in commit 69e74732d254c75adc20afc25a8729ca568be832 I wonder why nobody saw it before ??
* Escape dollars in the messagePascal Terjan2022-06-031-2/+2
|
* 0.7.17.20.7.17.2Pascal Terjan2022-05-012-2/+3
|
* Update NEWSPascal Terjan2022-05-011-0/+2
|
* iurt: Use consistent log directoryPascal Terjan2022-05-011-3/+3
| | | | | | | This never worked on the Mageia buildsystem where $log_dir is not directly $srpm which happens when there is a @...: prefix but commit dcba2bd9a3d11a0f means the failure to write is now detected and causes a crash.
* iurt: Fix src.rpm name (mga#30344)0.7.17.1Pascal Terjan2022-04-263-2/+5
|
* Commit some forgotten testPascal Terjan2022-04-261-0/+60
|
* ulri: Remove duplication on loading lock filePascal Terjan2022-04-262-31/+43
|
* Release 0.7.170.7.17Pascal Terjan2022-04-252-1/+2
|