I just did a repo sync on android-14.0.0_r29 and was surprised that it 
downloaded almost 900 GB of data! Why?

Answer: before r29, most of the binary blobs in the manifest were marked 
with clone-depth="1" so you only got the most recent version. Now you get 
all versions. For example .repo/projects/device/google/bluejay-kernel.git/ 
has gone from 0.5 GB to 14 GB

Solution: *always* set the clone depth to 1 when you repo init:

$ repo init --depth=1 -u .....

Cheers,
Chris Simmonds, https://aospandaaos.github.io/

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/1e778aa7-f6b3-4e32-aa18-03c60fdea8b2n%40googlegroups.com.

Reply via email to