Faster clone on SBo-git repository.

Fixed #67.

Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
This commit is contained in:
Willy Sudiarto Raharjo 2020-10-07 00:22:27 +07:00
parent c353ac712a
commit 64ffa57dab
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
4 changed files with 7 additions and 3 deletions

View File

@ -99,3 +99,4 @@ We moved to github, so revision number no longer used
smallid
pv4
Geremia
djunzu

View File

@ -2460,6 +2460,7 @@ current_check_updates() {
if [[ $REMOTE != $LOCAL ]]; then
cd ..
rm -fR $REPO_DIR
git clone --single-branch --branch current --depth 1 $URL $REPO_DIR
fi
}
@ -4651,7 +4652,7 @@ fi
# Automatically determine the architecture we're building on:
if [[ -z "$ARCH" ]]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
i?86) ARCH=i586 ;;
arm*) export ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other
# archs:

View File

@ -1,6 +1,6 @@
SBOPKG NEWS
sbopkg-dev (2020-05-21 21:02:18 UTC)
sbopkg-dev (2020-10-07 17:19:37 UTC)
FEATURES
* sqg: Parallelize building of single and all packages by option -j.
Patch by Marcel Saegebarth.
@ -32,6 +32,8 @@ sbopkg-dev (2020-05-21 21:02:18 UTC)
Initial patch by arcctgx (#58)
* sbopkg: Show new version in view queue in GUI
Patch by Geremia (#62)
* sbopkg: Faster clone on SBo-git configuration
Patch by djunzu (#67)
MODIFICATIONS
* bash-completion: Complete -i and -b when git repo is used

View File

@ -1,4 +1,4 @@
sbopkg 0.38.1
sbopkg 0.38.2
Usage: sbopkg [OPTIONS] <packagename(s)>
Options are:
-b pkg/queue(s) Build the specified package(s). If one or more queuefiles