Actions
Issue #2139
openHandle redirects for git in a clean way for AOSP
Start date:
10/03/2020
Due date:
% Done:
0%
Estimated time:
Hosting infrastructure:
Type of work:
System administration
Actions
Added by Denis 'GNUtoo' Carikli over 4 years ago. Updated about 4 years ago.
0%
Replicant mirrors all the repositories it uses in Replicant source code.
AOSP is a bit more complex than the other repositories because we have things like that:
<project path="dalvik" name="platform/dalvik" groups="pdk-cw-fs,pdk-fs" remote="aosp" /> [...] <project path="device/generic/arm64" name="device/generic/arm64" groups="pdk" remote="aosp" />
So here the URL depth changes between different repositories.
With Replicant 6 and earlier we simply hosted device_generic_arm64 and platform_dalvik.
That simplifies a lot the server configuration but completely breaks automatic rebases in the manifest repository.
So right now we have the following configuration in the server:So it might be better to find a more automatic way to compute the rule set if it's easy to understand, maintain and hasn't much performance impact.
I've added some documentation here:https://redmine.replicant.us/projects/replicant-infrastructure/wiki/GitRedirects