Here's a client-side workaround that doesn't make me proud but that
should get the job done:
-sync an android-2.2.2_r1 client
repo forall -c git checkout korg/froyo
repo forall external/qemu sdk -c git checkout korg/tools_r6
JBQ
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to android-...@googlegroups.com
> To unsubscribe from this group, send email to
> android-buildi...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>
--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.
Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.
JBQ
is there a way to get a _fully_ mirror first just in case, the current
mirror only works for certain branch/manifest, e.g. need something
like:
repo init -u URL -m everything-for-android --mirror?
-or-, repo can support it directly by :
repo init -u URL --mirrorall
i believe this will save quite some bandwidth
thanks,
xianghua
JBQ
thanks,
JBQ
> same problem here, suddenly froyo branch is gone.
>
> is there a way to get a _fully_ mirror first just in case, the current
> mirror only works for certain branch/manifest, e.g. need something
> like:
> repo init -u URL -m everything-for-android --mirror?
>
> -or-, repo can support it directly by :
> repo init -u URL --mirrorall
>
> i believe this will save quite some bandwidth
As JBQ pointed out, you might not necessarily save any bandwidth but
you're likely to load the servers more (depending on how many users
you have and how they work). That said, another reason to be doing
this is that corporate firewalls might block port 9418. We sync the
AOSP gits every night and push them to our internal server so that
all developers can compare and merge from the AOSP branches.
Anyway, I don't understand your problem. Git will by nature clone the
whole repositories with all branches. Using Repo's --mirror option is
probably a good idea, but you'll get all branches regardless.
--
Magnus B�ck Opinions are my own and do not necessarily
SW Configuration Manager represent the ones of my employer, etc.
Sony Ericsson
repo --mirror will only mirror the manifest you chose, if you want to
switch to a different manifest some projects may not have been
mirrored yet, that's why I'm asking a full-mirror for all projects
upstream. I did similar thing with Rowboat project and it worked well.
i set up the cron to 'repo sync' once per midnight. whenever someone
needs to do a new 'repo init && repo sync" locally they can do it fast
and locally, thus save time and bandwidth, yes firewall could be
another reason.
i am manually editing a full mirror manifest for this purpose now.
thanks,
JBQ
--