Skip to content

Latest commit

 

History

History
68 lines (49 loc) · 1.84 KB

File metadata and controls

68 lines (49 loc) · 1.84 KB

Contributing

The Lore C# SDK follows the Lore project contribution process. Issues and pull requests are welcome in this repository.

Prerequisites

  • .NET 9 SDK
  • Python 3.10+ with uv for dependency management
  • LORE_BUILD_PATH — env var pointing to a local Lore native library build from source:
    export LORE_BUILD_PATH="/<path-to>/lore/target/release"

Build and test

uv pip install --group dev
uv run python find_lorelib.py
uv run python generator/generate.py
dotnet pack -c Release LoreVcs.Runtime/LoreVcs.Runtime.csproj
uv run python generator/generate_runtime_json.py
dotnet pack -c Release LoreVcs/LoreVcs.csproj

Run the tests:

dotnet test LoreVcs.Tests --logger "console;verbosity=detailed"

Formatting

Formatting is enforced by CI and must pass before any PR is merged. Install CSharpier once:

dotnet new tool-manifest
dotnet tool install csharpier

Then run before committing:

dotnet csharpier .

Before you code

For anything beyond a trivial fix, open a GitHub Issue and wait for a maintainer to weigh in before investing significant effort. Changes to the wire protocol or lore-capi belong in the Lore repository, not here.

Commit sign-off

Every commit must include a Signed-off-by: line. Add it with git commit -s. The DCO, patent affirmation, copyright header rules, and license compatibility policy are all defined in the canonical contributing doc.

Full contribution policy

The full PR process, review process, AI assistance policy, legal terms, and community channels are published in the Lore repository:

Lore CONTRIBUTING.md