2009/12/22 Jian Lee
: Hi, Petit
Thanks for your reply, but how to get an worksheet ? and how to use it ? Your first reply is to disable build and publish, I'm sure
Thanks, Adrian
but how to set cycle of 3 ?
I'm hacking the bs_sched script, and want it to drop pkgs which would
be rebuild :
1. read a list file to a perl array which contain all pkgs of my
project:
------------------------------
my $removed_from_relsync = \
"$BSConfig::bsdir/TRepos/removed_from_relsync.list";
open (F,$removed_from_relsync) || die ("Open $removed_from_relsync\
have a error : $!\n");
my @removed_from_relsync;
while(<F>) {chomp;push(@removed_from_relsync,$_);};
close(F);
============
2. at the place that check $reporoot/$prp/$myarch/:logfiles.fail to
drop pkgs , added this:
------------------------------------
if (%relsynctrigger) {
# filter failed packages
for (ls("$reporoot/$prp/$myarch/:logfiles.fail")) {
delete $relsynctrigger{$_};
}
# add a hacking method
# 1. "osc ls GTES:11:U6 > XXX/remove_relsync.list"
# 2. drop pkg from remove_relsync.list
for (@removed_from_relsync) {
delete $relsynctrigger{$_};
print "Delete $_ from rebuild relsync.\n";
}
}
}
======================
I'm testing it, and I'm not sure it should be work correct.
Thanks,
Tuesday 22 December 200916:45:49Adrian Schröter
not my hope.
yes , as Adrian say, it is "horrible" and i believe him, his an better expert of OBS as me :-) About the worksheet, that was an manual one elaborate by the hand :-) Perhaps another horrible and bad idea, but playing with the "buildrequiere" and using an exact revision number ?
revision numbers won't help, but removing dependencies to either break cycles or to reduce the size of the cycle. A cycle of just three packages is way faster bootstrapped than a cycle of 10 for example. -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse- buildservice+help@opensuse.org ---- Jian Lee [ http://jianlee.ylinux.org ] -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org