Skip to content

Commit cc71381

Browse files
committed
Update doc
1 parent 4515432 commit cc71381

10 files changed

+13
-15
lines changed

doc/Write-A-Recipe-Even-If-You-Dont-Know-C.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
! Contributors : Nul None <[email protected]>
77
! |
88
! Created On : <2024-08-19>
9-
! Last Modified : <2024-11-08>
9+
! Last Modified : <2024-11-23>
1010
! ---------------------------------------------------------- -->
1111

1212
# Write A Recipe Even If You Don't Know C
@@ -17,7 +17,7 @@
1717

1818
<br>
1919

20-
我鼓励你为新的软件添加换源支持,因为通过 `chsrc` 这将非常简单,你的贡献也将非常有价值。
20+
我鼓励你为新的软件添加换源支持,因为通过 `chsrc` 这将非常简单,你的贡献也将非常有价值。理论上每一个 `recipe` 都需要有专人长时间维护。
2121

2222
1. 本项目采用`GPLv3+`协议,是真正的**自由软件**,而非仅仅是开源软件
2323
2. 代码规范灵活遵循`GNU`标准(若标准干扰了可维护性,则并不采纳)
@@ -75,10 +75,10 @@
7575

7676
5. 可以使用这些函数:
7777

78-
1. `chsrc-framework.h` 中暴露出的任何 `chsrc_` 开头的函数或宏
78+
1. `framework/core.c` 中以 `chsrc_` 开头的所有函数或宏
7979
2. `xy.h` 中以 `xy_` 开头的所有函数或宏
8080

81-
6.`menu.c` 中添加用户可以使用的 `target` 别名
81+
6.`recipe/menu.c` 中添加用户可以使用的 `target` 别名
8282

8383
7. 构建并运行 `chsrc set <target>` 测试,若无问题可提交 Pull Request
8484

src/recipe/lang/Clojure.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* ------------------------------------------------------------*/
99

1010
/**
11-
* @time 2023-09-10 更新
11+
* @update 2023-09-10
1212
* @note 不太好换,且用户可能不多,我们暂时只给用户提供文档
1313
*/
1414
static Source_t pl_clojure_sources[] =

src/recipe/lang/Java.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* ------------------------------------------------------------*/
99

1010
/**
11-
* @time 2024-04-18 更新
11+
* @update 2024-04-18
1212
* @note 缺少教育网或开源社区软件源
1313
*/
1414
static Source_t pl_java_sources[] =

src/recipe/os/APT/Armbian.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
/**
1313
* @update 2024-11-21
1414
*/
15-
static Source_t
16-
os_armbian_sources[] =
15+
static Source_t os_armbian_sources[] =
1716
{
1817
{&UpstreamProvider, "http://apt.armbian.com"},
1918
{&MirrorZ, "https://mirrors.cernet.edu.cn/armbian"},

src/recipe/os/APT/Raspberry-Pi-OS.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* ------------------------------------------------------------*/
1111

1212
/**
13-
* @time 2023-09-29 更新
13+
* @update 2023-09-29
1414
*/
1515
static Source_t os_raspberrypi_sources[] =
1616
{

src/recipe/os/APT/openKylin.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* ------------------------------------------------------------*/
1212

1313
/**
14-
* @time 2023-09-29 更新
14+
* @update 2023-09-29
1515
*/
1616
static Source_t os_openkylin_sources[] =
1717
{

src/recipe/os/YUM/AlmaLinux.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* ------------------------------------------------------------*/
99

1010
/**
11-
* @time 2024-06-12 更新
11+
* @update 2024-06-12
1212
*/
1313
static Source_t os_almalinux_sources[] =
1414
{

src/recipe/os/pacman/MSYS2.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* ------------------------------------------------------------*/
99

1010
/**
11-
* @time 2024-04-18 更新
11+
* @update 2024-04-18
1212
*/
1313
static Source_t os_msys2_sources[] =
1414
{

src/recipe/ware/Anaconda.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* ------------------------------------------------------------*/
99

1010
/**
11-
* @time 2023-09-10 更新
11+
* @update 2023-09-10
1212
* @note 这些链接将会在setsrc函数中补充完整
1313
*/
1414
static Source_t wr_anaconda_sources[] =

src/recipe/ware/Homebrew.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
* 2. 不确定 Sustech 能否工作
1616
* }
1717
*/
18-
static Source_t
19-
wr_homebrew_sources[] =
18+
static Source_t wr_homebrew_sources[] =
2019
{
2120
{&UpstreamProvider, NULL},
2221
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/"},

0 commit comments

Comments
 (0)