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
Updated by Denis 'GNUtoo' Carikli about 4 years ago
- Subject changed from Handle redirects for git in a clean way to Handle redirects for git in a clean way for AOSP
- Target version set to Replicant 11.0 0001
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:- We host device_generic_arm64 and platform_dalvik
- We redirect device/generic/arm64 to device_generic_arm64 manually with things like that:
Redirect /mirrors/AOSP/device/generic/arm64 /mirrors/AOSP/device_generic-arm64
- we need to remember to add a rules for each new AOSP repository addition, and we will probably forget to do it at some point
- We end up with a huge ruleset
Updated by Denis 'GNUtoo' Carikli about 4 years ago
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.
Updated by Denis 'GNUtoo' Carikli about 4 years ago
I've added some documentation here:https://redmine.replicant.us/projects/replicant-infrastructure/wiki/GitRedirects
Updated by Denis 'GNUtoo' Carikli almost 4 years ago
- Target version changed from Replicant 11.0 0001 to Replicant 11.0 0002
Updated by _I3^ RELATIVISM over 3 years ago
- Type of work System administration added
Actions