Commit 60f9982b authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmgp: use list packages from giter

parent 6b365d49
......@@ -345,7 +345,7 @@ if [ -n "$CLONEGIT" ] ; then
fi
echo "See other repos at $GIRARHOST:"
list_git_package $PKGNAME
giter list packages $PKGNAME
exit $?
fi
......@@ -407,7 +407,7 @@ if [ -n "$CHECKONLINE" ] ; then
fi
fi
echo "Get repositories at $GIRARHOST:"
list_git_package $PKGNAME
giter list packages $PKGNAME
set_binaryrepo $MENV
......
......@@ -95,21 +95,6 @@ set_girar_host()
return 1
}
_list_git_package()
{
while read path date other; do
printf "%60s " $GIRARHOST:$path
[ -n "$date" ] || { echo "[Date is missed]" ; continue ; }
date -d@$date
done
}
# TODO: make world better, please
list_git_package()
{
ssh $GIRARHOST find-package $1 | _list_git_package
}
git_commit_ignore_nothing()
{
git commit "$@" && return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment