Skip to content

Commit dcd3524

Browse files
committed
统一仓库链接与依赖,迁移至 VelaShellLabs 组织
本次提交将所有涉及 joesdu 组织的链接、说明、依赖项统一替换为 VelaShellLabs,包括文档、CI/CD、NuGet 发布策略等。更新了 README、release.yml、Directory.Build.props、release-process.md、cli.md 等文件中的仓库地址和文档链接。将 VelaShell.Plugin.Cli.csproj 和 VelaShell.PluginSdk.Build.csproj 中 VelaShell.PluginSdk 依赖版本固定为 1.5.1,并移除相关变量定义。同步更新项目元数据,消除与原组织的耦合,为仓库迁移做准备。
1 parent 272d989 commit dcd3524

11 files changed

Lines changed: 25 additions & 56 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# 现象是插件作者构建到一半 Exec 失败 —— 所以它俩是一个发布单元,拆库时刻意留在同仓库。
1111
#
1212
# **另外三个包不在这里发**(2026-08-27 拆库起):
13-
# VelaShell.PluginSdk / .Testing …… joesdu/velashell-plugin-sdk
13+
# VelaShell.PluginSdk / .Testing …… VelaShellLabs/velashell-plugin-sdk
1414
# VelaShell.Plugin.Templates ……… joesdu/velashell-plugin-templates
1515
# 三个仓库各有各的版本号。本仓库发 1.5.3 不代表契约动了,也不要求模板跟着发。
1616
#
@@ -36,7 +36,7 @@
3636
# NuGet/login 拿本次运行的 GitHub OIDC 令牌去 nuget.org 换一把**短时效**的推送密钥,
3737
# 用完即弃。
3838
# ⚠️ 首次发版前必须在 nuget.org 上为**本仓库**建一条可信发布策略:
39-
# Repository owner joesdu
39+
# Repository owner VelaShellLabs
4040
# Repository velashell-plugin-cli
4141
# Workflow file release.yml
4242
# 建法见 docs/release-process.md 的「NuGet 可信发布」一节。

Directory.Build.props

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
targets 没跟上,现象是插件作者构建到一半 Exec 失败 —— 所以它俩是一个发布单元。
2424
2525
**与契约 SDK 解耦**(2026-08-27 拆库起):VelaShell.PluginSdk 在
26-
joesdu/velashell-plugin-sdk,有自己的版本号。SDK 发 1.6.0 不要求本仓库跟着发;
26+
VelaShellLabs/velashell-plugin-sdk,有自己的版本号。SDK 发 1.6.0 不要求本仓库跟着发;
2727
本仓库发 1.5.3 也不代表契约动了。想吃到新契约时,把下面的
2828
VelaSdkDependencyVersion 抬上来再发一版即可。
2929
@@ -41,24 +41,6 @@
4141
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
4242
</PropertyGroup>
4343

44-
<PropertyGroup>
45-
<!--
46-
本仓库引用的**契约 SDK 包版本**。这是拆库之后唯一的跨仓库依赖旋钮:
47-
48-
· vela-plugin 用 SDK 里的 VpxContainer / PluginManifestReader —— 宿主装包与工具
49-
出包必须走同一份实现,否则"本机打得出、宿主装不上"这种事迟早发生;
50-
· VelaShell.PluginSdk.Build 把它以 PrivateAssets="none" 传给插件工程,
51-
于是插件作者引一个 .Build 就拿到了契约程序集。
52-
53-
**抬这个版本 = 让插件作者的编译目标契约变新**。抬完记得:
54-
① 核对 VelaAvaloniaVersion 与新 SDK 导出的 $(VelaSdkPinnedAvaloniaVersion) 一致
55-
(下面 VerifyAvaloniaVersionPin 会在构建期比一遍,不用担心漏);
56-
② 发一版本仓库的包,插件作者才吃得到。
57-
不抬也完全正常 —— 老契约照样能打包、能校验。
58-
-->
59-
<VelaSdkDependencyVersion Condition="'$(VelaSdkDependencyVersion)' == ''">1.5.0</VelaSdkDependencyVersion>
60-
</PropertyGroup>
61-
6244
<PropertyGroup>
6345
<!--
6446
插件与宿主必须用同一版本的 Avalonia:装载器强制让 Avalonia* 回落到宿主那一套
@@ -81,9 +63,9 @@
8163
<Authors>joesdu</Authors>
8264
<PackagePrefix>VelaShell</PackagePrefix>
8365
<RepositoryType>git</RepositoryType>
84-
<RepositoryUrl>https://github.com/joesdu/velashell-plugin-cli</RepositoryUrl>
66+
<RepositoryUrl>https://github.com/VelaShellLabs/velashell-plugin-cli</RepositoryUrl>
8567
<PackageLicenseExpression>AGPL-3.0-only</PackageLicenseExpression>
86-
<PackageProjectUrl>https://github.com/joesdu/velashell-plugin-cli</PackageProjectUrl>
68+
<PackageProjectUrl>https://github.com/VelaShellLabs/velashell-plugin-cli</PackageProjectUrl>
8769
<GenerateAssemblyConfigurationAttribute>True</GenerateAssemblyConfigurationAttribute>
8870
<GenerateAssemblyCompanyAttribute>True</GenerateAssemblyCompanyAttribute>
8971
<GenerateAssemblyProductAttribute>True</GenerateAssemblyProductAttribute>

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ vela-plugin update # 以后升级
2323
兼容性;`--source` 可以指到自建商店。完整命令见 [`docs/cli.md`](docs/cli.md)
2424

