| 1 |
Source: apt-mirror2 |
| 2 |
Section: net |
| 3 |
Priority: optional |
| 4 |
Maintainer: Yuri Konotopov <[email protected]> |
| 5 |
Rules-Requires-Root: no |
| 6 |
Build-Depends: debhelper-compat (= 13), |
| 7 |
dh-exec, |
| 8 |
gpgv, |
| 9 |
lsb-release, |
| 10 |
pybuild-plugin-pyproject, python3-setuptools, |
| 11 |
python3-aiofile | python3-aiofiles, |
| 12 |
python3-aioftp, |
| 13 |
python3-aiolimiter, |
| 14 |
python3-all, |
| 15 |
python3-debian, |
| 16 |
python3-h2, |
| 17 |
python3-httpx, |
| 18 |
python3-pytest, |
| 19 |
Testsuite: autopkgtest-pkg-pybuild |
| 20 |
Standards-Version: 4.7.3 |
| 21 |
Homepage: https://gitlab.com/apt-mirror2/apt-mirror2 |
| 22 |
Vcs-Browser: https://gitlab.com/apt-mirror2/debian-packaging |
| 23 |
Vcs-Git: https://gitlab.com/apt-mirror2/debian-packaging.git [apt-mirror2] |
| 24 |
|
| 25 |
Package: python3-apt-mirror2 |
| 26 |
Architecture: all |
| 27 |
Section: python |
| 28 |
Depends: ${misc:Depends}, |
| 29 |
${python3:Depends}, |
| 30 |
Recommends: |
| 31 |
python3-h2, |
| 32 |
python3-prometheus-client, |
| 33 |
python3-uvloop, |
| 34 |
Description: Python3 bindings for the apt-mirror2 |
| 35 |
apt-mirror2 is the Python/asyncio reimplementation of the apt-mirror |
| 36 |
. |
| 37 |
This package provides Python3 bindings for the apt-mirror2. |
| 38 |
|
| 39 |
Package: apt-mirror2 |
| 40 |
Architecture: all |
| 41 |
Depends: ${misc:Depends}, |
| 42 |
${python3:Depends}, |
| 43 |
python3-apt-mirror2 (= ${binary:Version}), |
| 44 |
adduser, |
| 45 |
Provides: apt-mirror |
| 46 |
Description: Python/asyncio reimplementation of the apt-mirror |
| 47 |
One of the main advantages of the apt-mirror2 over the apt-mirror - you |
| 48 |
should never got broken mirror in case apt-mirror2 returns 0 exit code. |
| 49 |
This is ensured by data integrity checks at all stages of mirroring. |
| 50 |
. |
| 51 |
Most of apt-mirror configuration directives are supported. |
| 52 |
As of now proxy for FTP repositories is not supported. |
| 53 |
File lists (ALL, NEW, MD5, SHA256, SHA512) are not written by default, |
| 54 |
but you can enable them with the write_file_lists option. |
| 55 |
In addition there are some enhancements available: |
| 56 |
. |
| 57 |
- Repositories without MD5 hashsums are correctly mirrored |
| 58 |
- Old index files are properly cleaned and don't produces errors in mirror |
| 59 |
processing |
| 60 |
- Standard source.list [ arch=arch1,arch2 ] can be used to specify multiple |
| 61 |
repository architectures for mirroring |
| 62 |
- multiple codenames (or flat folders) can be specified using comma as |
| 63 |
delimiter |
| 64 |
- mirror_path URL PATH option may be used to specify PATH to use for saving |
| 65 |
mirror files instead of path that is generated from URL |
| 66 |
- Additional configuration is loaded from the *.list files in the directory |
| 67 |
named same as configfile with the .d suffix. Eg /etc/apt/mirror.list.d/*.list. |
| 68 |
- Rate limit is enforced for overall download rate |
| 69 |
- Slow download rate protection is enabled by default and can be configured |
| 70 |
via mirror.list |
| 71 |
- Non-zero exit code is returned if some of required files were not downloaded |
| 72 |
due to network or server errors or no repositories were configured |
| 73 |
- HTTP user agent can be configured via user_agent configuration |
| 74 |
- Configuration variables are exposed to postmirror_script |
| 75 |
- by-hash list option can be used to control whether Acquire-By-Hash Release |
| 76 |
option should be respected or enforced |
| 77 |
- mirror wipe protection is available and configurable via wipe_size_ratio and |
| 78 |
wipe_count_ratio settings |
| 79 |
- per-repository log files are available in the var_path folder |
| 80 |
- dists folder is almost atomicaly replaced using move instead of copy/link |
| 81 |
- native Prometheus metrics are supported |
| 82 |
. |
| 83 |
\...and others. |