Epic Games announces Lore version control system

Epic Games announces Lore version control system

Epic Games 发布 Lore 版本控制系统

Lore: next-generation open source version control. Maintained by Epic Games, Lore is designed for unprecedented scalability of both data and teams. It’s optimized for projects—including games and entertainment—that combine code with large binary assets, and caters for the needs of developers and artists alike. Lore:下一代开源版本控制系统。Lore 由 Epic Games 维护,旨在为数据和团队提供前所未有的可扩展性。它针对结合了代码与大型二进制资产的项目(包括游戏和娱乐项目)进行了优化,同时满足了开发者和艺术家的需求。

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. 快速高效的流程: 得益于共享、可重用的数据以及按需下载机制,实现无延迟扩展。

Quick 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. 值得信赖的历史记录: 利用 Lore 可验证、防篡改的真实数据源,自信地跟踪和管理修订版本。

Intuitive interface: Enjoy complete one-to-one access to the full Lore functionality via the CLI. 直观的界面: 通过命令行界面(CLI)即可完整访问 Lore 的所有功能。

Full-surface API: Extend, customize, and integrate Lore via C/C++, C#, Rust, Go, Python, or JavaScript. 全方位 API: 通过 C/C++、C#、Rust、Go、Python 或 JavaScript 扩展、自定义并集成 Lore。

Lore’s architecture

Lore 的架构

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. Lore 是一个中心化的、基于内容寻址的版本控制系统。它将仓库状态表示为 Merkle 树和不可变的修订链,并针对大规模的二进制优先存储、去重以及稀疏/按需数据加载进行了优化。

  • 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. 基于内容的存储: 仓库数据通过 Merkle 树中的内容哈希进行存储和引用,从而实现快速比较、完整性检查以及跨历史记录和分支的复用。
  • 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. 轻量级分支与快速切换: 分支是轻量级的可变引用,因此创建和切换分支的开销极低,且不会复制底层数据。

Fully open source

完全开源

At Epic, we believe a truly open ecosystem won’t be built by any one company, but collectively and collaboratively using open standards. That’s why Lore is fully open source and released under an MIT license. Let’s build the version control system of the future in the open, learning from each other’s needs and ideas from the start. Come join us! 在 Epic,我们坚信一个真正开放的生态系统不会由单一公司构建,而是通过使用开放标准进行集体协作来实现。因此,Lore 完全开源并采用 MIT 许可证发布。让我们在开放的环境中构建未来的版本控制系统,从一开始就相互学习彼此的需求和想法。欢迎加入我们!