Skip to content

Commit e5ab83b

Browse files
committed
Rename to OpenShock.Internal
Rename the umbrella from Common to Internal to signal these are internal shared libraries for the OpenShock backend, not a public consumer SDK. - Directories/projects: Common -> Internal.Common, Common.AspNet -> Internal.AspNet, DynamicLinq -> Internal.DynamicLinq (plus test projects) - Namespaces: OpenShock.Common.* -> OpenShock.Internal.Common.*, OpenShock.DynamicLinq.* -> OpenShock.Internal.DynamicLinq.* - Solution Common.slnx -> Internal.slnx - RepositoryUrl -> github.com/OpenShock/DotNet.Internal - Update CI workflows, Cloudflare targets, and docs to the new paths
1 parent 988b493 commit e5ab83b

56 files changed

Lines changed: 85 additions & 84 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ jobs:
4545
shell: bash
4646
run: |
4747
dotnet restore
48-
dotnet publish Common/Common.csproj -c Release
49-
dotnet publish DynamicLinq/DynamicLinq.csproj -c Release
48+
dotnet publish Internal.Common/Internal.Common.csproj -c Release
49+
dotnet publish Internal.DynamicLinq/Internal.DynamicLinq.csproj -c Release
5050
5151
- name: Perform CodeQL Analysis
5252
uses: github/codeql-action/analyze@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2

.github/workflows/update-cloudflare-proxies.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
push:
88
paths:
99
- '.github/workflows/update-cloudflare-proxies.yml'
10-
- 'Common/CloudflareIPs.targets'
10+
- 'Internal.Common/CloudflareIPs.targets'
1111

1212
jobs:
1313
update-proxies:
@@ -23,13 +23,13 @@ jobs:
2323
global-json-file: global.json
2424

2525
- name: Regenerate Cloudflare IPs source
26-
run: dotnet build Common/Common.csproj -p:UpdateCloudflareIPs=true
26+
run: dotnet build Internal.Common/Internal.Common.csproj -p:UpdateCloudflareIPs=true
2727

2828
- name: Commit and Push Changes
2929
run: |
3030
git config user.name "github-actions[bot]"
3131
git config user.email "github-actions[bot]@users.noreply.github.com"
32-
git add Common/Utils/CloudflareNetworks.g.cs
32+
git add Internal.Common/Utils/CloudflareNetworks.g.cs
3333
3434
if git diff --cached --quiet; then
3535
echo "No changes detected."

CLAUDE.md

Lines changed: 9 additions & 8 deletions

Common.slnx

Lines changed: 0 additions & 7 deletions
This file was deleted.

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<Title>$(Product)</Title>
88
<Authors>OpenShock</Authors>
99
<Description>Common library for all .NET solutions within OpenShock</Description>
10-
<RepositoryUrl>https://github.com/OpenShock/DotNet.Common</RepositoryUrl>
10+
<RepositoryUrl>https://github.com/OpenShock/DotNet.Internal</RepositoryUrl>
1111
<PackageProjectUrl>https://openshock.org</PackageProjectUrl>
1212
<PackageId>$(Product.Replace(" ", "_"))</PackageId>
1313
<PackageReadmeFile>README.md</PackageReadmeFile>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
using OpenShock.Common.Problems;
1+
using OpenShock.Internal.Common.Problems;
22

3-
namespace OpenShock.Common.Errors;
3+
namespace OpenShock.Internal.Common.Errors;
44

55
public static class ExceptionError
66
{

Common.AspNet/ExceptionHandling/OpenShockExceptionHandler.cs renamed to Internal.AspNet/ExceptionHandling/OpenShockExceptionHandler.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
using Microsoft.AspNetCore.Http;
55
using Microsoft.Extensions.Hosting;
66
using Microsoft.Extensions.Logging;
7-
using OpenShock.Common.Errors;
7+
using OpenShock.Internal.Common.Errors;
88

9-
namespace OpenShock.Common.ExceptionHandling;
9+
namespace OpenShock.Internal.Common.ExceptionHandling;
1010

1111
public sealed class OpenShockExceptionHandler : IExceptionHandler
1212
{
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
</PropertyGroup>
55

66
<ItemGroup>
7-
<ProjectReference Include="..\Common\Common.csproj" />
7+
<ProjectReference Include="..\Internal.Common\Internal.Common.csproj" />
88
</ItemGroup>
99
</Project>

Common.AspNet/OpenShockControllerBase.cs renamed to Internal.AspNet/OpenShockControllerBase.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using Microsoft.AspNetCore.Mvc;
2-
using OpenShock.Common.Problems;
2+
using OpenShock.Internal.Common.Problems;
33

4-
namespace OpenShock.Common;
4+
namespace OpenShock.Internal.Common;
55

66
public class OpenShockControllerBase : ControllerBase
77
{

Common.AspNet/Problems/ExceptionProblem.cs renamed to Internal.AspNet/Problems/ExceptionProblem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Net;
22

3-
namespace OpenShock.Common.Problems;
3+
namespace OpenShock.Internal.Common.Problems;
44

55
public sealed class ExceptionProblem : OpenShockProblem
66
{

0 commit comments

Comments
 (0)