Lore is a next-generation, open source version control system https://lore.org
  • Rust 83.8%
  • Python 12.4%
  • C 3.3%
  • HCL 0.2%
  • Shell 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hannes Muurinen 3e4fd2a5d1 lore-client: Add --with-access-token to auth info and rename --with-token to --with-identity-token
## Summary
A previous change added the global `--identity-token` and `--access-token` flags to let a caller supply the authentication and authorization tokens as input. This is the sibling change on the output side: `lore auth info` can now emit the same two tokens.

- `lore auth info --with-access-token` emits the repository-scoped authorization (access) token for the current user as an `AuthIdentity` event, printed as `Access Token: $TOKEN`. It requires running inside a repository. A valid token already held in the exchange cache or token store is reused, and a token exchange is performed otherwise.
- The `auth info` flag `--with-token` is renamed `--with-identity-token` to tell the two tokens apart. A `--with-token` alias is accepted for backwards compatibility. The `with_token` field on `LoreAuthLocalUserInfoArgs` follows the rename, with a serde alias so serialized args from older callers still deserialize.
- `lore auth list --with-token` is intentionally untouched: it lists both authentication and authorization tokens.

## Test plan
- Verified that:
    - `lore auth info --with-identity-token` and `--with-token` fallback prints the identity token
    - `lore auth info --with-access-token` prints the access token for the current repository
    - `lore auth info --with-identity-token --with-access-token` prints both
    - `lore auth logout` followed by `lore auth info --with-access-token` fails as expected
    - `lore auth logout` followed by `lore auth info --with-access-token --identity-token $VALID_TOKEN` works, doing a fresh token exchange using the supplied identity token. Bypasses the token store

