-
-
Notifications
You must be signed in to change notification settings - Fork 2
Set root namespace for C# package as Link.Foundation.Links.Notation instead of LinkFoundation.LinksNotation
#128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Adding CLAUDE.md with task information for AI processing. This file will be removed when the task is complete. Issue: undefined
…ion naming convention This commit completes the namespace transition by: - Renaming LinkFoundation.LinksNotation directory to Platform.links-notation - Renaming LinkFoundation.LinksNotation.Tests directory to Platform.links-notation.Tests - Renaming all .csproj and .sln files to match new naming convention - Updating all internal references in solution and project files - Updating GitHub workflow to use new paths (Platform.links-notation/Platform.links-notation.csproj) The namespace Link.Foundation.Links.Notation was already configured in the csproj files in a previous commit. This change ensures the CI scripts (read_csharp_package_info.sh) can find the project files at the expected path: Platform.links-notation/Platform.links-notation.csproj Fixes #125 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Link.Foundation.Links.Notation instead of LinkFoundation.LinksNotationLink.Foundation.Links.Notation instead of LinkFoundation.LinksNotation
This reverts commit d06e38b.
🤖 Solution Draft LogThis log file contains the complete execution trace of the AI solution draft process. 📎 Log file uploaded as GitHub Gist (241KB) Now working session is ended, feel free to review and add any feedback on the solution draft. |
|
Directories for C# should include |
|
🤖 AI Work Session Started Starting automated work session at 2025-10-18T17:25:33.528Z The PR has been converted to draft mode while work is in progress. This comment marks the beginning of an AI work session. Please wait working session to finish, and provide your feedback. |
This commit completes the namespace transition by renaming all directories and files to match the Link.Foundation.Links.Notation namespace structure. Changes: - Renamed directories: Platform.links-notation → Link.Foundation.Links.Notation - Renamed directories: Platform.links-notation.Tests → Link.Foundation.Links.Notation.Tests - Renamed all .csproj and .sln files to match new directory names - Updated solution file project references - Updated test project's ProjectReference - Updated CI workflow paths and package URL - Added CI script path overrides for namespace-based directory structure All tests passing (105/105) and build successful. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Solution Draft LogThis log file contains the complete execution trace of the AI solution draft process. 📎 Log file uploaded as GitHub Gist (232KB) Now working session is ended, feel free to review and add any feedback on the solution draft. |
Summary
This PR completes the namespace transition for the C# package from
LinkFoundation.LinksNotationtoLink.Foundation.Links.Notationby renaming directories and files to match the namespace structure exactly.Changes Made
Directory Renaming:
Platform.links-notation→Link.Foundation.Links.NotationPlatform.links-notation.Tests→Link.Foundation.Links.Notation.TestsFile Renaming:
Platform.links-notation.csproj→Link.Foundation.Links.Notation.csprojPlatform.links-notation.Tests.csproj→Link.Foundation.Links.Notation.Tests.csprojPlatform.links-notation.sln→Link.Foundation.Links.Notation.slnReference Updates:
csharp.yml) to use new pathsVersion: Confirmed version is set to
0.9.0as requestedKey Improvements
Directory Structure Now Matches Namespace: The directories are now named
Link.Foundation.Links.Notation(matching the namespace) instead ofPlatform.links-notation. This creates consistency between the code organization and the namespace structure.CI Script Compatibility: Added sed commands in the CI workflow to override the default path patterns in the external scripts, allowing them to work with the new namespace-based directory structure.
Root Cause Analysis
The previous attempts failed because:
LinkFoundation.LinksNotationdirectories (old namespace style)Platform.links-notationdirectories (CI script convention)Link.Foundation.Links.Notationdirectories (matching namespace) with CI overridesThe CI scripts from
linksplatform/ScriptsexpectPlatform.$REPOSITORY_NAMEpaths, but the user requirement is to have directories match the namespace exactly. This PR satisfies both requirements by:Link.Foundation.Links.Notation)Verification
dotnet build --configuration Release0.9.0inLink.Foundation.Links.Notation.csprojLink.Foundation.Links.Notationin both projectsFixes
Fixes #125
🤖 Generated with Claude Code