Re: [android-building] multiple aosp repos conserving space

50 views
Skip to first unread message

Magnus Bäck

unread,
May 22, 2013, 11:09:09 AM5/22/13
to android-...@googlegroups.com
On Wednesday, May 22, 2013 at 02:19 EDT,
Aaron Gascoigne <atlru...@gmail.com> wrote:

> Im setting up a server to act as a Aosp work box.

A server to which people log on and work on AOSP stuff? Given how
resource intensive AOSP builds are I wouldn't recommend this.

> is there a way to only have one main copy of aosp and allow users to
> have there own branches and tree. I have done a full repo mirror in
> opt and set it as a reference path, which saves on download size.

Not only that, the workspaces created from the mirror actually use the
mirror's packfiles.

> I was hoping there was a way to do this for the files themselves as
> 99% of them are unchanged.

Which files do you want to share, Git's packfiles and the rest of the
.git directories? You might find the git-new-workdir script (found in
the contrib directory of Git) useful, but as I said above you should
already be reusing the packfiles so it's unclear what the benefit would
be.

The repo-discuss mailing list would probably be a better place to
discuss this.

--
Magnus Bäck
ba...@google.com
Reply all
Reply to author
Forward
Message has been deleted
0 new messages