749 Commits

Author SHA1 Message Date
Zenithal
755d46f4ec
homebrew: remove linuxbrew-core/bottles 2021-10-21 16:29:28 +08:00
ZenithalHourlyRate
7bfaa3b350
anaconda: add aarch64
Ref: https://github.com/tuna/issues/issues/1366
2021-10-20 13:06:37 +08:00
ZenithalHourlyRate
25a8a804c9
apt-sync: remove ubuntu-current
Not used and hard to maintain
2021-10-18 16:38:49 +08:00
Miao Wang
9a9b0d8b47 dockerimg: hot fix lftp ssl issue 2021-10-11 15:31:37 +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 (at neo)
225d555544
homebrew-bottles: use filename as dict key
several files share one common hash, thus
using hash as dict key would overlap each other.

No wonder USTC uses .by-hash/ and symlink.

Ref to https://github.com/tuna/issues/issues/1340
2021-09-29 23:02:36 +08:00
Zenithal
347c69a45a
adoptopenjdk: 17
ref to https://github.com/tuna/issues/issues/1313#issuecomment-925448623
2021-09-23 10:07:37 +08:00
Zenithal (at bravo)
7c5b56b6eb
homebrew-bottles: migrate to ghcr.io
Ref to https://github.com/ustclug/ustcmirror-images/blob/master/homebrew-bottles/bottles-json/src/main.rs

use tmpdir for atomic update

clean old script and docker image
2021-09-11 23:06:30 +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
ZenithalHourlyRate
67c6bb42b8
openmediavault: add shaitan
Fixes https://github.com/tuna/issues/issues/1231
2021-09-05 00:17:14 +08:00
Miao Wang
51a5f39917 Revert "add bullseye to adoptopenjdk and proxmox"
This reverts commit 4f03271368b028c542aca25d8e98550d16a9fda9 because
e145464.
2021-09-04 14:56:37 +08:00
Jiajie Chen
e145464ca9 Update debian current and latest distributions in apt-sync.py 2021-08-29 08:08:01 +08:00
Jiajie Chen
6414dae41a Add bullseye and version 13 for llvm, fixing #131 2021-08-19 11:31:21 +08:00
Harry Chen
b26e66f3f7
Add homebrew-command-not-found
Signed-off-by: Harry Chen <i@harrychen.xyz>
2021-08-10 17:19:40 +08:00
Jiajie Chen
eadb8d611d Add mongodb 5.0, fixing https://github.com/tuna/issues/issues/1303 2021-07-27 19:04:59 +08:00
Miao Wang
4e7c294336 docker-ce: bug fixes from ustc
github.com/ustclug/ustcmirror-images 7521a00 72180ff 93ff5b0
2021-07-19 16:43:45 +08:00
Miao Wang
dae87aae0e docker-ce: add changes from taoky for symlnk dirs 2021-07-16 18:06:48 +08:00
Miao Wang
3fd629ef61 pypi: change compare method to stat 2021-07-16 12:12:03 +08:00
Miao Wang
4f03271368 add bullseye to adoptopenjdk and proxmox 2021-07-09 14:30:28 +08:00
Miao Wang
59d3bfaf3e git: change output format of calc-ed size 2021-07-07 01:43:42 +08:00
Miao Wang
7186980db9 pypi: add blocklist from environment 2021-07-01 18:16:13 +08:00
Miao Wang
a3f82e9ba0
Merge pull request #125 from iBug/apt-sync-user-agent
apt-sync.py: Set default User-Agent for requests lib
2021-06-24 01:12:29 +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
Miao Wang
5f80770a4d termux: change upstream to packages.termux.org 2021-06-18 15:55:04 +08:00
Miao Wang
4e28f48061 pub-mirror: fix docker build 2021-06-14 02:00:04 +08:00
Miao Wang
211e9c5565 docker-ce: allow redir on head requests 2021-06-14 01:59:40 +08:00
Miao Wang
a903bd13ab nix-channels: pin minio version to 5.x 2021-06-12 23:42:19 +08:00
Miao Wang
d3ba81ac96 docker-build: remove set-env 2021-06-12 23:42:19 +08:00
Miao Wang
ba6b4eadb0 nix-channel: download arch-specific nix tarball 2021-06-12 23:42:19 +08:00
Miao Wang
fbb0b17a51 rubygems: disbale work around for incompatible bb 2021-06-12 23:42:19 +08:00
Miao Wang
e671426d27 rubygems: add bash to docker img 2021-06-12 23:42:19 +08:00
Miao Wang
2534e58373 Seperate docker build cache 2021-06-12 23:42:19 +08:00
Miao Wang
41ed2f2974 enable ci build on pr 2021-06-12 23:42:19 +08:00
Miao Wang
41dfd905ea Add packages for aarch64 build 2021-06-12 23:42:19 +08:00
Miao Wang
b81fd4770a enable cache for docker layers 2021-06-12 23:42:19 +08:00
Miao Wang
65e2371e67 add github actions workflow to build docker images 2021-06-12 23:42:19 +08:00
ZenithalHourlyRate
0bdf77b473
kde-neon: add dep11,all arch
Related to https://github.com/tuna/issues/issues/562
2021-06-10 14:43:27 +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
Miao Wang
271f810c6a docker: add libnss-unknown to work around missing passwd entry 2021-05-24 15:51:18 +08:00
Miao Wang
8431deb7ff docker: fix build error on installing cryptography 2021-05-24 15:12:17 +08:00
Miao Wang
836c5681bd termux: change upstream to ipfs 2021-05-20 02:19:01 +08:00
Miao Wang
1d1c7d1aef pypi: change conf for bandersnatch from black to block 2021-05-02 22:34:38 +08:00
Miao Wang
fa307b9d2b bandersnatch: use latest version(5.0.0) in py39 2021-05-02 21:51:59 +08:00
ZenithalHourlyRate
b707cce61e
Add llvm 12
Closes https://github.com/tuna/issues/issues/1218
2021-04-09 00:06:03 +08:00
Miao Wang
6cd7419251 anaconda: add osx-arm64 2021-03-29 17:17:11 +08:00
Zenithal
088d923f10
Merge pull request #119 from wangyonghong/patch-1
feature: Support AdoptOpenJDK 16
2021-03-22 20:43:57 +08:00
王永红(Michael Wang)
9cde725d4b
feature: Support AdoptOpenJDK 16 2021-03-22 20:11:23 +08:00
Miao Wang
9c11ce5715 gh-rel: download to tmpfile first 2021-03-22 15:57:20 +08:00