Lore-RevId: 1040
Lore-Signature: 32ed17f732137c722b96503e0fcc8904029e1b00f4fa2d164284d1d97ccbabb7
2026-09-10 14:37:28 +00:00
.cargo Emit macOS .dSYM for release-lto (split-debuginfo = packed) 2026-06-09 21:22:45 +00:00
.github chore(deps): bump actions/setup-python from 6.2.0 to 7.0.0 2026-09-01 12:00:18 +00:00
contrib lore-aws-migrate: Cover the migration end to end against a local stack 2026-08-26 10:30:48 +00:00
docs lore-client: Add --with-access-token to auth info and rename --with-token to --with-identity-token 2026-09-10 14:37:28 +00:00
lore lore-client: Add --with-access-token to auth info and rename --with-token to --with-identity-token 2026-09-10 14:37:28 +00:00
lore-aws chore: Clean up docs to adhere to Lore vocabulary and terminology rules 2026-09-09 15:04:42 +00:00
lore-base lore-revision: Reduce path management complexity and only track relative paths 2026-09-09 10:32:55 +00:00
lore-capi lore-client: Add --with-access-token to auth info and rename --with-token to --with-identity-token 2026-09-10 14:37:28 +00:00
lore-chaos-client lore-revision: Classify what a merge or cherry-pick inherits from the source revision 2026-08-31 18:45:56 +00:00
lore-client lore-client: Add --with-access-token to auth info and rename --with-token to --with-identity-token 2026-09-10 14:37:28 +00:00
lore-credential lore-credential: Make the client's name claim optional 2026-09-04 09:20:06 +00:00
lore-error-set lore-error-set: Re-bless internal guard snapshots for the hidden root re-export 2026-08-28 11:24:06 +00:00
lore-error-set-macro lore-core: Group FFI error codes into blocks and keep them exit-code safe 2026-08-28 04:16:59 +00:00
lore-hashicorp Initial code copy from private repo 2026-05-29 18:50:20 +00:00
lore-integration-tests chore: Clean up docs to adhere to Lore vocabulary and terminology rules 2026-09-09 15:04:42 +00:00
lore-io lore-io: Handle bind mounts on repository root when sync and clone create directories 2026-09-10 12:56:13 +00:00
lore-macro build: Build test targets with line tables, and not at all where they hold no tests 2026-08-26 16:53:21 +00:00
lore-notification lore-core: Migrate errors to use internal or forward for error propagation, and enforce correct usage 2026-08-28 04:01:54 +00:00
lore-proto lore-server-epic: enable request forwarding for Repository Service's RepositoryGet RPC 2026-09-02 19:48:24 +00:00
lore-revision lore-client: Add --with-access-token to auth info and rename --with-token to --with-identity-token 2026-09-10 14:37:28 +00:00
lore-server lore-server: RepositoryAuthorizer takes a verified token and an action 2026-09-09 15:00:53 +00:00
lore-storage lore-storage: Drop the associations a failed verify healed rather than their payload pointer 2026-09-10 13:24:52 +00:00
lore-telemetry lore-transport: Add a ClientIdentify opcode so QUIC clients report a user agent in traces 2026-09-07 11:35:28 +00:00
lore-transport lore-transport: Improve the error reporting for push failures from missing address 2026-09-10 06:05:41 +00:00
notices notices: resolve license text for base64-simd, vsimd, and rs-consul 2026-06-05 17:53:57 +00:00
scripts lore-revision: Resolve a link chain from the base a walk starts at 2026-09-10 12:46:39 +00:00
vendor lore-revision: split filter into exclusion and descent queries 2026-09-02 13:10:37 +00:00
.dockerignore Initial code copy from private repo 2026-05-29 18:50:20 +00:00
.gitignore gitignore: Ignore entire .claude/ directory 2026-07-16 11:17:18 +00:00
.loreignore ci: allow .github directory to be tracked for GHA integration 2026-06-16 16:59:34 +00:00
.markdownlint-cli2.jsonc docs: add content_tabs hook for comment-delimited tabs 2026-06-12 20:50:31 +00:00
.pre-commit-clippy.py Add missing executable bit on precommit script and add missing entries to ignore file 2026-06-01 09:00:30 +00:00
.pre-commit-config.yaml lore-core: Migrate errors to use internal or forward for error propagation, and enforce correct usage 2026-08-28 04:01:54 +00:00
.rustfmt.toml Initial code copy from private repo 2026-05-29 18:50:20 +00:00
.vale.ini docs: add project level README, migrate Lore design doc, updated branding assets, and glossary 2026-06-05 22:47:33 +00:00
about.toml notices: resolve license text for base64-simd, vsimd, and rs-consul 2026-06-05 17:53:57 +00:00
build-helper.rs lore-base: allow injectable library version name 2026-06-04 10:25:53 +00:00
Cargo.lock test: Unify to one temp directory helper for every Rust test, ensuring uniqueness and allow parallel runs 2026-09-08 13:14:45 +00:00
Cargo.toml test: Unify to one temp directory helper for every Rust test, ensuring uniqueness and allow parallel runs 2026-09-08 13:14:45 +00:00
clippy.toml lore-base: Shrink the tokio blocking pool to a fixed two-thread vestige and unify the thread count calculations 2026-08-08 15:07:09 +00:00
CODE_OF_CONDUCT.md Initial code copy from private repo 2026-05-29 18:50:20 +00:00
CONTRIBUTING.md Add structured GitHub issue forms and PR template for triage intake 2026-08-18 13:24:10 +00:00
DCO Initial code copy from private repo 2026-05-29 18:50:20 +00:00
deny.toml Initial code copy from private repo 2026-05-29 18:50:20 +00:00
GOVERNANCE.md Add structured GitHub issue forms and PR template for triage intake 2026-08-18 13:24:10 +00:00
LICENSE Initial code copy from private repo 2026-05-29 18:50:20 +00:00
MAINTAINERS.md update MAINTAINERS to propose adding specialist maintainers 2026-06-23 21:51:30 +00:00
mkdocs.yml docs: add content_tabs hook for comment-delimited tabs 2026-06-12 20:50:31 +00:00
pyproject.toml test: Clean up smoke tests formatting with ruff and remove smoke test data as the run goes 2026-09-08 08:04:38 +00:00
pyrightconfig.json Initial code copy from private repo 2026-05-29 18:50:20 +00:00
README.md docs: add public roadmap and crosslink to it across the docs 2026-06-17 11:11:32 +00:00
SECURITY.md update SECURITY to include link to Vulnerability Disclosure Program 2026-06-15 15:39:15 +00:00
uv.lock chore(deps): bump the dependencies group across 1 directory with 4 updates 2026-09-01 12:00:01 +00:00

Lore — open source version control by Epic Games

Lore

Next-generation open source version control

Download Lore  ·  Quickstart  ·  Read the docs  ·  Join the conversation

License: MIT Built with Rust

Table of contents

About Lore

Lore is an open source version control system designed for unprecedented scalability of both data and teams. It is optimized for projects that combine code with large binary assets, including games and entertainment, and caters for the needs of developers and artists alike.

