Commit Graph

138 Commits

Author SHA1 Message Date
Aoran Zeng
79342dfb02
Fix typo for RunOpt 2024-07-29 21:43:53 +08:00
Aoran Zeng
35267ab988 Add FIT2CLOUD mirror site for docker
[GitHub link #35]
2024-07-24 18:31:58 +08:00
Aoran Zeng
f82bfe0cbb Interpret home also on Linux 2024-07-09 15:03:11 +08:00
Aoran Zeng
b7fbde047a Add OS private macro 2024-07-09 14:46:50 +08:00
Aoran Zeng
4732ed8f5d No echo when writing to file 2024-07-09 14:35:45 +08:00
Aoran Zeng
c9fb2c6dff Ensure dir test first 2024-07-09 14:31:34 +08:00
Aoran Zeng
3d1b1473f8 Update note 2024-07-09 14:29:11 +08:00
Aoran Zeng
6527045125 Move dir_exist to xy.h 2024-07-09 14:06:27 +08:00
Aoran Zeng
456be10174 Rename to view_file 2024-07-09 13:04:37 +08:00
Aoran Zeng
fbe6dcd088 Explicit prompt for ensure mkdir 2024-07-09 13:02:06 +08:00
Aoran Zeng
88663c1ff5 Ensure dir silently 2024-07-09 12:47:55 +08:00
Aoran Zeng
e2ed66254b Simple backup when macOS
[GitHub link #44]
2024-07-09 10:06:00 +08:00
Aoran Zeng
574df6a5d1 Not show status when back up 2024-07-08 18:31:18 +08:00
鹏起鲸落
c319fa82fc
Fix: chsrc_get_cpuarch() and chsrc_prepend_to_file()
[GitHub PR #42]

* Fix
- `chsrc_get_cpuarch()`: Use `uname -m` instead of `-p`
- `chsrc_prepend_to_file()`: Add missing space

* Add new contributor
2024-07-06 23:21:59 +08:00
Aoran Zeng
e665860576 Reimplement archlinux
[GitHub link #32 #41]
2024-07-03 14:04:21 +08:00
Aoran Zeng
069f5fb827 Add prepend 2024-07-03 13:59:06 +08:00
Aoran Zeng
f496d2448d Split archlinuxcn sources
[GitHub link #32 #41]
2024-07-03 12:14:40 +08:00
Aoran Zeng
961111acea Make fatal on error mode default 2024-06-24 21:38:16 +08:00
Aoran Zeng
b2597b4e99 Fix: Verify option when chsrc_run fails 2024-06-24 21:07:24 +08:00
Aoran Zeng
fcb74cb2ef Get CPU arch 2024-06-21 10:55:43 +08:00
Aoran Zeng
6639a87763 Add more assertions 2024-06-21 10:50:28 +08:00
Aoran Zeng
91c94ad012 Update file headers 2024-06-21 01:47:28 +08:00
livelycode36
5ef6210cac
Support OS armbian
[GitHub link #37 #38]
2024-06-21 01:24:46 +08:00
Aoran Zeng
b21fff76a3 No newline when backup 2024-06-14 15:55:41 +08:00
Aoran Zeng
7468c7d0d4 Add parameters for running command 2024-06-14 15:51:54 +08:00
Aoran Zeng
20abe49100 Rename to chsrc_check_file 2024-06-14 15:15:59 +08:00
Aoran Zeng
eb3d01c72d Rename to chsrc_confirm_source 2024-06-14 15:07:04 +08:00
Aoran Zeng
dd324a70ba Verify exit status 2024-06-14 15:01:52 +08:00
Aoran Zeng
5440fb1c03 Add speed test link for huecker 2024-06-14 02:12:10 +08:00
Aoran Zeng
d177320fe1 Add speed test link for DaoCloud 2024-06-14 02:08:38 +08:00
Aoran Zeng
a247e6ebb9 Consider NULL for str_start_with 2024-06-14 01:54:58 +08:00
Aoran Zeng
7cbaa389a8 Add source daocloud and huecker for dockerhub
[GitHub link #35]
2024-06-14 01:31:20 +08:00
Aoran Zeng
1e1d8a44bb Ensure external program 2024-06-14 01:02:23 +08:00
Aoran Zeng
3e4ce0df59 FreeBSD is not user definable temporarily 2024-06-14 00:29:40 +08:00
Aoran Zeng
18a4142773 Make pl and os user definable
[GitHub link #33 #29]
2024-06-14 00:20:02 +08:00
Aoran Zeng
92b3446531 Yield source 2024-06-13 23:43:31 +08:00
Aoran Zeng
419168fcf7 Add UserDefine mirror and test Ruby
[GitHub link #33 #29]
2024-06-13 23:27:59 +08:00
Aoran Zeng
6006b42d60 Note when backup 2024-06-13 00:46:01 +08:00
Aoran Zeng
0470137688 Fix typo in query_file_exist 2024-06-13 00:41:06 +08:00
Aoran Zeng
b86e89ae22 Output checking info when query_file_exist 2024-06-13 00:39:31 +08:00
Aoran Zeng
77830a96ed Take a look at file 2024-06-13 00:21:00 +08:00
Aoran Zeng
4896a4c4c3 Move curl testing into auto_select_ 2024-06-13 00:17:26 +08:00
Aoran Zeng
d9d8662aa8 Add sources for Anolis
[Gitee link #I83XTG]
2024-06-12 21:57:47 +08:00
Aoran Zeng
d071a382c7 Add almalinux sources
[Gitee link #IA4ZRY]
2024-06-12 21:46:16 +08:00
Aoran Zeng
39c7ab882a Add supported mirrors by Volcengine
[Gitee link #I9W0PW]
2024-06-12 21:20:18 +08:00
Aoran Zeng
e4baf6a579 Add MirrorSite Volcengine
[Gitee link #I9W0PW]
2024-06-12 20:57:11 +08:00
Aoran Zeng
a910733b42 Update file headers 2024-06-11 20:18:02 +08:00
Aoran Zeng
3ac16992af Split function of check remarkably 2024-06-11 18:03:02 +08:00
Aoran Zeng
a2dcaf03ed Use new xy_run and add a placeholder URL 2024-06-11 17:05:15 +08:00
Aoran Zeng
cb87e7d09c Conceal internal marco 2024-06-11 17:00:22 +08:00
Aoran Zeng
452fc72762 Rename to use xy_run 2024-06-11 16:54:28 +08:00
Aoran Zeng
dbb5da8881 Use remarkable info when back up 2024-06-08 15:59:59 +08:00
Aoran Zeng
3240b3d4a2 Not use itoa 2024-06-08 15:50:46 +08:00
Aoran Zeng
76e7f76970 Bold the prompt of checking cmd 2024-06-08 15:34:58 +08:00
Aoran Zeng
b4d6cf3e43 Fix xy_streql when NULL 2024-06-08 15:32:31 +08:00
Aoran Zeng
b8b59ba3e1 Use new remarkable log tool when changing
[GitHub link #21]
2024-06-08 15:13:37 +08:00
Aoran Zeng
acdf59f555 Emphasize prompt2 for remarkable log 2024-06-08 14:53:54 +08:00
Aoran Zeng
7337554e53 Really no available sources for DockerHub
[Gitee link #I80UDD]
[GitHub link #25]
2024-06-08 14:45:05 +08:00
Aoran Zeng
9522196a30 File an issue anywhere 2024-06-08 13:26:52 +08:00
Aoran Zeng
e56e4fa02b Add notice for semiauto/manual changing
[GitHub link #21]
2024-06-08 12:38:41 +08:00
Aoran Zeng
1bdeb90619 Add CocoaPods sources
[Gitee link #I83XTC]
2024-06-08 09:54:52 +08:00
Aoran Zeng
2693174f2f Make better output when running command 2024-06-08 09:37:27 +08:00
Aoran Zeng
bea504efb1 Add plain log 2024-06-08 09:23:42 +08:00
Aoran Zeng
5b7e70853a Check chsrc_run command status
[GitHub link #21]
2024-06-08 08:54:46 +08:00
Aoran Zeng
ab163f3ba3 Define chsrc logging tool 2024-06-08 08:34:53 +08:00
Aoran Zeng
70abb0c8a4 Adjust default log and remarkably log 2024-06-08 08:13:54 +08:00
Aoran Zeng
e7d2d68f20 Format a few of xy.h and add say 2024-06-08 07:24:57 +08:00
Aoran Zeng
7e591ff025 Log remarkbly 2024-06-08 07:13:38 +08:00
Aoran Zeng
64ef33cb19 Remove sudo
[GitHub link #23]
2024-06-08 06:11:49 +08:00
Aoran Zeng
3b620afe7e Support reset for Ruby and Python
[Gitee link #I9V6EV]
2024-06-07 23:56:42 +08:00
Aoran Zeng
d864590701 Adjust upstream assertion 2024-06-07 23:51:11 +08:00
Aoran Zeng
f8a817ccc2 All sources add upstream 2024-06-07 23:50:09 +08:00
Aoran Zeng
b3b7b4c355 Fully support reset
[GitHub link #14]
2024-06-07 22:28:06 +08:00
Aoran Zeng
5fd8e86fb9 Add winget sources
[Gitee link #I9W0SE]
2024-06-07 21:02:38 +08:00
Aoran Zeng
d1a6fd786e Bypass upstream 2024-06-05 15:47:15 +08:00
Aoran Zeng
b2cba6ca27 Return the second source 2024-06-05 14:48:29 +08:00
Aoran Zeng
739740b8a9 Rename to MirrorSite 2024-06-05 14:42:31 +08:00
Aoran Zeng
c956704f3b Add upstreams for Ruby and Python 2024-06-05 14:35:51 +08:00
Aoran Zeng
7617a08373 Change default source selection name from 'default' to 'first' 2024-06-05 13:38:04 +08:00
Aoran Zeng
557db108b3 Add support for ipv6
[Gitee link #I85687]
2024-06-05 10:15:58 +08:00
Aoran Zeng
e606185c86 Adjust some order 2024-05-25 00:59:20 +08:00
Aoran Zeng
e564239fed Use better output 2024-05-25 00:49:13 +08:00
Aoran Zeng
bc7c76e161 Update sources ranking positions 2024-05-24 21:40:17 +08:00
Aoran Zeng
ecf8562c7d Add 3 sources from HUST 2024-05-24 21:11:22 +08:00
Aoran Zeng
2937e19bb7 Fix Huawei mirror site big file url 2024-05-24 20:56:46 +08:00
Aoran Zeng
002f1e40f0 Add mirror site HUST
[Gitee link #I9RXX1]
2024-05-24 20:55:46 +08:00
Aoran Zeng
12b7bdcb89 Use singular 2024-05-24 20:43:48 +08:00
Aoran Zeng
d1da065906 Move to include 2024-05-24 16:45:18 +08:00