From 8c59a5d5cd64b7feda930712caba3568aae3a6ba Mon Sep 17 00:00:00 2001 From: Huawei Date: Mon, 13 Jul 2026 17:06:08 +0000 Subject: [PATCH] =?UTF-8?q?docs:=20TOOLS.md=20=E2=80=94=20=E8=A1=A5?= =?UTF-8?q?=E5=85=85=E5=8C=85=E5=91=BD=E5=90=8D=20slug=20=E8=A7=84?= =?UTF-8?q?=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- suite-developer/TOOLS.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/suite-developer/TOOLS.md b/suite-developer/TOOLS.md index 6a7a4c4..b31877b 100644 --- a/suite-developer/TOOLS.md +++ b/suite-developer/TOOLS.md @@ -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