Author: coolo Date: Sat Apr 5 22:50:57 2008 New Revision: 46147 URL: http://svn.opensuse.org/viewcvs/yast?rev=46147&view=rev Log: backup Added: branches/tmp/coolo/update_yast_repo/last_rev branches/tmp/coolo/update_yast_repo/packs branches/tmp/coolo/update_yast_repo/update_all.sh (with props) branches/tmp/coolo/update_yast_repo/update_rpm_auto (with props) branches/tmp/coolo/update_yast_repo/update_rpm_cmake (with props) Added: branches/tmp/coolo/update_yast_repo/last_rev URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/coolo/update_yast_repo/las... ============================================================================== --- branches/tmp/coolo/update_yast_repo/last_rev (added) +++ branches/tmp/coolo/update_yast_repo/last_rev Sat Apr 5 22:50:57 2008 @@ -0,0 +1 @@ +44000 Added: branches/tmp/coolo/update_yast_repo/packs URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/coolo/update_yast_repo/pac... ============================================================================== --- branches/tmp/coolo/update_yast_repo/packs (added) +++ branches/tmp/coolo/update_yast_repo/packs Sat Apr 5 22:50:57 2008 @@ -0,0 +1,96 @@ +yast2 +yast2-add-on +yast2-add-on-creator +yast2-apparmor +yast2-autofs +yast2-backup +yast2-bootloader +yast2-ca-management +yast2-CASA +yast2-control-center +yast2-control-center-gnome +yast2-core +yast2-country +yast2-devtools +yast2-dhcp-server +yast2-dirinstall +yast2-dns-server +yast2-drbd +yast2-fingerprint-reader +yast2-firewall +yast2-firstboot +yast2-ftp-server +yast2-gtk +yast2-hardware-detection +yast2-http-server +yast2-inetd +yast2-installation +yast2-instserver +yast2-irda +yast2-iscsi-client +yast2-iscsi-server +yast2-isns +yast2-kdump +yast2-kerberos-client +yast2-kerberos-server +yast2-ldap +yast2-ldap-client +yast2-ldap-server +yast2-libyui +yast2-live-installer +yast2-mail +yast2-mcs-plugin +yast2-metapackage-handler +yast2-mouse +yast2-multipath +yast2-ncurses +yast2-ncurses-pkg +yast2-network +yast2-nfs-client +yast2-nfs-server +yast2-nis-client +yast2-nis-server +yast2-ntp-client +yast2-online-update +yast2-packager +yast2-pam +yast2-perl-bindings +yast2-phone-services +yast2-pkg-bindings +yast2-printer +yast2-product-creator +yast2-profile-manager +yast2-python-bindings +yast2-qt +yast2-qt-pkg +yast2-registration +yast2-repair +yast2-restore +yast2-ruby-bindings +yast2-runlevel +yast2-samba-client +yast2-samba-server +yast2-scanner +yast2-schema +yast2-security +yast2-slide-show +yast2-slp +yast2-slp-server +yast2-sound +yast2-squid +yast2-sshd +yast2-storage +yast2-sudo +yast2-support +yast2-sysconfig +yast2-testsuite +yast2-tftp-server +yast2-theme +yast2-transfer +yast2-tune +yast2-tv +yast2-update +yast2-users +yast2-x11 +yast2-xml +yast2-ycp-ui-bindings Added: branches/tmp/coolo/update_yast_repo/update_all.sh URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/coolo/update_yast_repo/upd... ============================================================================== --- branches/tmp/coolo/update_yast_repo/update_all.sh (added) +++ branches/tmp/coolo/update_yast_repo/update_all.sh Sat Apr 5 22:50:57 2008 @@ -0,0 +1,48 @@ +set -e +homedir=$PWD +dir=`mktemp -d` +cd $dir +old=`cat $homedir/last_rev` +new=`LC_ALL=C svn info http://svn.opensuse.org/svn/yast/trunk | grep ^Revision: | sed -e 's,.*: *,,'` +for pack in `cat $homedir/packs`; do + + case $pack in + yast2) + repo=yast2 + ;; + *) + repo=${pack/yast2-/} + ;; + esac + + url=http://svn.opensuse.org/svn/yast/trunk/$repo + log=`svn log -r$old:$new $url | grep ^r` || true + test -n "$log" || continue + + osc co YaST:SVN $pack + cd YaST:SVN/$pack + + shell=`mktemp` + svn cat $url/package/update_rpm > $shell || true + if test -s "$shell"; then + sh $shell + else + # fallback + rm -f *.tar.bz2 + svn export -q $url + cd `basename $url` + if test -f CMakeLists.txt; then + $homedir/update_rpm_cmake + else + $homedir/update_rpm_auto + fi + cd .. + fi + osc addremove + osc ci + cd .. +done +cd / +rm -rf $dir +echo $(($new+1)) > $homedir/last_rev +#svn ci -m "updated repo" $homedir/last_rev Added: branches/tmp/coolo/update_yast_repo/update_rpm_auto URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/coolo/update_yast_repo/upd... ============================================================================== --- branches/tmp/coolo/update_yast_repo/update_rpm_auto (added) +++ branches/tmp/coolo/update_yast_repo/update_rpm_auto Sat Apr 5 22:50:57 2008 @@ -0,0 +1,5 @@ +set -e +make -f Makefile.cvs +make package-local CHECK_SYNTAX=false +cp package/*es package/*ec package/*tar.bz2 .. +cd .. Added: branches/tmp/coolo/update_yast_repo/update_rpm_cmake URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/coolo/update_yast_repo/upd... ============================================================================== --- branches/tmp/coolo/update_yast_repo/update_rpm_cmake (added) +++ branches/tmp/coolo/update_yast_repo/update_rpm_cmake Sat Apr 5 22:50:57 2008 @@ -0,0 +1,6 @@ +set -e +mkdir build +cd build +cmake .. +make srcpackage_local +cp package/*es package/*ec package/*tar.bz2 ../.. -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org