extras-buildsys/utils extras-push-all,NONE,1.1
Ville Skytta (scop)
fedora-extras-commits at redhat.com
Sun Jan 22 10:51:52 UTC 2006
Author: scop
Update of /cvs/fedora/extras-buildsys/utils
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11476
Added Files:
extras-push-all
Log Message:
Improved push-em-all script.
--- NEW FILE extras-push-all ---
#!/bin/bash
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Library General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
dists="3 4 development"
changed=
sign_move()
{
dist=$1
extras-sign-move.py $dist
rc=$?
if [ $rc -eq 4 ] ; then # no packages to sign?
rc=0
elif [ $rc -eq 0 ] ; then
changed="$changed $dist"
fi
return $rc
}
for dist in $dists ; do
sign_move $dist || exit $?
done
for dist in $changed ; do
extras-repobuild.py $dist && extras-repoview.py $dist || exit $?
done
extras-sync
More information about the scm-commits
mailing list