Project

General

Profile

Actions

Issue #2182

open

Replicant mirroring system: develop a script that generates redirects

Added by Denis 'GNUtoo' Carikli over 3 years ago. Updated about 3 years ago.

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
Actions #1

Updated by Denis 'GNUtoo' Carikli over 3 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.

Actions #2

Updated by _I3^ RELATIVISM about 3 years ago

  • Type of work Any programming languages (scripts, C, etc), System administration added
Actions

Also available in: Atom PDF