Skip to content

Fully rename all Pomelo references to Microting across entire codebase#304

Merged
renemadsen merged 6 commits intomasterfrom
copilot/question-assembly-name-intended
Apr 8, 2026
Merged

Fully rename all Pomelo references to Microting across entire codebase#304
renemadsen merged 6 commits intomasterfrom
copilot/question-assembly-name-intended

Conversation

Copy link
Copy Markdown

Copilot AI commented Apr 8, 2026

  • Rename assembly names from Pomelo.* to Microting.* in all .csproj files
  • Update all .targets files
  • Update MySqlOptionsExtension.cs debug info key prefixes
  • Update test assertions/references
  • Rename all C# namespaces from Pomelo.EntityFrameworkCore.MySql to Microting.EntityFrameworkCore.MySql
  • Update Directory.Build.props, NuGet.config, LICENSE, stylecop.json
  • Update README.md, docs, samples, benchmarks
  • Fix using statement order in compiled model baselines (Microting sorts before NetTopologySuite alphabetically, unlike Pomelo which sorted after)

Copilot AI and others added 2 commits April 8, 2026 04:16
…ing.EntityFrameworkCore.MySql

Changes:
- Updated AssemblyName in 4 src .csproj files
- Updated assembly name references in 9 .targets files (kept namespace-qualified type names unchanged)
- Updated debug info keys in MySqlOptionsExtension.cs
- Updated test assertions and references in 3 test files
- Added breaking change notice to README.md
- Updated README.md references to use the new assembly name

Agent-Logs-Url: https://github.com/microting/Pomelo.EntityFrameworkCore.MySql/sessions/ac058a11-4867-4d19-b31a-8874efad5daa

Co-authored-by: renemadsen <76994+renemadsen@users.noreply.github.com>
Copilot AI changed the title [WIP] Clarify intended assembly name for Pomelo.EntityFrameworkCore.MySql Rename assembly names from Pomelo.EntityFrameworkCore.MySql to Microting.EntityFrameworkCore.MySql Apr 8, 2026
Copilot AI requested a review from renemadsen April 8, 2026 04:19
Comment thread README.md Outdated
```
dotnet ef dbcontext scaffold "your-connection-string" "Microting.EntityFrameworkCore.MySql"
```
- The C# namespaces remain unchanged (`Pomelo.EntityFrameworkCore.MySql`), so `using` statements in your code do **not** need to change.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@copilot we need to change this too, since now we maintain our edition. So Pomelo has to go in all places.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Done in f07aa67. Replaced all Pomelo references with Microting across the entire codebase (696 files):

  • All C# namespaces renamed from Pomelo.EntityFrameworkCore.MySql to Microting.EntityFrameworkCore.MySql
  • RootNamespace in all .csproj files updated
  • Directory.Build.props: Company, Copyright, Product, StrongNameKeyId, PackageTags
  • PomeloTargetFrameworkMicrotingTargetFramework build property
  • All .targets files type-qualified names
  • Copyright headers, doc comments, docs, samples, benchmarks
  • NuGet.config (removed old Pomelo AZDO/MyGet feeds), LICENSE, stylecop.json
  • README.md breaking change notice updated to reflect the full rename (namespaces + assembly names)
  • Build verified: 0 warnings, 0 errors

Copilot AI and others added 2 commits April 8, 2026 04:32
- Renamed all C# namespaces from Pomelo.EntityFrameworkCore.MySql to Microting.EntityFrameworkCore.MySql
- Updated RootNamespace in all .csproj files
- Updated PomeloTargetFramework -> MicrotingTargetFramework build property
- Updated Directory.Build.props (Company, Copyright, Product, StrongNameKeyId, PackageTags)
- Updated .targets files type-qualified names
- Updated copyright headers and doc comments
- Updated all docs/, samples/, benchmark/ references
- Updated NuGet.config (removed old Pomelo AZDO/MyGet feeds)
- Updated LICENSE copyright
- Updated scaffold.ps1 and legacy migration backups
- Updated stylecop.json companyName
- Updated README.md breaking change notice for full rename

Agent-Logs-Url: https://github.com/microting/Pomelo.EntityFrameworkCore.MySql/sessions/e67cb5d3-ed73-4e71-9761-6c6d2bb856be

Co-authored-by: renemadsen <76994+renemadsen@users.noreply.github.com>
Copilot AI changed the title Rename assembly names from Pomelo.EntityFrameworkCore.MySql to Microting.EntityFrameworkCore.MySql Fully rename all Pomelo references to Microting across entire codebase Apr 8, 2026
Copilot AI requested a review from renemadsen April 8, 2026 04:35
@renemadsen
Copy link
Copy Markdown
Member

@copilot The changes resulted in this error:

Failed Microting.EntityFrameworkCore.MySql.FunctionalTests.Scaffolding.CompiledModelMySqlTest.BigModel_with_JSON_columns [2 m 39 s]
Error Message:
System.AggregateException : Differences found in 2 files (Difference found in DataEntityType.cs) (Difference found in PrincipalBaseEntityType.cs)
---- System.Exception : Difference found in DataEntityType.cs
-------- Assert.Equal() Failure: Strings differ
↓ (pos 617)
Expected: ···"ueConversion;\nusing NetTopologySuite.Geom"···
Actual: ···"ueConversion;\nusing Microting.EntityFrame"···
↑ (pos 617)
---- System.Exception : Difference found in PrincipalBaseEntityType.cs
-------- Assert.Equal() Failure: Strings differ
↓ (pos 680)
Expected: ···"ueGeneration;\nusing NetTopologySuite.Geom"···
Actual: ···"ueGeneration;\nusing Microting.EntityFrame"···
↑ (pos 680)
Stack Trace:
at Microsoft.EntityFrameworkCore.Scaffolding.CompiledModelTestBase.AssertBaseline(IReadOnlyCollection1 scaffoldedFiles, String testName) at Microsoft.EntityFrameworkCore.Scaffolding.CompiledModelTestBase.Test[TContext](Action1 onModelCreating, Action1 assertModel, Func2 useContext, Action1 onConfiguring, CompiledModelCodeGenerationOptions options, Func2 addServices, Func2 addDesignTimeServices, IEnumerable1 additionalSourceFiles, Action`1 assertAssembly, String expectedExceptionMessage, String testName)
--- End of stack trace from previous location ---
----- Inner Stack Trace #1 (System.Exception) -----

----- Inner Stack Trace -----
at Microsoft.EntityFrameworkCore.Scaffolding.CompiledModelTestBase.AssertBaseline(IReadOnlyCollection`1 scaffoldedFiles, String testName)
----- Inner Stack Trace #2 (System.Exception) -----

----- Inner Stack Trace -----
at Microsoft.EntityFrameworkCore.Scaffolding.CompiledModelTestBase.AssertBaseline(IReadOnlyCollection`1 scaffoldedFiles, String testName)

… rename

The namespace rename from Pomelo to Microting changed the alphabetical
sort order of using statements: Microting (M) now sorts before
NetTopologySuite (N), whereas Pomelo (P) sorted after it. Updated 4
baseline files in BigModel and BigModel_with_JSON_columns to match the
code generator output.

Agent-Logs-Url: https://github.com/microting/Pomelo.EntityFrameworkCore.MySql/sessions/02852c37-2af9-4f3f-819c-6039c7680517

Co-authored-by: renemadsen <76994+renemadsen@users.noreply.github.com>
Copy link
Copy Markdown
Author

Copilot AI commented Apr 8, 2026

@copilot The changes resulted in this error:

Failed Microting.EntityFrameworkCore.MySql.FunctionalTests.Scaffolding.CompiledModelMySqlTest.BigModel_with_JSON_columns [2 m 39 s]
...

Fixed in e8be389. The namespace rename from Pomelo to Microting changed the alphabetical sort order of using statements in the compiled model code generator output: Microting (M) now sorts before NetTopologySuite (N), whereas Pomelo (P) sorted after. Updated the 4 baseline files in BigModel/ and BigModel_with_JSON_columns/ to swap the order of using Microting.EntityFrameworkCore.MySql.Storage.Internal; and using NetTopologySuite.Geometries;.

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.

[Question]: Leaving assembly name Pomelo.EntityFrameworkCore.MySql intended?

2 participants