Commit 8d9401e0 authored by Vitaly Lipatov's avatar Vitaly Lipatov

small comments and helps update

parent 8012b098
...@@ -9,11 +9,12 @@ if [ "$1" = "-h" ] || [ "$1" = "--help" ] ; then ...@@ -9,11 +9,12 @@ if [ "$1" = "-h" ] || [ "$1" = "--help" ] ; then
echo "Use: gpull [-a] [-n] [repo] [branch]" echo "Use: gpull [-a] [-n] [repo] [branch]"
echo " gpull without parameters or with branch name" echo " gpull without parameters or with branch name"
echo " gpull myrepo - for pull from remote myrepo gear repo (with --rebase by default)" echo " gpull myrepo - for pull from remote myrepo gear repo (with --rebase by default)"
echo " -a - pull all branches" echo "Options:"
echo " -r - rebase during pull" echo " -a - pull all branches"
echo " -m - do merge if possible" echo " -r - rebase during pull"
echo " -f - pull with fast forward only (default)" echo " -m - do merge if possible"
echo " -c - return error status if repo was not uptodate (gpull || echo 'Was updated last time')" echo " -f - pull with fast forward only (default)"
echo " -c - return error status if repo was not uptodate (gpull || echo 'Was updated last time')"
exit 1 exit 1
fi fi
......
#!/bin/sh #!/bin/sh
# 2003-2009 (c) Etersoft www.etersoft.ru # 2003-2010 (c) Etersoft www.etersoft.ru
# Author: Vitaly Lipatov <lav@etersoft.ru> # Author: Vitaly Lipatov <lav@etersoft.ru>
# Public domain # Public domain
# #
# BSH - build source; use hasher # BSH - build source; use hasher
# #
# Создаёт пакет(ы) по указанным спекам и собирает в hasher # Создаёт пакет(ы) по указанным спекам и собирает в hasher
# Поддерживает удалённую сборку пакета ( ключ -r)
# Присылка результата сборки по почте (ключ -m)
# TODO: Сжимать отправляемый лог
# TODO: присылать обратно собранные пакеты??
# load common functions, compatible with local and installed script # load common functions, compatible with local and installed script
. `dirname $0`/../share/eterbuild/functions/common . `dirname $0`/../share/eterbuild/functions/common
......
...@@ -96,4 +96,5 @@ fi ...@@ -96,4 +96,5 @@ fi
add_changelog_helper "$CHANGELOG" $SPECNAME add_changelog_helper "$CHANGELOG" $SPECNAME
# TODO: use gear-commit ?
git_commit_ignore_nothing $SPECNAME -m "new build $NEWREV (with rpmlog script)" git_commit_ignore_nothing $SPECNAME -m "new build $NEWREV (with rpmlog script)"
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