Languages

Menu
Sites
Language
Why does 'repo sync' retrieve only 52%, instead of all projects

Newbie here.

I was trying to follow the steps at https://source.tizen.org/documentation/developer-guide/getting-started-guide/building-all-packages-locally-gbs to get a snapshot of all source code.

Following Step 3, where it says, "Clone the specific snapshot source of all projects over SSH (optional)."

I entered the commands:

************************************

repo init -u ssh:// @review.tizen.org:29418/scm/manifest -b tizen 

wget http:// download.tizen.org/releases/daily/tizen/unified/latest/builddata/manifest/tizen-unified_20200716.2_standard.xml -O .repo/manifests/unified/standard/projects.xml

sed -i '3,4d' .repo/manifests/unified/standard/projects.xml

wget http:// download.tizen.org/releases/daily/tizen/unified/latest//builddata/manifest/tizen-unified_20200716.2_emulator.xml -O .repo/manifests/unified/emulator/projects.xml

sed -i '3,4d' .repo/manifests/unified/emulator/projects.xml

repo sync

***********************************

The output from the 'repo sync' command stops and gets stuck at:

projects:  41% (413/997) platform/core/system/tizen-platform-config-met

Fetching projects:  43% (430/997) platform/core/telephony/tel-plugin-packetservi

Fetching projects:  51% (518/997) platform/framework/web/download-providerremote

remote: Counting objects: 85844, done        
remote: Counting objects: 66657, done                   
remote: Finding sources: 100% (62/62)                    
remote: Counting objects: 67120, done        5)           
remote: Finding sources: 100% (131/131)           
remote: Finding sources: 100% (7431985/7431985)           
remote: Counting objects: 514614, done        
remote: Finding sources: 100% (81/81)     

After many hours, I do a CTRL-C at this point and the message comes back that the following cannot be fetched. Is it because the script is fetching from invalid locations?     

*************

error: Cannot fetch platform/kernel/linux-rpi3 from ssh:// review.tizen.org/platform/kernel/linux-rpi3
Fetching projects:  52% (519/997) platform/kernel/linux-rpi3error: Cannot fetch platform/kernel/linux-rpi from ssh:// review.tizen.org/platform/kernel/linux-rpi
Fetching projects:  52% (520/997) platform/kernel/linux-rpierror: Cannot fetch platform/framework/web/chromium-efl from

ssh:// review.tizen.org/platform/framework/web/chromium-efl
Fetching projects:  52% (521/997) platform/framework/web/chromium-eflerror: Cannot fetch platform/kernel/linux-exynos from

ssh:// review.tizen.org/platform/kernel/linux-exynos
Fetching projects:  52% (522/997) platform/kernel/linux-exynos

aborted by user

*********************

My .gbs.conf file has:

[general] #Current profile name which should match a profile section name profile = profile.tizen [profile.tizen] obs = obs.tizen repos = repo.tizen_latest_standard,repo.tizen_latest_emulator [obs.tizen] #OBS API URL pointing to a remote OBS. url = https:// api.tizen.org #Repo section [repo.tizen_latest_standard] url = http:// download.tizen.org/releases/daily/tizen/unified/latest/builddata/manifest/tizen-unified_20200716.2_standard.xml [repo.tizen_latest_emulator] url = http:// download.tizen.org/releases/daily/tizen/unified/latest/builddata/manifest/tizen-unified_20200716.2_emulator.xml 

Not sure why I got stuck twice at 52%. Is there something not right in the .gbs.conf file or the repo commands? Thanks for your help!!

Edited by: David Harris on 18 Jul, 2020