A release would push the admin halves without the packages they depend on

未关闭
#3,453 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
68/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
csharp, github-actions
领域
ci-cd, release

调研方向

Start with .github/workflows/publish.yml around lines 205–208, then inspect the two cited project files to confirm package dependencies and template defaults. Run or add a publish dry run that lists packages and their FluentCMS dependencies; done means no listed package has an unlisted FluentCMS dependency, and release notes explain using --admin false until A-47.

由索引模型根据 Issue 内容生成。

描述

area:admin area:build type:bug

Problem

The Publish workflow keeps the admin out of a release by removing FluentCMS.Admin*.nupkg and .snupkg after the pack (.github/workflows/publish.yml, lines 205 to 208). The pattern does not match FluentCMS.Plugins.Media.Admin, which is packable (admin/src/plugins/FluentCMS.Plugins.Media.Admin/FluentCMS.Plugins.Media.Admin.csproj) and depends on FluentCMS.Admin.Abstractions and FluentCMS.Admin.Components, both removed. A6 adds five more halves of the same name shape. FluentCMS.Templates is pushed too, and dotnet new fluentcms-plugin writes an admin half by default that references the same two packages (templates/fluentcms-plugin/src/FluentCms-Plugin1.Admin/FluentCms-Plugin1.Admin.csproj). 1.0.0-preview.1 was tagged on 16 Nov 2026, before the media half and the template's half existed, so no release has met this. A release cut from main today would push a package that cannot be restored and a template whose default output does not restore from nuget.org. Read from the workflow file; no dry run was made to see the list.

Proposal

Until A-47: remove FluentCMS.Plugins.*.Admin as well, and say in the notes of a release that dotnet new fluentcms-plugin takes --admin false until the admin is released; or have the dry run fail when a package to push depends on a FluentCMS package that is not among them.

Acceptance

  • A dry run lists no package that depends on a FluentCMS package it does not list
  • The notes of a release before A-47 say how to use the plugin template

Found while A7 was planned (20 Nov 2026). Matters only if a release is tagged before A-47. Size: S.

主要语言
C#
星标
567
派生
107
平均合并
1 小时 19 分钟
30 天内合并 PR
353

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

fluentcms/FluentCMS 的其他 Issue

查看 fluentcms/FluentCMS 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。