Note

Lore is pre-1.0 and under active development. Interfaces, on-disk formats, and APIs may change between releases.

(back to top)

Get started with Lore

  • Quickstart — install Lore and make your first commit by following the quickstart guide.
  • Read the docs — delve into Lore's ethos and architecture in the Lore documentation.
  • Have questions? — the FAQ covers licensing, supported platforms, production readiness, and how Lore compares to other version control systems.
  • See where Lore is headed — the roadmap lays out the big-rock features by time horizon, from scalable locking to an open source desktop client.
  • Join the conversation — chat with us and our community on Discord.

Or try it right now — install Lore and start a local server in demo mode:

macOS / Linux

curl -fsSL https://raw.githubusercontent.com/EpicGames/lore/main/scripts/install.sh | bash -s -- --demo

Windows (PowerShell)

$env:LORE_DEMO=1; irm https://raw.githubusercontent.com/EpicGames/lore/main/scripts/install.ps1 | iex

(back to top)

Overview

  • Easy setup, on-demand scalability — Get started in local mode in minutes. Then, scale up as far and as fast as you need.
  • Fast and efficient processes — Scale without slowdowns, thanks to shared, reusable data and as-needed downloads.
  • Free branching — Quickly and easily create, manage, and sync branches to freely experiment, iterate, and release.
  • History you can trust — Confidently track and manage revisions with Lore's verifiable tamper-evident source of truth.
  • Intuitive interface — Enjoy complete one-to-one access to the full Lore functionality via the CLI.
  • Full-surface API — Extend, customize, and integrate Lore via C/C++, C#, Rust, Go, Python, or JavaScript.

Note

Lore is the built-in version control system for UEFN (Unreal Editor for Fortnite), but today's open source tooling can't yet talk to it: the UEFN build uses a proprietary compression format that can't ship with the open source project. We're actively moving UEFN onto an open compression format — the same one this open source project uses — to eliminate the gap between the two.

(back to top)

Lore's architecture

Lore is a centralized, content-addressed version control system that represents repository state as Merkle trees and an immutable revision chain, optimized for binary-first storage, deduplication, and sparse/on-demand data hydration at scale. For the full model—on-disk formats, chunking internals, and the mechanics of the Merkle tree—read the system design doc.

Highlights

  • Content-addressed storage — Repository data is stored and referenced by content hash in a Merkle tree, enabling fast comparisons, integrity checks, and reuse across history and branches.
  • Immutable revision chain — A revision's hash signature is derived from its revision state, including parent revision hashes and contained data hashes, forming an immutable chain with cryptographic integrity.
  • Chunked storage for large files — Files are stored as reusable chunks with indexed lookup, reducing duplication and enabling efficient updates and transfer for large binary assets.
  • On-demand hydration and sparse workspaces — Workspaces can stay lightweight by fetching file data only when needed, so you don't have to download everything up front.
  • Centralized service with caching — A service-backed architecture uses caching in front of durable storage to scale throughput for large teams and repositories.
  • Lightweight branches and fast switching — Branches are lightweight mutable references, so creating and switching branches is low-overhead without duplication of underlying data.

(back to top)

Lore's repositories

Lore spans a family of repositories: the core library, server, and CLI in this repository, plus a software development kit (SDK) for each supported language.

Repository Description Link
Lore Library, Server & CLI The core Lore library, the Lore Server, and the Lore CLI. You are here. View on GitHub
JavaScript SDK The JavaScript binding for the Lore API. View on GitHub
Python SDK The Python binding for the Lore API. View on GitHub
C# SDK The C# binding for the Lore API. View on GitHub
Go SDK The Go binding for the Lore API. View on GitHub

(back to top)

Fully open source

We believe a truly open ecosystem is built collectively using open standards. Lore is fully open source under an MIT license, and we invite you to build the version control system of the future in the open. See CONTRIBUTING.md to get involved.

(back to top)

Contributing

Contributions of every kind are welcome — code, documentation, bug reports, and reviews. Start with CONTRIBUTING.md for the development workflow, then read the Code of Conduct and the project governance model. New to the codebase? The good-first-issue label is a good place to start.

(back to top)

License

Lore is released under the MIT License. See LICENSE for the full text. Copyright (c) 2026 Epic Games, Inc.

(back to top)

Contact and community

  • Discord — chat with the team and community on Discord.
  • GitHub Issues — report bugs and request features through GitHub Issues.

(back to top)