From 4630eaecc437b9a5b2376d60d8880bd99a677a60 Mon Sep 17 00:00:00 2001 From: Quanyi Ma Date: Fri, 16 Aug 2024 23:47:04 +0800 Subject: [PATCH] Move the craft to the archived Signed-off-by: Quanyi Ma --- Cargo.toml | 1 - README.md | 27 +++++++++---------- archived/README.md | 1 + {craft => archived/craft}/.gitignore | 0 {craft => archived/craft}/Cargo.toml | 0 {craft => archived/craft}/README.md | 0 {craft => archived/craft}/build.rs | 0 {craft => archived/craft}/rust-toolchain | 0 {craft => archived/craft}/src/lfs/command.rs | 0 .../src/lfs/commands/c_utils/memory_info.c | 0 .../src/lfs/commands/c_utils/memory_info.h | 0 .../craft}/src/lfs/commands/command_clean.rs | 0 .../src/lfs/commands/command_install.rs | 0 .../craft}/src/lfs/commands/command_track.rs | 0 .../src/lfs/commands/command_untrack.rs | 0 .../craft}/src/lfs/commands/mod.rs | 0 .../lfs/commands/utils/clean_FileManager.rs | 0 .../src/lfs/commands/utils/disk_judgment.rs | 0 .../src/lfs/commands/utils/file_metadata.rs | 0 .../craft}/src/lfs/commands/utils/mod.rs | 0 .../src/lfs/commands/utils/os_vm_utils.rs | 0 .../craft}/src/lfs/errors/clean_error.rs | 0 .../craft}/src/lfs/errors/error_factory.rs | 0 .../craft}/src/lfs/errors/get_locale.rs | 0 .../craft}/src/lfs/errors/get_locale_error.rs | 0 .../craft}/src/lfs/errors/install_error.rs | 0 .../craft}/src/lfs/errors/mod.rs | 0 .../craft}/src/lfs/errors/track_error.rs | 0 .../lfs/errors/translations/messages_en.po | 0 .../lfs/errors/translations/messages_zh.po | 0 {craft => archived/craft}/src/lfs/mod.rs | 0 .../craft}/src/lfs/tools/constant_table.rs | 0 .../src/lfs/tools/constant_table_factory.rs | 0 .../craft}/src/lfs/tools/env_utils.rs | 0 .../craft}/src/lfs/tools/gettext_format.rs | 0 .../src/lfs/tools/git_attributes_manager.rs | 0 .../src/lfs/tools/git_repository_checker.rs | 0 .../craft}/src/lfs/tools/locale_tools.rs | 0 .../craft}/src/lfs/tools/mod.rs | 0 {craft => archived/craft}/src/lib.rs | 0 {craft => archived/craft}/src/main.rs | 0 .../craft}/src/vault/command.rs | 0 {craft => archived/craft}/src/vault/crypt.rs | 0 {craft => archived/craft}/src/vault/mod.rs | 0 .../craft}/src/vault/pgp_key.rs | 0 45 files changed, 14 insertions(+), 15 deletions(-) rename {craft => archived/craft}/.gitignore (100%) rename {craft => archived/craft}/Cargo.toml (100%) rename {craft => archived/craft}/README.md (100%) rename {craft => archived/craft}/build.rs (100%) rename {craft => archived/craft}/rust-toolchain (100%) rename {craft => archived/craft}/src/lfs/command.rs (100%) rename {craft => archived/craft}/src/lfs/commands/c_utils/memory_info.c (100%) rename {craft => archived/craft}/src/lfs/commands/c_utils/memory_info.h (100%) rename {craft => archived/craft}/src/lfs/commands/command_clean.rs (100%) rename {craft => archived/craft}/src/lfs/commands/command_install.rs (100%) rename {craft => archived/craft}/src/lfs/commands/command_track.rs (100%) rename {craft => archived/craft}/src/lfs/commands/command_untrack.rs (100%) rename {craft => archived/craft}/src/lfs/commands/mod.rs (100%) rename {craft => archived/craft}/src/lfs/commands/utils/clean_FileManager.rs (100%) rename {craft => archived/craft}/src/lfs/commands/utils/disk_judgment.rs (100%) rename {craft => archived/craft}/src/lfs/commands/utils/file_metadata.rs (100%) rename {craft => archived/craft}/src/lfs/commands/utils/mod.rs (100%) rename {craft => archived/craft}/src/lfs/commands/utils/os_vm_utils.rs (100%) rename {craft => archived/craft}/src/lfs/errors/clean_error.rs (100%) rename {craft => archived/craft}/src/lfs/errors/error_factory.rs (100%) rename {craft => archived/craft}/src/lfs/errors/get_locale.rs (100%) rename {craft => archived/craft}/src/lfs/errors/get_locale_error.rs (100%) rename {craft => archived/craft}/src/lfs/errors/install_error.rs (100%) rename {craft => archived/craft}/src/lfs/errors/mod.rs (100%) rename {craft => archived/craft}/src/lfs/errors/track_error.rs (100%) rename {craft => archived/craft}/src/lfs/errors/translations/messages_en.po (100%) rename {craft => archived/craft}/src/lfs/errors/translations/messages_zh.po (100%) rename {craft => archived/craft}/src/lfs/mod.rs (100%) rename {craft => archived/craft}/src/lfs/tools/constant_table.rs (100%) rename {craft => archived/craft}/src/lfs/tools/constant_table_factory.rs (100%) rename {craft => archived/craft}/src/lfs/tools/env_utils.rs (100%) rename {craft => archived/craft}/src/lfs/tools/gettext_format.rs (100%) rename {craft => archived/craft}/src/lfs/tools/git_attributes_manager.rs (100%) rename {craft => archived/craft}/src/lfs/tools/git_repository_checker.rs (100%) rename {craft => archived/craft}/src/lfs/tools/locale_tools.rs (100%) rename {craft => archived/craft}/src/lfs/tools/mod.rs (100%) rename {craft => archived/craft}/src/lib.rs (100%) rename {craft => archived/craft}/src/main.rs (100%) rename {craft => archived/craft}/src/vault/command.rs (100%) rename {craft => archived/craft}/src/vault/crypt.rs (100%) rename {craft => archived/craft}/src/vault/mod.rs (100%) rename {craft => archived/craft}/src/vault/pgp_key.rs (100%) diff --git a/Cargo.toml b/Cargo.toml index bcde97126..1bef12a10 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,6 @@ members = [ "atlas", ] default-members = ["mega", "mono", "libra", "aries"] -exclude = ["craft"] resolver = "1" [workspace.dependencies] diff --git a/README.md b/README.md index c298e5d0c..7fc03d329 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Mega is an unofficial open source implementation of Google Piper. And it has the ### Git compatible -Mega offers the ability to utilize Git with a monorepo. This allows for easy cloning or pulling of any monorepo folder into local filesystem as a Git repository, and seamless pushing of changes back. +Mega offers the ability to utilize Git with a monorepo. This allows for easy cloning or pulling of any monorepo folder into local filesystem as a Git repository, and seamless pushing of changes back. ### Trunk-based Development @@ -46,19 +46,18 @@ For now, we are developing on the macOS and Arch Linux. And quick start manuel i 2. **mega** - The main entry of Mega, parse cli command with clap. 3. **gateway** - The Gateway extend **mono** and contains ztm agent, which is responsible for ztm network capabilities. More information on the [Gateway](gateway/README.md). 4. **libra** - The Libra is a `git` program that rewrite in Rust. More information on the [Libra](libra/README.md). -5. **craft** - The Craft is `git` filters include `git-lfs` and `encrypt`/`decrypt` filer. More information on the [Craft](craft/README.md). -6. **gemini** - The Gemini is a decentralized module of Mega. More information on the [Gemini](gemini/README.md). -7. **scorpio** - The Scorpio is a FUSE filesystem that allow you to mount a Mega repository as a local filesystem. More information on the [Scorpio](scorpio/README.md). -8. **mercury** - The Mercury module is the core module of Mega, which rewrites Git internal object like Blob, Tree, etc. More information on the [Mercury Module](mercury/README.md). -9. **ceres** - The Ceres is Mega's Monorepo Engine and implement the git transport protocol. More information on the [Ceres](ceres/README.md). -10. **jupiter** - The Jupiter is storage engine for Mega. More information on the [Jupiter](jupiter/README.md). -11. **saturn** - The Saturn module implement user permissions with Cedar policy [Saturn](saturn/README.md). -12. **vault** - The Vault module is used for key and certificate management, implemented with RustyVault -13. **lunar** - The Lunar is a tauri app with Mega. More information on the [Lunar](lunar/README.md). -14. **aries** - The Mega's ztm Relay Server. More information on the [Aries](aries/README.md). -15. **altas** - AI API Module. More information on the [Altas](altas/README.md). -16. **moon** - The Moon is a web UI for Mono Engine. More information on the [Moon](moon/README.md). -17. **mars** - The Mars is website for Mega. More information on the [Mars](mars/README.md). +5. **gemini** - The Gemini is a decentralized module of Mega. More information on the [Gemini](gemini/README.md). +6. **scorpio** - The Scorpio is a FUSE filesystem that allow you to mount a Mega repository as a local filesystem. More information on the [Scorpio](scorpio/README.md). +7. **mercury** - The Mercury module is the core module of Mega, which rewrites Git internal object like Blob, Tree, etc. More information on the [Mercury Module](mercury/README.md). +8. **ceres** - The Ceres is Mega's Monorepo Engine and implement the git transport protocol. More information on the [Ceres](ceres/README.md). +9. **jupiter** - The Jupiter is storage engine for Mega. More information on the [Jupiter](jupiter/README.md). +10. **saturn** - The Saturn module implement user permissions with Cedar policy [Saturn](saturn/README.md). +11. **vault** - The Vault module is used for key and certificate management, implemented with RustyVault +12. **lunar** - The Lunar is a tauri app with Mega. More information on the [Lunar](lunar/README.md). +13. **aries** - The Mega's ztm Relay Server. More information on the [Aries](aries/README.md). +14. **altas** - AI API Module. More information on the [Altas](altas/README.md). +15. **moon** - The Moon is a web UI for Mono Engine. More information on the [Moon](moon/README.md). +16. **mars** - The Mars is website for Mega. More information on the [Mars](mars/README.md). diff --git a/archived/README.md b/archived/README.md index 91153a2de..f70dc0605 100644 --- a/archived/README.md +++ b/archived/README.md @@ -19,6 +19,7 @@ This projects in archive folder has been officially archived. Please note the fo 8. *p2p* - The p2p project will be replaced by a new project named [Gemini](../gemini/README.md). 9. *git* - The git project will be replaced by a new project named [Mercury](../mercury/README.md). 10. *storage* - The storage project will be replaced by a new project named [Venus](../venus/README.md). +11. *craft* - The craft project will be replaced by a new project named [Libra](../libra/README.md). [Optional: Suggest any alternative tools, libraries, or projects that users can consider as a replacement for this project.] diff --git a/craft/.gitignore b/archived/craft/.gitignore similarity index 100% rename from craft/.gitignore rename to archived/craft/.gitignore diff --git a/craft/Cargo.toml b/archived/craft/Cargo.toml similarity index 100% rename from craft/Cargo.toml rename to archived/craft/Cargo.toml diff --git a/craft/README.md b/archived/craft/README.md similarity index 100% rename from craft/README.md rename to archived/craft/README.md diff --git a/craft/build.rs b/archived/craft/build.rs similarity index 100% rename from craft/build.rs rename to archived/craft/build.rs diff --git a/craft/rust-toolchain b/archived/craft/rust-toolchain similarity index 100% rename from craft/rust-toolchain rename to archived/craft/rust-toolchain diff --git a/craft/src/lfs/command.rs b/archived/craft/src/lfs/command.rs similarity index 100% rename from craft/src/lfs/command.rs rename to archived/craft/src/lfs/command.rs diff --git a/craft/src/lfs/commands/c_utils/memory_info.c b/archived/craft/src/lfs/commands/c_utils/memory_info.c similarity index 100% rename from craft/src/lfs/commands/c_utils/memory_info.c rename to archived/craft/src/lfs/commands/c_utils/memory_info.c diff --git a/craft/src/lfs/commands/c_utils/memory_info.h b/archived/craft/src/lfs/commands/c_utils/memory_info.h similarity index 100% rename from craft/src/lfs/commands/c_utils/memory_info.h rename to archived/craft/src/lfs/commands/c_utils/memory_info.h diff --git a/craft/src/lfs/commands/command_clean.rs b/archived/craft/src/lfs/commands/command_clean.rs similarity index 100% rename from craft/src/lfs/commands/command_clean.rs rename to archived/craft/src/lfs/commands/command_clean.rs diff --git a/craft/src/lfs/commands/command_install.rs b/archived/craft/src/lfs/commands/command_install.rs similarity index 100% rename from craft/src/lfs/commands/command_install.rs rename to archived/craft/src/lfs/commands/command_install.rs diff --git a/craft/src/lfs/commands/command_track.rs b/archived/craft/src/lfs/commands/command_track.rs similarity index 100% rename from craft/src/lfs/commands/command_track.rs rename to archived/craft/src/lfs/commands/command_track.rs diff --git a/craft/src/lfs/commands/command_untrack.rs b/archived/craft/src/lfs/commands/command_untrack.rs similarity index 100% rename from craft/src/lfs/commands/command_untrack.rs rename to archived/craft/src/lfs/commands/command_untrack.rs diff --git a/craft/src/lfs/commands/mod.rs b/archived/craft/src/lfs/commands/mod.rs similarity index 100% rename from craft/src/lfs/commands/mod.rs rename to archived/craft/src/lfs/commands/mod.rs diff --git a/craft/src/lfs/commands/utils/clean_FileManager.rs b/archived/craft/src/lfs/commands/utils/clean_FileManager.rs similarity index 100% rename from craft/src/lfs/commands/utils/clean_FileManager.rs rename to archived/craft/src/lfs/commands/utils/clean_FileManager.rs diff --git a/craft/src/lfs/commands/utils/disk_judgment.rs b/archived/craft/src/lfs/commands/utils/disk_judgment.rs similarity index 100% rename from craft/src/lfs/commands/utils/disk_judgment.rs rename to archived/craft/src/lfs/commands/utils/disk_judgment.rs diff --git a/craft/src/lfs/commands/utils/file_metadata.rs b/archived/craft/src/lfs/commands/utils/file_metadata.rs similarity index 100% rename from craft/src/lfs/commands/utils/file_metadata.rs rename to archived/craft/src/lfs/commands/utils/file_metadata.rs diff --git a/craft/src/lfs/commands/utils/mod.rs b/archived/craft/src/lfs/commands/utils/mod.rs similarity index 100% rename from craft/src/lfs/commands/utils/mod.rs rename to archived/craft/src/lfs/commands/utils/mod.rs diff --git a/craft/src/lfs/commands/utils/os_vm_utils.rs b/archived/craft/src/lfs/commands/utils/os_vm_utils.rs similarity index 100% rename from craft/src/lfs/commands/utils/os_vm_utils.rs rename to archived/craft/src/lfs/commands/utils/os_vm_utils.rs diff --git a/craft/src/lfs/errors/clean_error.rs b/archived/craft/src/lfs/errors/clean_error.rs similarity index 100% rename from craft/src/lfs/errors/clean_error.rs rename to archived/craft/src/lfs/errors/clean_error.rs diff --git a/craft/src/lfs/errors/error_factory.rs b/archived/craft/src/lfs/errors/error_factory.rs similarity index 100% rename from craft/src/lfs/errors/error_factory.rs rename to archived/craft/src/lfs/errors/error_factory.rs diff --git a/craft/src/lfs/errors/get_locale.rs b/archived/craft/src/lfs/errors/get_locale.rs similarity index 100% rename from craft/src/lfs/errors/get_locale.rs rename to archived/craft/src/lfs/errors/get_locale.rs diff --git a/craft/src/lfs/errors/get_locale_error.rs b/archived/craft/src/lfs/errors/get_locale_error.rs similarity index 100% rename from craft/src/lfs/errors/get_locale_error.rs rename to archived/craft/src/lfs/errors/get_locale_error.rs diff --git a/craft/src/lfs/errors/install_error.rs b/archived/craft/src/lfs/errors/install_error.rs similarity index 100% rename from craft/src/lfs/errors/install_error.rs rename to archived/craft/src/lfs/errors/install_error.rs diff --git a/craft/src/lfs/errors/mod.rs b/archived/craft/src/lfs/errors/mod.rs similarity index 100% rename from craft/src/lfs/errors/mod.rs rename to archived/craft/src/lfs/errors/mod.rs diff --git a/craft/src/lfs/errors/track_error.rs b/archived/craft/src/lfs/errors/track_error.rs similarity index 100% rename from craft/src/lfs/errors/track_error.rs rename to archived/craft/src/lfs/errors/track_error.rs diff --git a/craft/src/lfs/errors/translations/messages_en.po b/archived/craft/src/lfs/errors/translations/messages_en.po similarity index 100% rename from craft/src/lfs/errors/translations/messages_en.po rename to archived/craft/src/lfs/errors/translations/messages_en.po diff --git a/craft/src/lfs/errors/translations/messages_zh.po b/archived/craft/src/lfs/errors/translations/messages_zh.po similarity index 100% rename from craft/src/lfs/errors/translations/messages_zh.po rename to archived/craft/src/lfs/errors/translations/messages_zh.po diff --git a/craft/src/lfs/mod.rs b/archived/craft/src/lfs/mod.rs similarity index 100% rename from craft/src/lfs/mod.rs rename to archived/craft/src/lfs/mod.rs diff --git a/craft/src/lfs/tools/constant_table.rs b/archived/craft/src/lfs/tools/constant_table.rs similarity index 100% rename from craft/src/lfs/tools/constant_table.rs rename to archived/craft/src/lfs/tools/constant_table.rs diff --git a/craft/src/lfs/tools/constant_table_factory.rs b/archived/craft/src/lfs/tools/constant_table_factory.rs similarity index 100% rename from craft/src/lfs/tools/constant_table_factory.rs rename to archived/craft/src/lfs/tools/constant_table_factory.rs diff --git a/craft/src/lfs/tools/env_utils.rs b/archived/craft/src/lfs/tools/env_utils.rs similarity index 100% rename from craft/src/lfs/tools/env_utils.rs rename to archived/craft/src/lfs/tools/env_utils.rs diff --git a/craft/src/lfs/tools/gettext_format.rs b/archived/craft/src/lfs/tools/gettext_format.rs similarity index 100% rename from craft/src/lfs/tools/gettext_format.rs rename to archived/craft/src/lfs/tools/gettext_format.rs diff --git a/craft/src/lfs/tools/git_attributes_manager.rs b/archived/craft/src/lfs/tools/git_attributes_manager.rs similarity index 100% rename from craft/src/lfs/tools/git_attributes_manager.rs rename to archived/craft/src/lfs/tools/git_attributes_manager.rs diff --git a/craft/src/lfs/tools/git_repository_checker.rs b/archived/craft/src/lfs/tools/git_repository_checker.rs similarity index 100% rename from craft/src/lfs/tools/git_repository_checker.rs rename to archived/craft/src/lfs/tools/git_repository_checker.rs diff --git a/craft/src/lfs/tools/locale_tools.rs b/archived/craft/src/lfs/tools/locale_tools.rs similarity index 100% rename from craft/src/lfs/tools/locale_tools.rs rename to archived/craft/src/lfs/tools/locale_tools.rs diff --git a/craft/src/lfs/tools/mod.rs b/archived/craft/src/lfs/tools/mod.rs similarity index 100% rename from craft/src/lfs/tools/mod.rs rename to archived/craft/src/lfs/tools/mod.rs diff --git a/craft/src/lib.rs b/archived/craft/src/lib.rs similarity index 100% rename from craft/src/lib.rs rename to archived/craft/src/lib.rs diff --git a/craft/src/main.rs b/archived/craft/src/main.rs similarity index 100% rename from craft/src/main.rs rename to archived/craft/src/main.rs diff --git a/craft/src/vault/command.rs b/archived/craft/src/vault/command.rs similarity index 100% rename from craft/src/vault/command.rs rename to archived/craft/src/vault/command.rs diff --git a/craft/src/vault/crypt.rs b/archived/craft/src/vault/crypt.rs similarity index 100% rename from craft/src/vault/crypt.rs rename to archived/craft/src/vault/crypt.rs diff --git a/craft/src/vault/mod.rs b/archived/craft/src/vault/mod.rs similarity index 100% rename from craft/src/vault/mod.rs rename to archived/craft/src/vault/mod.rs diff --git a/craft/src/vault/pgp_key.rs b/archived/craft/src/vault/pgp_key.rs similarity index 100% rename from craft/src/vault/pgp_key.rs rename to archived/craft/src/vault/pgp_key.rs