What is size of source code of full chromium-os when downloading using repo init and sync? (how big?)

1,185 views
Skip to first unread message

Grant Rostig

unread,
Jul 25, 2015, 7:22:05 PM7/25/15
to Chromium-dev
I'm doing the initial setup to work on the full source code of chromium-os as documented here:

https://www.chromium.org/chromium-os/developer-guide

I got to the point of issuing these commands:

repo init -u https://chromium.googlesource.com
/chromiumos/manifest.git --repo-url https://chromium.googlesource.com/external/repo.git
repo sync

It appears to have consumed about 15 gig of network transfer so far.   I'm not familiar enough with git to know how to evaluate the size of the repository (repo) I'm trying to download.

I'm not sure how much more it will transfer.  Yes, I pay for bandwidth by the gigabyte and I have a slow connection running around 1 megabit.

I'm not sure how to interpret the output below, but it seems to be repeating the same or a similar step.  Am I in a loop, or is the source huge?  Who huge?

Any help appreciated.

It just finished this batch:
+++++++++++++++++++++++++++++++++++
 * [new tag]         nvidia-9.12.11 -> nvidia-9.12.11
 * [new tag]         chromium-2.6.31-final -> chromium-2.6.31-final
 * [new tag]         chromium-2.6.30-final -> chromium-2.6.30-final
 * [new tag]         chromeos-last-topic-sync -> chromeos-last-topic-sync
From https://chromium.googlesource.com/chromiumos/third_party/kernel
   68c6c73..79f5899  chromeos-3.18 -> cros/chromeos-3.18
Fetching projects:  98% (140/142)  Fetching project chromiumos/third_party/kernel
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100     1  100     1    0     0      2      0 --:--:-- --:--:-- --:--:--     2
100 1112M  100 1112M    0     0    97k      0  3:13:52  3:13:52 --:--:-- 65199
++++++++++++++++++++++++++++

and is now starting this set:
+++++++++++++++++++++++++++++++++++
 * [new tag]         v2.6.20    -> v2.6.20
 * [new tag]         nvidia-9.12.11 -> nvidia-9.12.11
 * [new tag]         chromium-2.6.31-final -> chromium-2.6.31-final
 * [new tag]         chromium-2.6.30-final -> chromium-2.6.30-final
 * [new tag]         chromeos-last-topic-sync -> chromeos-last-topic-sync
remote: Counting objects: 76430, done
remote: Finding sources: 100% (13/13)
remote: Total 13 (delta 2), reused 13 (delta 2)
Unpacking objects: 100% (13/13), done.
From https://chromium.googlesource.com/chromiumos/third_party/kernel
   68c6c73..79f5899  chromeos-3.18 -> cros/chromeos-3.18
   4f03684..635c84b  release-R45-7262.B-chromeos-3.14 -> cros/release-R45-7262.B-chromeos-3.14
Fetching projects:  99% (141/142)  Fetching project chromiumos/third_party/kernel
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100     1  100     1    0     0      2      0 --:--:-- --:--:-- --:--:--     2
  0 1112M    0 2745k    0     0  97409      0  3:19:33  0:00:28  3:19:05 89346
+++++++++++++++++++++++++++++++++

Grant Rostig

unread,
Jul 25, 2015, 8:11:22 PM7/25/15
to Chromium-dev, gr...@grantrostig.com
I guess I can see that it is not in a loop because it has incremented from 140/142 to 141/142.  But I don't now if that 142 is just for this section of the repository, or the whole thing.

The "du -sh" command on the project directory previously just said about 6.0 GB, which about half of the transfer I have paid for.

.....tick-tock...tick-tock.....

Well as it turns out the transfer has just now finished (while typing this reply) and "du" now says it is taking 13 GB, which is similar to what was transferred. 

I don't know if doing "sync" caused "du" to properly reflect what had been transfered.

Just for the record, here is what the final output of the sync is:
++++++++++++++++++++++++++++++++++++++++++++++++++

 * [new tag]         v3.8.11    -> v3.8.11
 * [new tag]         v3.9       -> v3.9
Fetching projects: 100% (142/142), done. 
Shared project chromiumos/third_party/kernel found, disabling pruning.
Shared project chromiumos/third_party/kernel found, disabling pruning.
Shared project chromiumos/third_party/kernel found, disabling pruning.
Shared project chromiumos/third_party/kernel found, disabling pruning.
Shared project chromiumos/third_party/kernel found, disabling pruning.
Shared project chromiumos/third_party/mesa found, disabling pruning.
Shared project chromiumos/third_party/mesa found, disabling pruning.
Shared project chromiumos/third_party/u-boot found, disabling pruning.
Shared project chromiumos/third_party/u-boot found, disabling pruning.
Checking out files: 100% (7947/7947), done.out files:  19% (1534/7947)  
Checking out files: 100% (14992/14992), done.
Checking out files: 100% (11237/11237), done.t files:  25% (2920/11237)  
Checking out files: 100% (85126/85126), done.t files:   1% (1259/85126)  
Checking out files: 100% (46322/46322), done.ut files:  11% (5253/46322)  
Checking out files: 100% (51347/51347), done.ut files:  14% (7429/51347)  
Checking out files: 100% (49172/49172), done.
Checking out files: 100% (48299/48299), done.ut files:  15% (7573/48299)  
Checking out files: 100% (39093/39093), done.ut files:  17% (6795/39093)  
Checking out files: 100% (43442/43442), done.
Checking out files: 100% (662/662), done.ng out files:   8% (57/662)  
Syncing work tree: 100% (142/142), done. 

Your sources have been sync'd successfully.

Reply all
Reply to author
Forward
0 new messages