Actions
Issue #2182
openReplicant mirroring system: develop a script that generates redirects
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
11/24/2020
Due date:
% Done:
0%
Estimated time:
Hosting infrastructure:
Type of work:
Any programming languages (scripts, C, etc), System administration
Updated by Denis 'GNUtoo' Carikli almost 4 years ago
When we mirror a repository, we typically use git clone --mirror
, and the repositories are typically inside a single directory.
For instance in mirrors/aosp, we have all the AOSP repositories.
So if we stick to that, a script could retrieve the following information:- The repository directory path
- The remote URL
With both and some settings (like the base URL we use, the base URL AOSP uses, etc), we can generate a Redirect file.
Updated by _I3^ RELATIVISM over 3 years ago
- Type of work Any programming languages (scripts, C, etc), System administration added
Actions