Skip to content

Publish Open.Database.Extensions again as a meta-package for Core, with a README, docs and a package consumer test - #329

Merged
electricessence merged 2 commits into
masterfrom
feat/meta-package
Dec 6, 2026
Merged

electricessence merged 2 commits into
masterfrom
feat/meta-package

Conversation

@electricessence

@electricessence electricessence commented Dec 6, 2026 •

Copy link
Copy Markdown
Collaborator

Open.Database.Extensions is published again as a meta-package: it installs Open.Database.Extensions.Core 11.0.1 and nothing else, so it is the same library as installing Core directly. Installing it is a supported route and the README says so plainly. Version 11.0.0 published four packages (Core, MSSqlClient, Channel, Dataflow); the meta-package was discontinued at 9.0 (that history line in the release notes stays). It ships with 11.0.1 together with the updated packages and the docs; nothing is published by this PR.

What changes

  • Source/Extensions: description and tags say it is a meta-package for Core. README rewritten: hero (hero-core.svg, tagline in the alt text), the Core pitch, a plain statement that installing the package is a supported route, install lines, a "Which package do I install?" table (any ADO.NET provider: this package or Core, same library; SQL Server: MSSqlClient; channels / dataflow: add .Channel / .Dataflow), the two sample blocks copied from Core's README (which come from compiled sample regions), and "The packages" table. The ProjectReference to Core keeps PrivateAssets="contentfiles".
  • "The packages" table gains an Open.Database.Extensions row and is now in all five package READMEs (Core, the meta-package, MSSqlClient, Channel, Dataflow; commit 6794f051), identical apart from the "(this package)" marker, as CONTRIBUTING-DOCS.md says. MSSqlClient, Channel and Dataflow used to point to Core for the list. Checked by comparing the five tables after normalizing the marker and links: one distinct table.
  • Docs: getting-started (install table row and a line naming the package), root README (install table row and a line), release notes 11.0.1 (lead sentence and a short section).
  • Package consumer test: OdxPackageId in the consumer project (-p:OdxVia=Extensions references Open.Database.Extensions). tests.yml checks that each sibling package depends on Core at the same version and carries README.md and logo.png, and runs a fifth variant, extensions, with the same roslyn5.12 analyzer-selection check as core and mssqlclient.

Evidence (commit 884802a3; the second commit 6794f051 only touches three package READMEs, base 306e0403 = origin/master)

  • Pack (Release, 11.0.1, no suffix): nuspec of Open.Database.Extensions.11.0.1.nupkg has a dependency on Open.Database.Extensions.Core 11.0.1 for net10.0, net11.0, netstandard2.0 and netstandard2.1, with no exclude; README.md and logo.png are in the package.
  • PrivateAssets="contentfiles" checked, not assumed: a consumer that references only the meta-package resolves the roslyn5.12 Open.Database.Extensions.Generator.dll analyzer (dotnet msbuild -t:ResolvePackageAssets;ResolveLockFileAnalyzers -getItem:Analyzer, SDK 11.0.100) and builds with 0 warnings.
  • Consumer tests on the packed files (own NuGet cache; each restored package hashed against the packed file, identical): variants core, mssqlclient, extensions, off, csharp12, each on net472 and net11.0, 3 tests per framework, all pass. The extensions variant runs the generator-path tests (mapped query through the generator's interceptors).
  • Gate (Release and Debug, no incremental): 0 warnings, 0 errors; Core.Tests Release 16283 and Debug 16278 total, 0 failed (ODX_REQUIRE_SQL=1); samples 267/267; dotnet format style + analyzers at info 0 findings on all 14 projects; docfx 0 warnings, 0 errors; Visual Studio MSBuild on the slnx 0 errors; style scan clean; leak check clean. This PR changes no .cs file.
  • Review: three Haiku reviewers (docs accuracy, packaging and CI, adversarial), arbitrated by me. Applied: release-notes lead sentence no longer says only "a dependency update"; getting-started names the meta-package in one sentence instead of a second install block; the README's SQL Server row states MSSqlClient's targets. Rejected: a claim that the Defined sample does not compile (it is the compiled region in docsite/samples/Defined.cs); a claim that the tagline is repeated as text (the pitch paragraph is Core's, unchanged).

For the owner

  • Hero: the meta-package README reuses hero-core.svg, whose package label reads "Core". The brief allows that unless a meta-specific hero is clearly better; I judged the library's identity the same and did not draw one. Say if you want a hero-extensions.svg.

Not covered

  • tests.yml (the new pack checks and the extensions variant) has not run on GitHub; the same commands were run locally through a3-pack-consume.ps1, the workflow itself runs for the first time on this PR.
  • Nothing was published, and the NuGet page of Open.Database.Extensions was not looked at.
  • The README of the packed file was packed before the last README wording change (the SQL Server row's targets); the tests do not read it.

🤖 Generated with Claude Code

electricessence and others added 2 commits December 5, 2026 17:37
…th a README, docs and a package consumer test

Open.Database.Extensions installs Open.Database.Extensions.Core 11.0.1 and nothing else, so it is the same library under the shorter name; Core's source generator and build targets reach a project that references only it (PrivateAssets="contentfiles" on the ProjectReference, checked on the packed files).

- Source/Extensions: description and tags say it is a meta-package for Core; README rewritten (hero, pitch, a plain statement that installing it is a supported route, install lines, "Which package do I install?", the sample blocks of Core's README, the same "The packages" table).
- "The packages" table gains an Open.Database.Extensions row in Core's README and the meta-package's README; getting-started, the root README and the 11.0.1 release notes name the package.
- PackageConsumer.Tests: OdxPackageId (OdxVia=Extensions references Open.Database.Extensions); tests.yml packs and checks the meta-package (Core dependency on the same version, README and icon in the package) and runs a fifth variant, extensions, on net472 and net11.0.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…-DOCS says

MSSqlClient, Channel and Dataflow pointed to Core for the list of packages. Each now carries the same table as Core and the meta-package, with its own row marked "(this package)", so a reader of any of the five sees how the packages are structured.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@electricessence
electricessence merged commit 1b7580e into master Dec 6, 2026
9 checks passed
@electricessence
electricessence deleted the feat/meta-package branch December 6, 2026 03:44
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.

1 participant