Skip to content

Conversation

@konard
Copy link
Member

@konard konard commented Oct 12, 2025

Summary

This PR implements the renaming requirements specified in issue #119:

Package Name Changes

  • C# (NuGet): Platform.Protocols.LinoLinkFoundation.LinksNotation
  • JavaScript (npm): @linksplatform/protocols-linolinks-notation
  • Rust (cargo): platform-linolinks-notation
  • Python (PyPI): platform-linolinks-notation

Implementation Details

C# Changes

  • ✅ Updated .csproj files with new PackageId and RootNamespace
  • ✅ Renamed solution file: Platform.Protocols.Lino.slnLinkFoundation.LinksNotation.sln
  • ✅ Renamed project directories to match new naming
  • ✅ Updated all namespace declarations in .cs files
  • ✅ Updated Parser.peg @namespace directive
  • ✅ Fixed using aliases in test files
  • ✅ Incremented version to 0.8.0

JavaScript Changes

  • ✅ Updated package.json with new package name
  • ✅ Incremented version to 0.8.0

Rust Changes

  • ✅ Updated Cargo.toml with new crate name
  • ✅ Updated library name from lino to links_notation
  • ✅ Incremented version to 0.8.0

Python Changes

  • ✅ Updated pyproject.toml with new package name
  • ✅ Renamed module directory: platform_linolinks_notation
  • ✅ Updated all imports in test files
  • ✅ Incremented version to 0.8.0

Documentation & CI

  • ✅ Updated README.md and README.ru.md with new package names and code examples
  • ✅ Updated JavaScript README files
  • ✅ Updated GitHub Actions workflow (csharp.yml) with new project paths

Testing

  • ✅ All 105 C# tests pass
  • ✅ C# project builds successfully in Release configuration
  • ✅ No build errors or issues detected

Breaking Changes

⚠️ This is a breaking change for all existing users:

  • Users will need to update their imports/using statements
  • Package names have changed across all platforms
  • Existing code referencing the old names will need to be updated

Fixes #119


🤖 Generated with Claude Code

Adding CLAUDE.md with task information for AI processing.
This file will be removed when the task is complete.

Issue: #119
@konard konard self-assigned this Oct 12, 2025
konard and others added 9 commits October 12, 2025 05:57
- Changed PackageId from Platform.Protocols.Lino to LinkFoundation.LinksNotation
- Updated RootNamespace in both main and test projects
- Incremented version to 0.8.0 for new naming convention

Part of #119

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
…LinksNotation

- Renamed Platform.Protocols.Lino directory to LinkFoundation.LinksNotation
- Renamed Platform.Protocols.Lino.Tests directory to LinkFoundation.LinksNotation.Tests
- Renamed solution file to LinkFoundation.LinksNotation.sln
- Updated project references in solution and test project

Part of #119

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Changed namespace from Platform.Protocols.Lino to LinkFoundation.LinksNotation
- Updated both main project and test project namespaces

Part of #119

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Changed package name from @linksplatform/protocols-lino to links-notation
- Incremented version to 0.8.0

Part of #119

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Changed crate name from platform-lino to links-notation
- Updated library name from lino to links_notation
- Incremented version to 0.8.0

Part of #119

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Changed package name from platform-lino to links-notation
- Renamed module directory from platform_lino to links_notation
- Updated all imports in tests and scripts
- Incremented version to 0.8.0

Part of #119

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Updated README files with new package names:
  - C#: LinkFoundation.LinksNotation
  - npm: links-notation
  - cargo: links-notation
  - pypi: links-notation
- Updated code examples in README files
- Updated GitHub Actions workflow for C# package references

Part of #119

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Updated @namespace directive from Platform.Protocols.Lino to LinkFoundation.LinksNotation
- This fixes build errors related to type resolution in generated parser code

Part of #119

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Updated using aliases from Platform.Protocols.Lino to LinkFoundation.LinksNotation
- Fixes build errors in test project

Part of #119

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@konard konard changed the title [WIP] Rename repository to links-notation, update package names and namespaces Rename package names and namespaces per issue #119 Oct 12, 2025
@konard konard marked this pull request as ready for review October 12, 2025 03:09
@konard
Copy link
Member Author

konard commented Oct 12, 2025

🤖 Solution Draft Log

This log file contains the complete execution trace of the AI solution draft process.

📎 Log file uploaded as GitHub Gist (361KB)
🔗 View complete solution draft log


Now working session is ended, feel free to review and add any feedback on the solution draft.

@konard
Copy link
Member Author

konard commented Oct 12, 2025

Continue to apply it in the entire repositories. CI checks hinting that it was applied fully.

@konard konard marked this pull request as draft October 12, 2025 05:23
@konard
Copy link
Member Author

konard commented Oct 12, 2025

🤖 AI Work Session Started

Starting automated work session at 2025-10-12T05:23:43.780Z

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.

- Update C# solution file to reference correct project paths (LinkFoundation.LinksNotation)
- Update all Rust test files to import links_notation instead of lino
- Update Rust README files to use links_notation in code examples
- Update Cargo.lock to reflect new package name

All tests pass locally:
- C#: 105 tests passed
- Rust: 98 tests passed

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@konard konard marked this pull request as ready for review October 12, 2025 05:29
@konard
Copy link
Member Author

konard commented Oct 12, 2025

✅ CI Fixes Applied

Fixed the failing CI checks by completing the renaming process:

Changes Made

  1. C# Solution File (csharp/LinkFoundation.LinksNotation.sln)

    • Updated project references from old paths to new paths
    • Changed Platform.Protocols.Lino\Platform.Protocols.Lino.csprojLinkFoundation.LinksNotation\LinkFoundation.LinksNotation.csproj
    • Changed Platform.Protocols.Lino.Tests\Platform.Protocols.Lino.Tests.csprojLinkFoundation.LinksNotation.Tests\LinkFoundation.LinksNotation.Tests.csproj
  2. Rust Test Imports (all test files in rust/tests/)

    • Updated all imports from use lino:: to use links_notation::
    • Fixed 10 test files and 2 README files
  3. Rust Package Lock (rust/Cargo.lock)

    • Updated to reflect new package name links-notation

Test Results

All tests pass successfully:

  • C#: 105 tests passed (Release configuration)
  • Rust: 98 tests passed
  • JavaScript: All tests passed
  • Python: All tests passed (Python 3.8-3.12)

CI Status

All CI checks are now passing:

  • ✅ C# build and test
  • ✅ Rust build and test
  • ✅ JavaScript test
  • ✅ Python test (all versions)

The renaming is now fully applied across the entire repository. PR is ready for review and merge.

🤖 Generated with Claude Code

@konard
Copy link
Member Author

konard commented Oct 12, 2025

🤖 Solution Draft Log

This log file contains the complete execution trace of the AI solution draft process.

📎 Log file uploaded as GitHub Gist (200KB)
🔗 View complete solution draft log


Now working session is ended, feel free to review and add any feedback on the solution draft.

@konard konard merged commit add338c into main Oct 12, 2025
23 checks passed
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.

Rename repository to links-notation, update package names and namespaces

2 participants