COSI-Lab / Mirror

Monolithic software for our mirror
https://mirror.clarkson.edu
GNU General Public License v3.0
11 stars 3 forks source link

[mirror-request] Termux-Pacman #65

Open Maxython opened 2 months ago

Maxython commented 2 months ago

Include full project name, a short name, and the home page url

Termux-Pacman (@termux-pacman) - https://termux-pacman.dev/

Are you an official maintainer of this project? How would we become an "Official" mirror

Yes, I am the official maintainer of this project. To become an official “mirror”, you definitely need to add package signatures to the mirror, if it (signature) is provided in the service.

Is there a link to documentation on how to mirror the project

No, there is no such link. To synchronize with the Termux-Pacman repositories via rsync, everything must happen via rsync://sync.termux-pacman.dev/. Example:

rsync -av rsync://sync.termux-pacman.dev/termux-pacman/gpkg/aarch64/gpkg.db .

Updated: now there is a link - https://termux-pacman.dev/mirroring/

(Optional) Around how much disk space is required to host the project

If we consider all the service repositories (these are main, x11, root, tur, tur-continuous, tur-multilib, gpkg and gpkg-dev), the result will be 36.7 GB (or 29780 objects).

Additionally

If for mirroring you first check the package database, then for mirroring Termux-Pacman you can use the database converted to json format (for example - https://service.termux-pacman.dev/main/aarch64/main.json) Nevermind

Alextopher commented 2 months ago

Running rsync --list-only service.termux-pacman.dev:: hangs for me, where/how would you like the Clarkson Mirror to sync?

Maxython commented 1 month ago

Running rsync --list-only service.termux-pacman.dev:: hangs for me

This all happens due to the fact that all packages are stored in the s3 bucket (the domain service.termux-pacman.dev redirects to this bucket) which it is impossible to connect via rsync.

where/how would you like the Clarkson Mirror to sync?

To mirror with rsync you must use a different link, this is sync.termux-pacman.dev. I have already updated the information that is at the very top.

PS: Sorry that I didn't answer for a long time. I was figuring out how rsync works and created a new Termux-Pacman service for mirroring.

Alextopher commented 1 month ago

@lavajuno @carykees98 all yours! sync.termux-pacman.dev looks good to me.