Commit Graph

52 Commits

Author SHA1 Message Date
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 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 069f5fb827 Add prepend 2024-07-03 13:59:06 +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 91c94ad012 Update file headers 2024-06-21 01:47:28 +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 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 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 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 b8b59ba3e1 Use new remarkable log tool when changing
[GitHub link #21]
2024-06-08 15:13:37 +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 2693174f2f Make better output when running command 2024-06-08 09:37:27 +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 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 b3b7b4c355 Fully support `reset`
[GitHub link #14]
2024-06-07 22:28:06 +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 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 e564239fed Use better output 2024-05-25 00:49:13 +08:00