Shengqi Chen
01f7693c23
Retire all el7 and debian buster repos
...
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
2024-07-02 16:21:45 +08:00
Haowei Wen
ef47a9abf7
apt-sync: add noble to @ubuntu-lts
...
ros2 has a noble based distro but ros2.sh does not mirror it
See http://packages.ros.org/ros2/ubuntu/dists/noble/
2024-04-28 15:03:58 +08:00
Shengqi Chen
f05c3d6d69
apt-sync: remove bionic from @ubuntu-lts
...
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
2024-04-25 11:52:31 +08:00
Harry Chen
414874c094
apt-sync: fix function invocation
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
2023-12-03 18:33:23 +08:00
Harry Chen
19f6f97a0a
apt-sync: also support specify components for each codename, refactor code
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
2023-12-03 18:19:27 +08:00
Harry Chen
ddea9a858b
Support specify addr family and different arches for codenames in apt-sync.py
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
2023-12-03 18:03:13 +08:00
Zenithal
d0d74aa308
apt-sync: bookworm is the latest
2023-06-15 13:58:04 +08:00
Zenithal
989faa98f6
remove eol repo
...
Ref to https://mirrors.tuna.tsinghua.edu.cn/news/remove-eol-repo/
2022-05-03 22:28:25 +08:00
ZenithalHourlyRate
25a8a804c9
apt-sync: remove ubuntu-current
...
Not used and hard to maintain
2021-10-18 16:38:49 +08:00
ZenithalHourlyRate
f0a7704a0e
apt-sync: rm dir after mv all files in it
...
Otherwise tmp_dir.rmdir() would fail as dirs in it
have not been deleted
2021-10-07 22:27:15 +08:00
Zenithal
ef3a5bccac
apt-sync: move_file_in handling src/file being dir
...
Related to "2543b0f apt-sync: fix deep pkgidx_file download error: no parent dir"
In this commit, src/file can be some directory like .tmp/by-hash,
when dst/by-hash is not empty dir, rename would fail.
Not using replace() is suggested by @happyaron since this may behave
oddly when the disk is full as this function is not atomic.
2021-10-07 01:50:16 +08:00
Zenithal
2543b0fc0b
apt-sync: fix deep pkgidx_file download error: no parent dir
...
only dist_tmp_dir, comp_tmp_dir and pkgidx_tmp_dir are created and
garbage collected, for deep pkgidx_file like
main/dep11/by-hash/MD5Sum/0af5c69679a24671cfd7579095a9cb5e,
its tmp parent dir (we call it deep_tmp_dir) should be created,
at main/dep11/.tmp/by-hash/MD5Sum/0af5c69679a24671cfd7579095a9cb5e
2021-09-08 23:15:33 +08:00
ZenithalHourlyRate
541a6fb68e
kde-neon: add cnf component
...
Ref: https://github.com/tuna/issues/issues/1325
2021-09-07 13:55:23 +08:00
Jiajie Chen
e145464ca9
Update debian current and latest distributions in apt-sync.py
2021-08-29 08:08:01 +08:00
iBug
398863daff
Set default User-Agent for requests lib
...
Defaults to some generic text, customizable via os.environ
Ref: https://stackoverflow.com/a/66661349/5958455
2021-06-24 00:42:19 +08:00
ZenithalHourlyRate
d2a7af027b
apt-sync: add special arch support
...
Related to https://github.com/tuna/issues/issues/562
2021-06-10 14:43:04 +08:00
Zenithal
350ef7a6bc
Update ubuntu-current releases in apt-sync
2021-01-18 16:41:12 +08:00
Miao Wang
7d48e03dc6
apt-sync: download packages to tmp path first
...
Possible fixes tuna/issues#1116
2021-01-08 17:27:38 +08:00
z4yx
924403f204
skip invalid package index files ( tuna/issues#844 )
2020-06-24 20:30:05 +08:00
z4yx
ee29b9f584
new os template: debian-latest2
2020-04-30 10:47:33 +08:00
z4yx
1008f9fe9e
calc the size of apt repo
2020-04-27 16:37:01 +08:00
z4yx
d8ace87468
fix exception introduced by the last commit
2020-04-25 09:33:44 +08:00
z4yx
3dfc0c2e1c
cache Release files during one sync
2020-04-24 14:23:18 +08:00
z4yx
c5560d6db2
flushing output for logging
2020-04-22 14:04:22 +08:00
z4yx
1749d3dda6
clearify dry run
2020-04-21 08:48:10 +08:00
z4yx
59ee926cc2
eliminate the false alarm
2020-04-20 10:54:39 +08:00
z4yx
e7b8de5723
[ubuntu apt] add focal, remove trusty
2020-04-20 10:26:59 +08:00
z4yx
ee84ad0ac7
fix statistics printing
2020-04-19 21:31:22 +08:00
z4yx
9e2552008b
print how many packages to delete
2020-04-19 21:04:07 +08:00
z4yx
3a23a709cc
implement the --delete
2020-04-19 20:34:45 +08:00
z4yx
9fd9d571ad
replace rmtree with rmdir
2020-04-19 20:03:02 +08:00
z4yx
518d14334b
print package count
2020-04-19 20:00:34 +08:00
z4yx
eb26bf3f4f
correct the temp path
2020-04-19 19:21:49 +08:00
z4yx
e12d50657d
fix last commit
2020-04-19 19:12:07 +08:00
z4yx
52c0154928
download Contents as per Release file
2020-04-19 19:04:59 +08:00
z4yx
1780541c36
add support of Packages.xz
2020-04-19 18:55:09 +08:00
z4yx
bba730ffd5
ignore blanks in Packages
2020-04-19 18:47:14 +08:00
z4yx
5901d7484c
use Path.rename to overwrite
2020-04-19 17:58:05 +08:00
z4yx
a8b0c783c9
fix some errors
2020-04-19 16:48:55 +08:00
z4yx
18a78ebf83
reimplement the apt-download in Python ( #16 )
2020-04-19 16:11:13 +08:00
z4yx
7bb6a9201e
add goharbor/harbor ( tuna/issues#777 )
2020-04-07 10:46:43 +08:00
z4yx
794c7ca24a
update stable links of mongodb
2020-04-05 15:22:40 +08:00
z4yx
1f8470972a
support simple pattern substitution
2020-04-05 15:13:18 +08:00
z4yx
4eb6440414
print failed repos
2020-04-05 14:44:48 +08:00
z4yx
d79cf7823e
migrating gitlab-runner,influx,termux
2020-04-05 14:04:07 +08:00
z4yx
dbea86b894
apt sync scripts refactoring
2020-04-05 13:17:58 +08:00