Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mirror-request] Termux-Pacman #65

Open
Maxython opened this issue Apr 17, 2024 · 3 comments
Open

[mirror-request] Termux-Pacman #65

Maxython opened this issue Apr 17, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@Maxython
Copy link

Maxython commented Apr 17, 2024

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

@Maxython Maxython added the enhancement New feature or request label Apr 17, 2024
@Alextopher
Copy link
Member

Alextopher commented Apr 27, 2024

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

@Maxython
Copy link
Author

Maxython commented May 7, 2024

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
Copy link
Member

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

@carykees98 carykees98 self-assigned this Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants