astral-sh / astral-sh/termux-python
optimization of this repository concerns
- Dominant language
- Dockerfile
- Stars
- 3
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Hello, I wanted to possibly engage in discussion with you about potential improvements to this repository.
I can see that the reason for the creation of this repository might be because of a problem involving the Termux package repository mirrors.
https://github.com/astral-sh/uv/commit/f13abc388e1ee0c83169a32d33447f8afccf04d2
https://github.com/astral-sh/termux-python/blob/483ce668735b54c5e8eb53ce7aebf2acad7ecff6/Dockerfile#L5-L8
I've noticed this message here, but as far as I can tell, there seems to have been no attempt yet made to use the correct method for setting the official Termux package repository mirror hosted by Cloudflare in GitHub Actions, which is this:
https://github.com/robertkirkman/termux-on-gha/blob/c3067cdf0a482c07c909ded0e863671e03b1d20d/.github/workflows/build-and-test.yml#L49-L50
```yml
ln -sf ${PREFIX}/etc/termux/mirrors/default ${PREFIX}/etc/termux/chosen_mirrors
```
the reliability of this mirror is significantly superior to all of the other Termux mirrors, and it also receives package updates first before any other Termux mirrors.
Would a change to replace this loop with an application of the correct default mirror setting code be something that a PR for would be welcome here, or is this more of a low-priority repository that the astral-sh organization just needs to work without any pressing need to try to optimize it?
https://github.com/astral-sh/termux-python/blob/483ce668735b54c5e8eb53ce7aebf2acad7ecff6/Dockerfile#L10-L15
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.