You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we support the below acceleration methods as follows to accelerate git and GBS acitivty of the big repositories. We need to find additional methods continually.
ubuntu$ vi ./ci/taos/config/config-environment.sh
... OMISSION ...
151 # Reference repository to speed up the exectuion time of the "git clone" command
152 REFERENCE_REPOSITORY="/var/www/html/$PRJ_REPO_UPSTREAM_LOCAL/"
153
154 # Specify RPM repo cache for accerating the GBS build speed of Tizen platform
155 REPOCACHE="/var/www/html/$PRJ_REPO_UPSTREAM_LOCAL/repo_cache/"
156
Currently, we support the below acceleration methods as follows to accelerate git and GBS acitivty of the big repositories. We need to find additional methods continually.
git clone
--reference
git clone --reference ~/gitcaches/your-repo.reference
If the reference repository is on the local machine, automatically setup .git/objects/info/alternates to obtain objects from the reference repository.
--single-branch
Since git 1.7.10, you can also limit the amount of history you clone by cloning a single branch, like so:
--depth
Provide an argument of -- depth 1 to the git clone command to copy only the latest revision of a repo:
gbs build
Use the .../GBS-ROOT/cache/ folder.
Reference
The text was updated successfully, but these errors were encountered: