From 3a79ed1ac204822e002e1c161bad3bb2eabaee9c Mon Sep 17 00:00:00 2001 From: Brice SCHUMACHER Date: Sat, 27 Jun 2026 00:47:45 +0200 Subject: [PATCH] refactor: rename internal packages to NotoriousTest.Internal.* and make them packable Rename the four internal projects (Runtime, SqlLiteRegistry, TestSettings, Watchdog) to the NotoriousTest.Internal.* namespace to clearly signal they are not meant for direct consumption. Each project now has a proper PackageId, Description (prefixed with [Internal]), IsPackable=true, and GenerateDocumentationFile=true. AssemblyName and RootNamespace are preserved to avoid source-level breaking changes. All ProjectReferences and solution files updated accordingly. Co-Authored-By: Claude Sonnet 4.6 --- DoggyDog/DoggyDog.csproj | 4 ++-- .../NotoriousTest.Internal.Runtime.csproj | 17 +++++++++++++++++ .../RuntimeConfigurationEntity.cs | 0 .../RuntimeConfigurationProvider.cs | 0 .../InfrastructureRegistryEntryEntity.cs | 0 ...toriousTest.Internal.SqlLiteRegistry.csproj | 12 ++++++++---- .../SqliteRegistryProvider.cs | 0 .../SqliteRegistryProviderConfiguration.cs | 0 .../SqliteRegistryProviderQueries.cs | 0 .../NotoriousTest.Internal.TestSettings.csproj | 18 ++++++++++++++++++ .../TestSettingsProvider.cs | 0 .../DoggyDogWatchDog.cs | 0 .../DoggyDogWatchdogConfiguration.cs | 0 .../NotoriousTest.Internal.Watchdog.csproj | 15 +++++++++++++++ NotoriousTest.NoDoggyDog.slnf | 8 ++++---- .../NotoriousTest.Runtime.csproj | 12 ------------ .../NotoriousTest.TestSettings.csproj | 14 -------------- .../NotoriousTest.UnitTests.csproj | 4 ++-- .../NotoriousTest.Watchdog.csproj | 12 ------------ NotoriousTest.slnx | 8 ++++---- NotoriousTest/NotoriousTest.csproj | 8 ++++---- 21 files changed, 74 insertions(+), 58 deletions(-) create mode 100644 NotoriousTest.Internal.Runtime/NotoriousTest.Internal.Runtime.csproj rename {NotoriousTest.Runtime => NotoriousTest.Internal.Runtime}/RuntimeConfigurationEntity.cs (100%) rename {NotoriousTest.Runtime => NotoriousTest.Internal.Runtime}/RuntimeConfigurationProvider.cs (100%) rename {NotoriousTest.SqlLiteRegistry => NotoriousTest.Internal.SqlLiteRegistry}/InfrastructureRegistryEntryEntity.cs (100%) rename NotoriousTest.SqlLiteRegistry/NotoriousTest.SqlLiteRegistry.csproj => NotoriousTest.Internal.SqlLiteRegistry/NotoriousTest.Internal.SqlLiteRegistry.csproj (53%) rename {NotoriousTest.SqlLiteRegistry => NotoriousTest.Internal.SqlLiteRegistry}/SqliteRegistryProvider.cs (100%) rename {NotoriousTest.SqlLiteRegistry => NotoriousTest.Internal.SqlLiteRegistry}/SqliteRegistryProviderConfiguration.cs (100%) rename {NotoriousTest.SqlLiteRegistry => NotoriousTest.Internal.SqlLiteRegistry}/SqliteRegistryProviderQueries.cs (100%) create mode 100644 NotoriousTest.Internal.TestSettings/NotoriousTest.Internal.TestSettings.csproj rename {NotoriousTest.TestSettings => NotoriousTest.Internal.TestSettings}/TestSettingsProvider.cs (100%) rename {NotoriousTest.Watchdog => NotoriousTest.Internal.Watchdog}/DoggyDogWatchDog.cs (100%) rename {NotoriousTest.Watchdog => NotoriousTest.Internal.Watchdog}/DoggyDogWatchdogConfiguration.cs (100%) create mode 100644 NotoriousTest.Internal.Watchdog/NotoriousTest.Internal.Watchdog.csproj delete mode 100644 NotoriousTest.Runtime/NotoriousTest.Runtime.csproj delete mode 100644 NotoriousTest.TestSettings/NotoriousTest.TestSettings.csproj delete mode 100644 NotoriousTest.Watchdog/NotoriousTest.Watchdog.csproj diff --git a/DoggyDog/DoggyDog.csproj b/DoggyDog/DoggyDog.csproj index 568a89c..94f9b4b 100644 --- a/DoggyDog/DoggyDog.csproj +++ b/DoggyDog/DoggyDog.csproj @@ -10,8 +10,8 @@ - - + + diff --git a/NotoriousTest.Internal.Runtime/NotoriousTest.Internal.Runtime.csproj b/NotoriousTest.Internal.Runtime/NotoriousTest.Internal.Runtime.csproj new file mode 100644 index 0000000..ac2a73c --- /dev/null +++ b/NotoriousTest.Internal.Runtime/NotoriousTest.Internal.Runtime.csproj @@ -0,0 +1,17 @@ + + + net8.0 + NotoriousTest.Internal.Runtime + NotoriousTest.Runtime + NotoriousTest.Runtime + [Internal] Provides the runtime configuration layer for NotoriousTest. Not intended for direct consumption — use the NotoriousTest package instead. + true + true + + + + + + + + diff --git a/NotoriousTest.Runtime/RuntimeConfigurationEntity.cs b/NotoriousTest.Internal.Runtime/RuntimeConfigurationEntity.cs similarity index 100% rename from NotoriousTest.Runtime/RuntimeConfigurationEntity.cs rename to NotoriousTest.Internal.Runtime/RuntimeConfigurationEntity.cs diff --git a/NotoriousTest.Runtime/RuntimeConfigurationProvider.cs b/NotoriousTest.Internal.Runtime/RuntimeConfigurationProvider.cs similarity index 100% rename from NotoriousTest.Runtime/RuntimeConfigurationProvider.cs rename to NotoriousTest.Internal.Runtime/RuntimeConfigurationProvider.cs diff --git a/NotoriousTest.SqlLiteRegistry/InfrastructureRegistryEntryEntity.cs b/NotoriousTest.Internal.SqlLiteRegistry/InfrastructureRegistryEntryEntity.cs similarity index 100% rename from NotoriousTest.SqlLiteRegistry/InfrastructureRegistryEntryEntity.cs rename to NotoriousTest.Internal.SqlLiteRegistry/InfrastructureRegistryEntryEntity.cs diff --git a/NotoriousTest.SqlLiteRegistry/NotoriousTest.SqlLiteRegistry.csproj b/NotoriousTest.Internal.SqlLiteRegistry/NotoriousTest.Internal.SqlLiteRegistry.csproj similarity index 53% rename from NotoriousTest.SqlLiteRegistry/NotoriousTest.SqlLiteRegistry.csproj rename to NotoriousTest.Internal.SqlLiteRegistry/NotoriousTest.Internal.SqlLiteRegistry.csproj index ced8265..3a92a09 100644 --- a/NotoriousTest.SqlLiteRegistry/NotoriousTest.SqlLiteRegistry.csproj +++ b/NotoriousTest.Internal.SqlLiteRegistry/NotoriousTest.Internal.SqlLiteRegistry.csproj @@ -1,9 +1,13 @@ - + net8.0 - false - - + NotoriousTest.Internal.SqlLiteRegistry + NotoriousTest.SqlLiteRegistry + NotoriousTest.SqlLiteRegistry + [Internal] SQLite-backed infrastructure registry for NotoriousTest. Not intended for direct consumption — use the NotoriousTest package instead. + true + true + diff --git a/NotoriousTest.SqlLiteRegistry/SqliteRegistryProvider.cs b/NotoriousTest.Internal.SqlLiteRegistry/SqliteRegistryProvider.cs similarity index 100% rename from NotoriousTest.SqlLiteRegistry/SqliteRegistryProvider.cs rename to NotoriousTest.Internal.SqlLiteRegistry/SqliteRegistryProvider.cs diff --git a/NotoriousTest.SqlLiteRegistry/SqliteRegistryProviderConfiguration.cs b/NotoriousTest.Internal.SqlLiteRegistry/SqliteRegistryProviderConfiguration.cs similarity index 100% rename from NotoriousTest.SqlLiteRegistry/SqliteRegistryProviderConfiguration.cs rename to NotoriousTest.Internal.SqlLiteRegistry/SqliteRegistryProviderConfiguration.cs diff --git a/NotoriousTest.SqlLiteRegistry/SqliteRegistryProviderQueries.cs b/NotoriousTest.Internal.SqlLiteRegistry/SqliteRegistryProviderQueries.cs similarity index 100% rename from NotoriousTest.SqlLiteRegistry/SqliteRegistryProviderQueries.cs rename to NotoriousTest.Internal.SqlLiteRegistry/SqliteRegistryProviderQueries.cs diff --git a/NotoriousTest.Internal.TestSettings/NotoriousTest.Internal.TestSettings.csproj b/NotoriousTest.Internal.TestSettings/NotoriousTest.Internal.TestSettings.csproj new file mode 100644 index 0000000..a3e3ac9 --- /dev/null +++ b/NotoriousTest.Internal.TestSettings/NotoriousTest.Internal.TestSettings.csproj @@ -0,0 +1,18 @@ + + + net8.0 + NotoriousTest.Internal.TestSettings + NotoriousTest.TestSettings + NotoriousTest.Core.Settings + [Internal] JSON-based test settings provider for NotoriousTest. Not intended for direct consumption — use the NotoriousTest package instead. + true + true + + + + + + + + + diff --git a/NotoriousTest.TestSettings/TestSettingsProvider.cs b/NotoriousTest.Internal.TestSettings/TestSettingsProvider.cs similarity index 100% rename from NotoriousTest.TestSettings/TestSettingsProvider.cs rename to NotoriousTest.Internal.TestSettings/TestSettingsProvider.cs diff --git a/NotoriousTest.Watchdog/DoggyDogWatchDog.cs b/NotoriousTest.Internal.Watchdog/DoggyDogWatchDog.cs similarity index 100% rename from NotoriousTest.Watchdog/DoggyDogWatchDog.cs rename to NotoriousTest.Internal.Watchdog/DoggyDogWatchDog.cs diff --git a/NotoriousTest.Watchdog/DoggyDogWatchdogConfiguration.cs b/NotoriousTest.Internal.Watchdog/DoggyDogWatchdogConfiguration.cs similarity index 100% rename from NotoriousTest.Watchdog/DoggyDogWatchdogConfiguration.cs rename to NotoriousTest.Internal.Watchdog/DoggyDogWatchdogConfiguration.cs diff --git a/NotoriousTest.Internal.Watchdog/NotoriousTest.Internal.Watchdog.csproj b/NotoriousTest.Internal.Watchdog/NotoriousTest.Internal.Watchdog.csproj new file mode 100644 index 0000000..f5e8eb8 --- /dev/null +++ b/NotoriousTest.Internal.Watchdog/NotoriousTest.Internal.Watchdog.csproj @@ -0,0 +1,15 @@ + + + net8.0 + NotoriousTest.Internal.Watchdog + NotoriousTest.Watchdog + NotoriousTest.Watchdog + [Internal] Watchdog service for detecting and recovering stale test environments in NotoriousTest. Not intended for direct consumption — use the NotoriousTest package instead. + true + true + + + + + + diff --git a/NotoriousTest.NoDoggyDog.slnf b/NotoriousTest.NoDoggyDog.slnf index 5e472c9..a5a07f6 100644 --- a/NotoriousTest.NoDoggyDog.slnf +++ b/NotoriousTest.NoDoggyDog.slnf @@ -3,10 +3,10 @@ "path": "NotoriousTest.slnx", "projects": [ "NotoriousTest.Core\\NotoriousTest.Core.csproj", - "NotoriousTest.Runtime\\NotoriousTest.Runtime.csproj", - "NotoriousTest.SqlLiteRegistry\\NotoriousTest.SqlLiteRegistry.csproj", - "NotoriousTest.TestSettings\\NotoriousTest.TestSettings.csproj", - "NotoriousTest.Watchdog\\NotoriousTest.Watchdog.csproj", + "NotoriousTest.Internal.Runtime\\NotoriousTest.Internal.Runtime.csproj", + "NotoriousTest.Internal.SqlLiteRegistry\\NotoriousTest.Internal.SqlLiteRegistry.csproj", + "NotoriousTest.Internal.TestSettings\\NotoriousTest.Internal.TestSettings.csproj", + "NotoriousTest.Internal.Watchdog\\NotoriousTest.Internal.Watchdog.csproj", "NotoriousTest\\NotoriousTest.csproj", "NotoriousTest.MSTest\\NotoriousTest.MSTest.csproj", "NotoriousTest.NUnit\\NotoriousTest.NUnit.csproj", diff --git a/NotoriousTest.Runtime/NotoriousTest.Runtime.csproj b/NotoriousTest.Runtime/NotoriousTest.Runtime.csproj deleted file mode 100644 index 5ca8149..0000000 --- a/NotoriousTest.Runtime/NotoriousTest.Runtime.csproj +++ /dev/null @@ -1,12 +0,0 @@ - - - net8.0 - false - - - - - - - - diff --git a/NotoriousTest.TestSettings/NotoriousTest.TestSettings.csproj b/NotoriousTest.TestSettings/NotoriousTest.TestSettings.csproj deleted file mode 100644 index 6b02e26..0000000 --- a/NotoriousTest.TestSettings/NotoriousTest.TestSettings.csproj +++ /dev/null @@ -1,14 +0,0 @@ - - - net8.0 - false - - - - - - - - - - diff --git a/NotoriousTest.UnitTests/NotoriousTest.UnitTests.csproj b/NotoriousTest.UnitTests/NotoriousTest.UnitTests.csproj index fc50592..2644a4a 100644 --- a/NotoriousTest.UnitTests/NotoriousTest.UnitTests.csproj +++ b/NotoriousTest.UnitTests/NotoriousTest.UnitTests.csproj @@ -24,8 +24,8 @@ - - + + diff --git a/NotoriousTest.Watchdog/NotoriousTest.Watchdog.csproj b/NotoriousTest.Watchdog/NotoriousTest.Watchdog.csproj deleted file mode 100644 index e695800..0000000 --- a/NotoriousTest.Watchdog/NotoriousTest.Watchdog.csproj +++ /dev/null @@ -1,12 +0,0 @@ - - - net8.0 - false - - - - - - - - diff --git a/NotoriousTest.slnx b/NotoriousTest.slnx index ab48a9d..3d21f2e 100644 --- a/NotoriousTest.slnx +++ b/NotoriousTest.slnx @@ -23,10 +23,10 @@ - - - - + + + + diff --git a/NotoriousTest/NotoriousTest.csproj b/NotoriousTest/NotoriousTest.csproj index 5b9c055..d7993f8 100644 --- a/NotoriousTest/NotoriousTest.csproj +++ b/NotoriousTest/NotoriousTest.csproj @@ -18,10 +18,10 @@ - - - - + + + +