X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=tools%2Fnd_rebuildarchive;h=a5e93394cdf70503249383b2705cde1fbd9d87a3;hb=46a1d1a5f747792f4f349ef393b8bf7d284f49af;hp=e41cfc7952a293ee86a60949947fcc136abcef74;hpb=1f1e4a92a59291cb9d1211c08a35417b907a25d9;p=neurodebian.git diff --git a/tools/nd_rebuildarchive b/tools/nd_rebuildarchive index e41cfc7..a5e9339 100755 --- a/tools/nd_rebuildarchive +++ b/tools/nd_rebuildarchive @@ -83,7 +83,7 @@ for f in *~nd*.changes; do uf=${f//.changes/.neurodn.upload}; [ -e $uf ] && cont # on the neuro.debian.net side # filtered out incoming from pkgs with versions in official distribution -for c in *changes; do pkg_ver=`grep '\.deb$' $c | head -1 | sed -e 's,.* \([^_]*\)_\(.*\)_.*,\1 \2,g'`; echo $pkg_ver; done | uniq | while read p v; do uver=$(whohas -D Ubuntu --strict $p | grep '/precise/' | awk '{print $3;}'); dpkg --compare-versions $v lt "$uver" && echo $c $p $v $uver; done 2>&1 | tee up-to-date-list.txt +for c in *changes; do pkg_ver=`grep '\.deb$' $c | head -1 | sed -e 's,.* \([^_]*\)_\(.*\)_.*,\1 \2,g'`; echo $pkg_ver; done | uniq | while read p v; do uver=$(whohas -D Ubuntu --strict $p | grep "/$dist/" | awk '{print $3;}'); dpkg --compare-versions $v lt "$uver" && echo $c $p $v $uver; done 2>&1 | tee up-to-date-list.txt # and moved corresponding changelogs away mv `awk '{print $1,$2;}' up-to-date-list.txt | while read p v; do grep -l "${p}_${v}" *changes; done | sort | uniq` NOT_UPLOADED/ @@ -97,4 +97,4 @@ sudo nd_updatedist nd+ubuntu $dist # And build which previously failed, most probably due to unsatisfied dependencies # and possibly failure with outdated versions of 3rd party modules #grep -v OLD summary.build | grep FAILED | sed -e 's,_\(i386\|amd64\).build.*,,g' | sort | uniq | while read p; do sudo nd_build nd+ubuntu precise $p.dsc; done -grep -v -e OLD -e networkx summary.build | grep FAILED | sed -e 's,_\(i386\|amd64\).build.*,,g' | sort | uniq | while read p; do sudo nd_build nd+ubuntu precise $p.dsc; done +grep -v -e OLD -e networkx summary.build | grep FAILED | sed -e 's,_\(i386\|amd64\).build.*,,g' | sort | uniq | while read p; do sudo nd_build nd+ubuntu $dist $p.dsc; done