aboutsummaryrefslogtreecommitdiffstats
path: root/iurt2
Commit message (Collapse)AuthorAgeFilesLines
* check sudo access using a simple sudo command, instead of relying in sudo -lGustavo De Nardin2007-05-121-7/+1
| | | | | output format (which is different between /etc/sudoers and LDAP)
* oops, fix stupid mistakeOlivier Blin2007-03-181-1/+1
|
* explicitely die when the log directory can not be createdOlivier Blin2007-03-181-0/+1
|
* factorize log dirOlivier Blin2007-03-181-3/+4
|
* use login shells when chrooting as userOlivier Blin2007-03-091-2/+2
|
* add per-package build_timeout configuration supportAnssi Hannula2007-03-011-3/+25
|
* Get build user environment when building packagesClaudio Matsuoka2006-12-291-1/+1
| | | | | | | User enviroment read when building packages. This fixes bug #27771 (bash profiles not executed inside iurt). Tested with sipbomber, vtk doesn't need this to build correctly.
* add a use_old_chroot option to have faster test mode; improve the group modeFlorent Villard2006-12-221-33/+80
|
* fix chroot shell PS1Florent Villard2006-12-111-2/+6
|
* add new -p option to specify a different packagerFlorent Villard2006-12-071-1/+4
|
* force to have a repository either in the config file or the command lineFlorent Villard2006-12-061-8/+23
|
* Replaced cryptic regexps for descriptive functions (misc)Claudio Matsuoka2006-12-051-8/+4
|
* Fix relative path handling (again)Claudio Matsuoka2006-12-041-1/+1
| | | | | Now iurt should handle all relative and absolute path cases correctly.
* curl is required for rpmmon to retrieve maintainershipOlivier Blin2006-12-011-6/+26
|
* make enough changes so that perl_chcker run smoothlyThierry Vignaud2006-11-301-6/+7
|
* Adjusted log levelClaudio Matsuoka2006-11-291-3/+3
|
* (send_status_mail) since we redeclare $text, the above loop isThierry Vignaud2006-11-281-155/+152
| | | | | | useless...; kill the doble declaration since it's probably was intended (aka we'll got more logs...)
* don't destroy $_ in callersThierry Vignaud2006-11-281-0/+1
|
* fix obvious bug...Thierry Vignaud2006-11-281-1/+1
|
* (check_media) don't reuse $1, $2, $3 from a previous match if theThierry Vignaud2006-11-281-37/+55
| | | | | regex failled
* Changed error messageClaudio Matsuoka2006-11-141-2/+2
|
* Use pwd instead of ./ for packages without full pathnameClaudio Matsuoka2006-11-141-4/+12
| | | | | | Otherwise when copying the srpm to the chroot it will use ./ from a different cwd.
* Add reminder to notify user in case of srpm recreation errorClaudio Matsuoka2006-11-121-7/+23
|
* Redone some plog and indent changesClaudio Matsuoka2006-11-101-4/+15
|
* Cosmetic fixes: indentantion and 80-column wrapClaudio Matsuoka2006-11-101-8/+14
|
* Cosmetic fixes: indentation and 80-column wrapClaudio Matsuoka2006-11-101-17/+52
|
* added adhoc media handlingFlorent Villard2006-11-091-70/+44
|
* mkpath_p no longer exists, using mkpath instead.Claudio Matsuoka2006-11-091-1/+3
|
* Reindented configuration parameters, fixed plog error.Claudio Matsuoka2006-11-091-53/+153
|
* Using plog for log message.Claudio Matsuoka2006-11-071-2/+17
|
* Cosmetics: minor indentation changesClaudio Matsuoka2006-11-061-8/+20
|
* do not create a log dir for the first srpm; use a more explicit shell in ↵Florent Villard2006-11-061-23/+15
| | | | chroot mode
* Code cleanup: add subroutine to print messages to logClaudio Matsuoka2006-11-031-27/+39
| | | | | | | | | | | | Added plog() to print to log. Parameters are the message or loglevel and message. Typical usage case is plog(1, "reprocess generated packages queue"); which does the same thing as print {$run{LOG}} "$program_name: reprocess generated packages queue\n" if $run{verbose};
* Changing $0 to display readable information in ps outputClaudio Matsuoka2006-11-021-0/+5
| | | | | | | | | | | | | | | | ps(1) output in a build cluster node is very noisy because there are many wrappers and long command lines. Setting Iurt's $0 to a short summary makes it easier to understand what's going on. Additionally, wrapper scripts can be changed to exec the wrapped utility in the same process to further remove noise from the process list. Example of ps output: 9231 ? S 0:00 sshd: mandrake@notty 9232 ? Ss 0:00 Iurt: cooker i586 @73504:perl-IO-All-0.35-3mdv2007.0 9242 ? R 0:05 tar xf /export/home/mandrake//chroot_cooker.i586.tar
* add media in the chroot by defaultFlorent Villard2006-10-241-1/+2
|
* replace old srpm and use the new one; add a missing_dep status; stop if ↵Florent Villard2006-10-231-28/+22
| | | | filesystem is 99% full; do not clean the chroot in debug mode
* move recreate_srpm to Urpmi; scp the resulting packages instead of copy; ↵Florent Villard2006-10-111-85/+17
| | | | clean the chroot after the build
* let the check of the binary and the basesystem packages be configurable0.5.10Florent Villard2006-09-011-6/+16
|
* use $sudo0.5.8Florent Villard2006-08-281-14/+29
|
* - start to use a wrapper for sudo commandsFlorent Villard2006-08-281-69/+64
| | | | | | | | | | - add suboptions to dkms to limit media and kernels - use a special cache file for dkms mode - use the new check_build_chroot functions - use urpmi->install_packages systematically - do not add macros on the initial chroot, it will be done later - move check_chroot functions to Iurt::Chroot
* now running environment is also given to clean_all_unionfsFlorent Villard2006-08-171-177/+18
|
* split some functions in separates modulesFlorent Villard2006-08-081-826/+179
|
* also check for /dev/pts in chroot; add a extra conf for new media; better ↵Florent Villard2006-08-021-90/+151
| | | | unionfs cleaning; fix exclusive arch checking; add new stronger method to install build requires
* fix the --shell mode to correclty update the sudoers fileFlorent Villard2006-06-211-3/+3
|
* switch to perl-RPM4; try to guess missing buildrequires; add find_provides; ↵Florent Villard2006-06-211-29/+79
| | | | add missing_provides to report
* - add a new max_command_retry to limit the number of time iurt will try to ↵Florent Villard2006-06-191-10/+27
| | | | | | | | | | perform a command (in perform_command) - try to fix the maintainer allocation in the 'needed' cache section - try to migrate old cache needed structure from tables to hashes (will need a cleaning mechanism someday) - send less mail - remove the chroot tar after one week
* fix mail formatFlorent Villard2006-06-181-8/+14
|
* - add a new status option to generate summary reportsFlorent Villard2006-06-181-43/+141
| | | | | | | - create a get_maint function to factorise some code - improve missing dependency checking code. Now detect intermediate package which needs to be recompiled (do not recompile them, though, iurt would need to use rpmbuildupdate for that) - kill zombie iurt process when starting
* - save status file more oftenFlorent Villard2006-06-171-131/+163
| | | | | | | | - dump cache when a failure happen - fix check needed random rebuild - use a hash for needed instead of a table - use the general retry mechanism for srpm deps reinstallation
* - begin to add group option to compile several srpm as a setFlorent Villard2006-06-141-210/+429
| | | | | | | | | - fix unionfs dir cleaning - create a function to install srpm - retry to install packages dependencies when urpmi failed, quite often on x86_64 the rpm database get corrupted and rpm does not find correctly which packages are installed - correclty check if a dir is mounted or not - retry several time to umount directory (they can be mounted multiple times)