From e008920f391172aed1a913bf4f0818d4d9c9675c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Thu, 7 May 2026 19:50:05 +0800 Subject: [PATCH 1/2] Add RoadMap.md and remove testing section MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove the '测试要求' testing section from README.md and add a new RoadMap.md containing planned V2.0.0 tasks (unify Uid/Uin service with SQLite persistence, improve debug experience with no-packaging debug and correct data dir). This separates roadmap details from the README for clarity and future tracking. --- README.md | 9 --------- RoadMap.md | 3 +++ 2 files changed, 3 insertions(+), 9 deletions(-) create mode 100644 RoadMap.md diff --git a/README.md b/README.md index 6a08090c..ecbd5906 100644 --- a/README.md +++ b/README.md @@ -5,15 +5,6 @@ ## 关于项目 项目处于开发初期,仅支持部分功能,持续高速迭代中,仅支持有头。 -## 测试要求 -1. 外部库能正常加载 - -2. 外部库能正常卸载 - -3. 卸载时Pipe以及副作用被清除 - -4. 当Snowluma重启时可恢复所有Pipe管道 - ## 鸣谢 [LagrangeV2](https://github.com/LagrangeDev/LagrangeV2) - Proto diff --git a/RoadMap.md b/RoadMap.md new file mode 100644 index 00000000..d7e90a86 --- /dev/null +++ b/RoadMap.md @@ -0,0 +1,3 @@ +# V2.0.0 前计划 +- [ ] 统一Uid/Uin提供一个Service,并实现Sqlite持久化,群/好友/入群和好友申请 获取新Uid。 +- [ ] 优化Debug体验,实现免打包Debug,同时数据目录正确。 \ No newline at end of file From 08d02c6303aac46eb8b98a025e0111501ed3f1a5 Mon Sep 17 00:00:00 2001 From: DrSmoothl <1787882683@qq.com> Date: Thu, 7 May 2026 22:44:44 +0800 Subject: [PATCH 2/2] ci(release): dispatch Docker publish on tags Trigger the external Docker release pipeline when a SnowLuma version tag is pushed. Keep Docker image and release target configuration in the SnowLuma environment. --- .github/workflows/dispatch-docker-release.yml | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 .github/workflows/dispatch-docker-release.yml diff --git a/.github/workflows/dispatch-docker-release.yml b/.github/workflows/dispatch-docker-release.yml new file mode 100644 index 00000000..5ac44770 --- /dev/null +++ b/.github/workflows/dispatch-docker-release.yml @@ -0,0 +1,47 @@ +name: Dispatch Docker Release + +on: + push: + tags: + - 'v*' + +permissions: + contents: read + +jobs: + dispatch: + runs-on: ubuntu-latest + environment: SnowLuma + steps: + - name: Dispatch Docker release request + uses: actions/github-script@v7 + env: + RELEASE_REPOSITORY: ${{ vars.DOCKER_RELEASE_REPOSITORY }} + DOCKER_IMAGE: ${{ vars.DOCKER_IMAGE }} + with: + github-token: ${{ secrets.DOCKER_RELEASE_TOKEN }} + script: | + const target = process.env.RELEASE_REPOSITORY; + if (!target || !target.includes('/')) { + throw new Error('Set SnowLuma environment variable DOCKER_RELEASE_REPOSITORY to owner/repo.'); + } + + const [owner, repo] = target.split('/'); + const refName = context.ref.replace('refs/tags/', ''); + const image = process.env.DOCKER_IMAGE || 'motricseven7/snowluma'; + + await github.rest.repos.createDispatchEvent({ + owner, + repo, + event_type: 'snowluma-tag-release', + client_payload: { + snowluma_repository: context.repo.owner + '/' + context.repo.repo, + snowluma_ref: context.ref, + snowluma_ref_name: refName, + snowluma_sha: context.sha, + docker_image: image, + docker_tag: refName, + }, + }); + + core.info(`Dispatched Docker release for ${context.ref} to ${target}.`);