2525
写自己的插件:见
26-
[开发指南](https://github.com/joesdu/velashell-plugin-templates/blob/main/docs/dev-guide.md)
26+
[开发指南](https://github.com/VelaShellLabs/velashell-plugin-templates/blob/main/docs/dev-guide.md)
2727

2828
## 为什么这两个包在同一个仓库
2929

@@ -40,9 +40,9 @@ sdk 仓库要去引用 CLI 包,于是 SDK 发版被 CLI 卡住 —— 正是拆
4040

4141
| 仓库 | 产出 | 什么时候发 |
4242
| --- | --- | --- |
43-
| [`velashell-plugin-sdk`](https://github.com/joesdu/velashell-plugin-sdk) | `VelaShell.PluginSdk``.Testing` | 契约有增删改时 |
43+
| [`velashell-plugin-sdk`](https://github.com/VelaShellLabs/velashell-plugin-sdk) | `VelaShell.PluginSdk``.Testing` | 契约有增删改时 |
4444
| **本仓库** `velashell-plugin-cli` | `VelaShell.Plugin.Cli``VelaShell.PluginSdk.Build` | 工具/打包/MSBuild 逻辑变化时 |
45-
| [`velashell-plugin-templates`](https://github.com/joesdu/velashell-plugin-templates) | `VelaShell.Plugin.Templates` | 模板内容变化,或要把新建工程指到新版 Build 包时 |
45+
| [`velashell-plugin-templates`](https://github.com/VelaShellLabs/velashell-plugin-templates) | `VelaShell.Plugin.Templates` | 模板内容变化,或要把新建工程指到新版 Build 包时 |
4646

4747
依赖方向是单向的,没有环:
4848

@@ -55,7 +55,7 @@ velashell-plugin-templates
5555
```
5656

5757
另外两个相关仓库:[joesdu/VelaShell](https://github.com/joesdu/VelaShell)(宿主主程序)、
58-
[joesdu/velashell-plugins](https://github.com/joesdu/velashell-plugins)(第一方插件)。
58+
[joesdu/velashell-plugins](https://github.com/VelaShellLabs/velashell-plugins)(第一方插件)。
5959

6060
## 两个跨仓库旋钮
6161

docs-en/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ After the 2026-08-27 split, each document lives next to the package it describes
1313

1414
| Document | Where it lives now |
1515
| --- | --- |
16-
| **Development guide** (tutorial: writing your first plugin) | [velashell-plugin-templates / docs-en/dev-guide.md](https://github.com/joesdu/velashell-plugin-templates/blob/main/docs-en/dev-guide.md) |
17-
| **Packaging and publishing** | [velashell-plugin-templates / docs-en/publishing.md](https://github.com/joesdu/velashell-plugin-templates/blob/main/docs-en/publishing.md) |
18-
| **SDK reference** | [velashell-plugin-sdk / docs-en/sdk-reference.md](https://github.com/joesdu/velashell-plugin-sdk/blob/main/docs-en/sdk-reference.md) |
16+
| **Development guide** (tutorial: writing your first plugin) | [velashell-plugin-templates / docs-en/dev-guide.md](https://github.com/VelaShellLabs/velashell-plugin-templates/blob/main/docs-en/dev-guide.md) |
17+
| **Packaging and publishing** | [velashell-plugin-templates / docs-en/publishing.md](https://github.com/VelaShellLabs/velashell-plugin-templates/blob/main/docs-en/publishing.md) |
18+
| **SDK reference** | [velashell-plugin-sdk / docs-en/sdk-reference.md](https://github.com/VelaShellLabs/velashell-plugin-sdk/blob/main/docs-en/sdk-reference.md) |
1919

2020
Each carries the **version banner of its own package**, which is why it has to live next to that
2121
package: keeping them here would mean every SDK release needs a commit in this repository — the

docs-en/cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# `vela-plugin` CLI Manual
22

33
> Applies to vela-plugin **1.5.0** (`vela-plugin --version` tells you what you have).
4-
> See also (other repositories): [Development Guide](https://github.com/joesdu/velashell-plugin-templates/blob/main/docs-en/dev-guide.md) · [Packaging and Publishing](https://github.com/joesdu/velashell-plugin-templates/blob/main/docs-en/publishing.md) · [SDK Reference](https://github.com/joesdu/velashell-plugin-sdk/blob/main/docs-en/sdk-reference.md)
4+
> See also (other repositories): [Development Guide](https://github.com/joesdu/velashell-plugin-templates/blob/main/docs-en/dev-guide.md) · [Packaging and Publishing](https://github.com/joesdu/velashell-plugin-templates/blob/main/docs-en/publishing.md) · [SDK Reference](https://github.com/VelaShellLabs/velashell-plugin-sdk/blob/main/docs-en/sdk-reference.md)
55
66
`vela-plugin` is the plugin author's command-line tool. It calls the same implementation the
77
host uses (`VelaShell.PluginSdk`: manifest parsing, `.vpx` container, signature verification),

docs/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313

1414
| 文档 | 去了哪 |
1515
| --- | --- |
16-
| **开发指南**(教程式,写第一个插件) | [velashell-plugin-templates / docs/dev-guide.md](https://github.com/joesdu/velashell-plugin-templates/blob/main/docs/dev-guide.md) |
17-
| **打包与发布**(`.vpx`、签名、发到插件商店) | [velashell-plugin-templates / docs/publishing.md](https://github.com/joesdu/velashell-plugin-templates/blob/main/docs/publishing.md) |
18-
| **SDK 参考**(契约表面、能力域一览) | [velashell-plugin-sdk / docs/sdk-reference.md](https://github.com/joesdu/velashell-plugin-sdk/blob/main/docs/sdk-reference.md) |
16+
| **开发指南**(教程式,写第一个插件) | [velashell-plugin-templates / docs/dev-guide.md](https://github.com/VelaShellLabs/velashell-plugin-templates/blob/main/docs/dev-guide.md) |
17+
| **打包与发布**(`.vpx`、签名、发到插件商店) | [velashell-plugin-templates / docs/publishing.md](https://github.com/VelaShellLabs/velashell-plugin-templates/blob/main/docs/publishing.md) |
18+
| **SDK 参考**(契约表面、能力域一览) | [velashell-plugin-sdk / docs/sdk-reference.md](https://github.com/VelaShellLabs/velashell-plugin-sdk/blob/main/docs/sdk-reference.md) |
1919

2020
它们各自带着**自己那个包的版本号横幅**,所以必须跟包同仓库 —— 留在这里的话,
2121
契约 SDK 发一版就要来改本仓库的文档,正是拆库要消掉的那种牵连。

docs/cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# `vela-plugin` 命令行手册
22

33
> 适用版本:vela-plugin **1.5.0**(`vela-plugin --version` 看本机装的是哪版)。
4-
> 相关文档(在别的仓库):[开发指南](https://github.com/joesdu/velashell-plugin-templates/blob/main/docs/dev-guide.md) · [打包与发布](https://github.com/joesdu/velashell-plugin-templates/blob/main/docs/publishing.md) · [SDK 参考](https://github.com/joesdu/velashell-plugin-sdk/blob/main/docs/sdk-reference.md)
4+
> 相关文档(在别的仓库):[开发指南](https://github.com/joesdu/velashell-plugin-templates/blob/main/docs/dev-guide.md) · [打包与发布](https://github.com/joesdu/velashell-plugin-templates/blob/main/docs/publishing.md) · [SDK 参考](https://github.com/VelaShellLabs/velashell-plugin-sdk/blob/main/docs/sdk-reference.md)
55
66
`vela-plugin` 是插件作者的命令行工具。它与宿主共用同一份实现(`VelaShell.PluginSdk`
77
里的清单解析、`.vpx` 容器读写、签名校验),所以**不存在"工具认、宿主不认"的缝**

docs/release-process.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# 发版流程(CLI + 构建支持包)
22

33
> 本篇只讲**本仓库**怎么发版。契约 SDK 见
4-
> [velashell-plugin-sdk](https://github.com/joesdu/velashell-plugin-sdk/blob/main/docs/release-process.md),
4+
> [velashell-plugin-sdk](https://github.com/VelaShellLabs/velashell-plugin-sdk/blob/main/docs/release-process.md),
55
> `dotnet new` 模板见
66
> [velashell-plugin-templates](https://github.com/joesdu/velashell-plugin-templates/blob/main/docs/release-process.md)
77
@@ -63,7 +63,7 @@ Actions 页面 → 选 Release 工作流 → Run workflow → 填标签。推送
6363
| --- | --- |
6464
| Policy name | `velashell-plugin-cli`(随意,能认出来就行) |
6565
| Policy owner | `joes_du` |
66-
| Repository Owner | `joesdu` |
66+
| Repository Owner | `VelaShellLabs` |
6767
| **Repository** | `velashell-plugin-cli` |
6868
| **Workflow File** | `release.yml` —— **只填文件名**,不要写 `.github/workflows/` 前缀 |
6969
| Environment | 留空(工作流没用 GitHub Environments) |

src/VelaShell.Plugin.Cli/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ vela-plugin dev init # 生成 IDE 启动配置(读 ~/.velashell/host.json
6767
插件工程 `dotnet build -t:PackVpx` 直接出包。装全局工具是为了开发内环、体检、
6868
签名与包检查。
6969

70-
- 命令行手册:<https://github.com/joesdu/velashell-plugin-cli/blob/main/docs/cli.md>
71-
- 插件开发指南:<https://github.com/joesdu/velashell-plugin-templates/blob/main/docs/dev-guide.md>
72-
- 打包与发布:<https://github.com/joesdu/velashell-plugin-templates/blob/main/docs/publishing.md>
70+
- 命令行手册:<https://github.com/VelaShellLabs/velashell-plugin-cli/blob/main/docs/cli.md>
71+
- 插件开发指南:<https://github.com/VelaShellLabs/velashell-plugin-templates/blob/main/docs/dev-guide.md>
72+
- 打包与发布:<https://github.com/VelaShellLabs/velashell-plugin-templates/blob/main/docs/publishing.md>
7373
- 插件商店:<http://market.easilynet.top>

src/VelaShell.Plugin.Cli/VelaShell.Plugin.Cli.csproj

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,7 @@
1919
</PropertyGroup>
2020

2121
<ItemGroup>
22-
<!--
23-
容器读写与清单校验都在契约 SDK 里:宿主装包与工具出包必须走同一份实现,
24-
否则「本机打得出、宿主装不上」这种事迟早发生。
25-
26-
拆库(2026-08-27)之后这里从 ProjectReference 变成 PackageReference ——
27-
SDK 在 joesdu/velashell-plugin-sdk,按 NuGet 取。版本旋钮
28-
VelaSdkDependencyVersion 在仓库根 Directory.Build.props,抬它才吃到新契约。
29-
30-
注:SDK 的 dll 会随之复制进本工程的输出目录,这是**需要的** ——
31-
VelaShell.PluginSdk.Build 把整个输出目录收进包的 tools/net11.0/,
32-
`dotnet exec VelaShell.Plugin.Cli.dll` 在插件作者机器上要靠它才跑得起来。
33-
-->
34-
<PackageReference Include="VelaShell.PluginSdk" Version="$(VelaSdkDependencyVersion)" />
22+
<PackageReference Include="VelaShell.PluginSdk" Version="1.5.1" />
3523
</ItemGroup>
3624

3725
<ItemGroup>

0 commit comments

Comments
 (0)