Skip to content

fix(ci): this time?#19

Merged
crazycrank merged 1 commit into
masterfrom
feat/scribe-lithography
Apr 13, 2026
Merged

fix(ci): this time?#19
crazycrank merged 1 commit into
masterfrom
feat/scribe-lithography

Conversation

@crazycrank

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings April 13, 2026 14:22
@crazycrank crazycrank force-pushed the feat/scribe-lithography branch from 32fb293 to e4f9701 Compare April 13, 2026 14:24
@crazycrank crazycrank merged commit dd77733 into master Apr 13, 2026
2 checks passed
@crazycrank crazycrank deleted the feat/scribe-lithography branch April 13, 2026 14:25

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR appears aimed at fixing CI/local-dev restore behavior by removing the repo’s NuGet.config and instead packaging MSBuild build/ entrypoints into the core BulletsForHumanity.Scribe NuGet package to auto-import Scribe.LocalDev.props/targets for consumers.

Changes:

  • Pack build/<PackageId>.props/targets plus Scribe.LocalDev.* into the BulletsForHumanity.Scribe nupkg so NuGet can auto-import LocalDev infra for non-SDK consumers.
  • Add NuGet auto-import entrypoint files (BulletsForHumanity.Scribe.props/targets) that chain into Scribe.LocalDev.props/targets.
  • Remove NuGet.config (previously used to add a local artifacts package source).

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

File Description
Scribe/Scribe.csproj Packs LocalDev MSBuild files into the core package’s build/ folder.
Scribe/build/BulletsForHumanity.Scribe.props Adds the early-phase NuGet auto-import entrypoint chaining into Scribe.LocalDev.props.
Scribe/build/BulletsForHumanity.Scribe.targets Adds the late-phase NuGet auto-import entrypoint chaining into Scribe.LocalDev.targets.
NuGet.config Deletes the local artifacts feed configuration.

Comment thread Scribe/Scribe.csproj
Comment on lines +23 to +30
<!-- Pack LocalDev props/targets so NuGet auto-imports them for any consumer
regardless of whether the project uses Scribe.Sdk or Microsoft.NET.Sdk.
build/BulletsForHumanity.Scribe.{props,targets} are the PackageId-named
entry points NuGet auto-imports; they chain into Scribe.LocalDev.*. -->
<None Include="build\BulletsForHumanity.Scribe.props" Pack="true" PackagePath="build\" />
<None Include="build\BulletsForHumanity.Scribe.targets" Pack="true" PackagePath="build\" />
<None Include="build\Scribe.LocalDev.props" Pack="true" PackagePath="build\" />
<None Include="build\Scribe.LocalDev.targets" Pack="true" PackagePath="build\" />

Copilot AI Apr 13, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deleting NuGet.config removes the repo’s only explicit local package source. Because global.json pins the MSBuild SDK BulletsForHumanity.Scribe.Sdk to a timestamped -dev.* version, dotnet restore will typically be unable to resolve the SDK from nuget.org and restores/builds will fail. Consider either (1) keeping a NuGet.config that points to a repo-local .artifacts/packages feed (and ensuring the directory exists before restore), or (2) changing global.json to reference a published SDK version so no local feed is required.

Copilot uses AI. Check for mistakes.
Comment on lines +12 to +14
$(ScribeRoot) and $(ScribesName) must be set by the consumer's
Directory.Build.props BEFORE this auto-import fires; otherwise the
file is a no-op.

Copilot AI Apr 13, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment implies both $(ScribeRoot) and $(ScribesName) must be set by consumers for this import to do anything. In Scribe.LocalDev.props, $(ScribesName) is optional for pure consumers (it’s only needed to enable producer mode); requiring it here is misleading. Reword to indicate $(ScribeRoot) is required, and $(ScribesName) is only needed for producer projects.

Suggested change
$(ScribeRoot) and $(ScribesName) must be set by the consumer's
Directory.Build.props BEFORE this auto-import fires; otherwise the
file is a no-op.
$(ScribeRoot) must be set by the consumer's Directory.Build.props
BEFORE this auto-import fires; otherwise LocalDev consumer behavior is
effectively a no-op. $(ScribesName) is only required for producer
projects.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants