docs: TOOLS.md — 补充包命名 slug 规则

This commit is contained in:
2026-07-13 17:06:08 +00:00
parent dcc1af2771
commit 8c59a5d5cd
+12
View File
@@ -65,6 +65,18 @@ steps:
input: $params.input_path
```
## 包命名规则
套件发布到 Gitea Packages 时,包名由套件名称自动生成 slug:
```
例:"土地整治竣工结算" → land-remediation-settlement
"Hello World" → hello-world
"Buffer Analysis" → buffer-analysis
```
slug 规则:转小写 → 非字母数字替换为连字符 → 合并连续连字符 → 去掉首尾连字符。
## 基础镜像
所有套件在 gis-base 镜像中执行,包含:Python 3, GDAL, Shapely, GeoPandas, numpy, openpyxl, xlrd