Re: 8000 packages in the NCP2 repo: 3200 missing

2008-12-29 Thread Erast Benson
BTW, 9300 packages imported now. 3700 missing...

On Sun, 2008-12-28 at 10:27 -0500, Tim Spriggs wrote:
 I think we need to wait and see what happens when main is enabled for 
 builds before we can judge what will happen ultimately with depends.

Right. This make sense to fix prior to addressing the rest of it.

  I 
 don't think having packages with unmet depends in the unstable 
 repository is a bad thing. I think in the worst scenario we can simply 
 migrate known good packages to testing/stable and leave unmet packages 
 in unstable. Having the packages there helps to get people involved: if 
 they want to use the package they can help satisfy a few depends.

+1

I generally agree with this statement. I forgot that testing is not
yet propagated, so we can use this... Good idea.

I wonder if we could utilize apt-get's ordering simulation, i.e. to
verify if package A is good do this in a script:

if apt-get install -s A; then
echo A: good
upload hardy-testing A
else
echo A: bad ...
fi

___
gnusol-devel mailing list
gnusol-devel@lists.sonic.net
http://lists.sonic.net/mailman/listinfo/gnusol-devel


Re: 8000 packages in the NCP2 repo: 3200 missing

2008-12-29 Thread Tim Spriggs

Erast Benson wrote:

BTW, 9300 packages imported now. 3700 missing...
  
Wahoo! The crap is comin' in with full force! Time to implement more 
checks I suppose.



I wonder if we could utilize apt-get's ordering simulation, i.e. to
verify if package A is good do this in a script:

if apt-get install -s A; then
echo A: good
upload hardy-testing A
else
echo A: bad ...
fi
  


Good call. I wonder if we should implement this in the autobuilder since 
it already tracks versions in the repositories. Any bright ideas on how 
to deal with sources in a similar way? Somehow we need to bring sources 
with the binaries and I don't think we should bring over singular 
packages into testing. Should our solution consider multiple arch's for 
the future (when we might have a solaris-sparc port)?


# Assuming we have a magical get_binaries_from_source function:

packages=`get_binaries_from_source $source`
copy_to_testing=1
for pkg in $packages; do
   if  `cant_install $pkg`; then
  copy_to_testing=0
   fi
done
if $copy_to_testing; then
   upload $source
   upload $packages
fi


Thanks,
-Tim
___
gnusol-devel mailing list
gnusol-devel@lists.sonic.net
http://lists.sonic.net/mailman/listinfo/gnusol-devel