48 Commits

Author SHA1 Message Date
Aoran Zeng
026c4e4b5b
Implement accurate and rough speed measure 2025-07-11 16:43:42 +08:00
Aoran Zeng
8dbf5625ee
chsrc_debug() only when debug mode 2025-07-11 16:42:27 +08:00
Aoran Zeng
f6731adf81
Accurate and rough measure for mirror site 2025-07-11 15:14:47 +08:00
Aoran Zeng
cb0021ded8
Global program status 2025-07-11 12:39:04 +08:00
Aoran Zeng
b543c124be
Use original yield source 2025-07-11 12:12:48 +08:00
Aoran Zeng
4b5aff7862
Use new ProgMode 2025-07-11 11:24:29 +08:00
Aoran Zeng
5f8da597ff
Refactor ProgMode 2025-07-11 10:43:16 +08:00
Aoran Zeng
e953aceb54
Refactor target group mode 2025-07-11 10:12:27 +08:00
Aoran Zeng
5b70f7fd8c
Use println in chsrc 2025-06-20 14:55:04 +08:00
Aoran Zeng
ca00e0233b
set quietly on Windows 2025-06-19 14:27:57 +08:00
Aoran Zeng
a978659696
Add chsrc_view_env() 2025-06-19 14:02:14 +08:00
Aoran Zeng
e8a22c13f2
Use C11 2025-06-18 19:47:20 +08:00
Aoran Zeng
2d75a48c19
Use chsrc_determine_chgtype() 2025-03-06 12:36:16 +08:00
Aoran Zeng
88141b67fd
Add warnings 2024-12-27 16:57:41 +08:00
Aoran Zeng
9dcd539495
All upstream use same name
[GitHub #159]
2024-12-18 20:05:54 +08:00
Aoran Zeng
22c2bc6408
Mute copy on Windows 2024-12-14 22:42:28 +08:00
Aoran Zeng
603525790e
Delete new line when iter 2024-12-14 20:43:19 +08:00
Aoran Zeng
3f8f8b0619
Test framework logging 2024-12-14 19:07:20 +08:00
Aoran Zeng
7a5f56ffe6
Remove banner version 2024-12-14 18:26:20 +08:00
Aoran Zeng
d4ab7e0ec6
Settle the situation that busybox cp has no --version
[GitHub #152]
2024-12-14 18:09:45 +08:00
Aoran Zeng
6ded3380e5
Add print macro 2024-12-14 10:11:34 +08:00
Aoran Zeng
2746fe03c0
Adjust assertion 2024-12-14 09:46:25 +08:00
Aoran Zeng
be3982bbff
Remove xy_run() last parameter 2024-12-14 09:14:11 +08:00
Aoran Zeng
252a64924f
cp -f if not GNU cp
[GitHub #152]
2024-12-14 08:47:26 +08:00
Aoran Zeng
08fbdb685b
Fix Clang warnings 2024-12-10 16:29:01 +08:00
Aoran Zeng
4ecdc7f7bd
Rename inner macro 2024-12-10 16:23:22 +08:00
Aoran Zeng
9eb4e8987b
Fix to Let curl output to stdout and stderr to make xy_run() get info
[GitHub #144]
2024-12-09 18:14:58 +08:00
Aoran Zeng
10052d4fc2
Drop previous devious support for curl built by Cygwin
[GitHub #144 #140 #65]

Co-authored-by: Yangmoooo <yangmoooo@outlook.com>
2024-12-09 18:14:50 +08:00
Aoran Zeng
1125a25e6d
Don't support curl built by Cygwin
[GitHub #144]

Co-authored-by: Yangmoooo <yangmoooo@outlook.com>
2024-12-09 18:14:37 +08:00
Aoran Zeng
68961a7d9c
Fix: reset still measure speed 2024-12-06 11:05:40 +08:00
Aoran Zeng
6e7b4bf985
Add debug and verbose log 2024-11-22 11:14:05 +08:00
Aoran Zeng
cd7281600e
Fix measure upstream for Ubuntu
[GitHub #121]
2024-11-22 11:08:36 +08:00
Aoran Zeng
245f0ed5d5
Measure upstream for RubyGems
[GitHub #124]
2024-11-22 10:08:54 +08:00
Aoran Zeng
e65a16c009
Ubuntu measure upstream
[GitHub #121]
2024-11-22 09:58:00 +08:00
Aoran Zeng
fd762f9d3c
Fix mirror selection when reset in Dry Run mode
[GitHub #123]
2024-11-22 09:14:55 +08:00
Aoran Zeng
722de55ecb
Adjust chsrc_conclude() 2024-11-22 09:08:32 +08:00
Aoran Zeng
6a59ec51e1
Select upstream source depending on global var 2024-11-22 07:51:55 +08:00
Aoran Zeng
7eb120befa
Rename struct 2024-11-22 07:26:23 +08:00
Aoran Zeng
743380290e
Rename struct 2024-11-22 07:02:21 +08:00
Aoran Zeng
b8f847a9ce
Introduce provider 2024-11-22 06:23:23 +08:00
Aoran Zeng
f2d8997909
Remove redundant line when chsrc_append_to_file() 2024-11-22 02:40:17 +08:00
Aoran Zeng
c3587edfae
Internal reuse chsrc_run 2024-11-22 02:38:44 +08:00
Aoran Zeng
7825acfff3
Fix append only once
[GitHub #76]
2024-11-22 02:04:36 +08:00
Aoran Zeng
505b14895e
Not write to file when dry run
[GitHub #76]
2024-11-22 00:57:30 +08:00
Aoran Zeng
7379a7c0f3
Update R output info
[GitHub #76]
2024-11-22 00:52:53 +08:00
Aoran Zeng
1182e79b46
Rewrite chsrc_append_to_file()
[GitHub #76]
2024-11-22 00:33:25 +08:00
Aoran Zeng
d7cc74c494
Rename xy function 2024-11-21 20:18:58 +08:00
Aoran Zeng
5d7a13a56b
Rename source.h to mirror.c 2024-11-21 14:59:05 +08:00