[PR #317] [MERGED] Optimize x.proto files geneneration process #4063

Closed
opened 2026-03-23 21:36:08 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/317
Author: @appflowy
Created: 2/9/2022
Status: Merged
Merged: 2/9/2022
Merged by: @appflowy

Base: mainHead: opti_proto_gen


📝 Commits (10+)

  • 7646f98 refactor: generate x.proto file using build.rs
  • 1c3c519 refactor: cache proto file info
  • 4b63170 refactor: read cache proto info
  • 7cceafa style: fix warnings
  • 9386346 fix: pass unit test
  • 5809758 refactor: rename error-code to flowy-error-code in case of ambiguous
  • 82ac2a5 ci: generate language files and install pb tools
  • 17c8f9f ci: rename ci & fix generate language file command error
  • ddc2926 ci: switch to flutter stable channel
  • c407c38 ci: install cargo-make

📊 Changes

81 files changed (+2366 additions, -293 deletions)

View changed files

📝 .github/workflows/ci.yaml (+0 -2)
📝 .github/workflows/dart_lint.yml (+8 -9)
📝 .github/workflows/rust_lint.yml (+7 -22)
.github/workflows/rust_test.yml (+42 -0)
📝 .gitignore (+2 -0)
📝 frontend/Makefile.toml (+2 -1)
📝 frontend/app_flowy/lib/workspace/presentation/widgets/edit_pannel/edit_pannel.dart (+1 -1)
📝 frontend/app_flowy/packages/flowy_infra/lib/theme.dart (+0 -2)
frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-error-code/code.pb.dart (+11 -0)
frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-error-code/code.pbenum.dart (+82 -0)
frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-error-code/code.pbjson.dart (+49 -0)
frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-error-code/code.pbserver.dart (+9 -0)
frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-error-code/protobuf.dart (+2 -0)
📝 frontend/rust-lib/Cargo.lock (+486 -19)
📝 frontend/rust-lib/dart-ffi/Cargo.toml (+2 -1)
📝 frontend/rust-lib/dart-ffi/build.rs (+2 -2)
📝 frontend/rust-lib/dart-notify/build.rs (+2 -2)
📝 frontend/rust-lib/flowy-error/Cargo.toml (+2 -2)
📝 frontend/rust-lib/flowy-error/build.rs (+2 -2)
📝 frontend/rust-lib/flowy-error/src/errors.rs (+1 -1)

...and 61 more files

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/AppFlowy-IO/AppFlowy/pull/317 **Author:** [@appflowy](https://github.com/appflowy) **Created:** 2/9/2022 **Status:** ✅ Merged **Merged:** 2/9/2022 **Merged by:** [@appflowy](https://github.com/appflowy) **Base:** `main` ← **Head:** `opti_proto_gen` --- ### 📝 Commits (10+) - [`7646f98`](https://github.com/AppFlowy-IO/AppFlowy/commit/7646f984e08481f1bd21aefb30f4f57918cfd09e) refactor: generate x.proto file using build.rs - [`1c3c519`](https://github.com/AppFlowy-IO/AppFlowy/commit/1c3c519b1462aed90fe378ead82cec0a28eceec7) refactor: cache proto file info - [`4b63170`](https://github.com/AppFlowy-IO/AppFlowy/commit/4b63170e56baba301bbae80249bf4888879c1d9e) refactor: read cache proto info - [`7cceafa`](https://github.com/AppFlowy-IO/AppFlowy/commit/7cceafa432085689d64125182a748bbb4de4637d) style: fix warnings - [`9386346`](https://github.com/AppFlowy-IO/AppFlowy/commit/93863462a2617fde13bebe64df80125b9f51168c) fix: pass unit test - [`5809758`](https://github.com/AppFlowy-IO/AppFlowy/commit/58097585393f185fa44634dcfe461c3006f636ae) refactor: rename error-code to flowy-error-code in case of ambiguous - [`82ac2a5`](https://github.com/AppFlowy-IO/AppFlowy/commit/82ac2a5d7979bd934d3d8702e9adeaa80fb0967d) ci: generate language files and install pb tools - [`17c8f9f`](https://github.com/AppFlowy-IO/AppFlowy/commit/17c8f9fdde036781f63bfd8b0fdfa8850ffd92fc) ci: rename ci & fix generate language file command error - [`ddc2926`](https://github.com/AppFlowy-IO/AppFlowy/commit/ddc2926c9b769768b1df42d5808b9676d5b9c755) ci: switch to flutter stable channel - [`c407c38`](https://github.com/AppFlowy-IO/AppFlowy/commit/c407c38dc3dfd58e81460099c03d050bc20731de) ci: install cargo-make ### 📊 Changes **81 files changed** (+2366 additions, -293 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/ci.yaml` (+0 -2) 📝 `.github/workflows/dart_lint.yml` (+8 -9) 📝 `.github/workflows/rust_lint.yml` (+7 -22) ➕ `.github/workflows/rust_test.yml` (+42 -0) 📝 `.gitignore` (+2 -0) 📝 `frontend/Makefile.toml` (+2 -1) 📝 `frontend/app_flowy/lib/workspace/presentation/widgets/edit_pannel/edit_pannel.dart` (+1 -1) 📝 `frontend/app_flowy/packages/flowy_infra/lib/theme.dart` (+0 -2) ➕ `frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-error-code/code.pb.dart` (+11 -0) ➕ `frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-error-code/code.pbenum.dart` (+82 -0) ➕ `frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-error-code/code.pbjson.dart` (+49 -0) ➕ `frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-error-code/code.pbserver.dart` (+9 -0) ➕ `frontend/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-error-code/protobuf.dart` (+2 -0) 📝 `frontend/rust-lib/Cargo.lock` (+486 -19) 📝 `frontend/rust-lib/dart-ffi/Cargo.toml` (+2 -1) 📝 `frontend/rust-lib/dart-ffi/build.rs` (+2 -2) 📝 `frontend/rust-lib/dart-notify/build.rs` (+2 -2) 📝 `frontend/rust-lib/flowy-error/Cargo.toml` (+2 -2) 📝 `frontend/rust-lib/flowy-error/build.rs` (+2 -2) 📝 `frontend/rust-lib/flowy-error/src/errors.rs` (+1 -1) _...and 61 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 21:36:08 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#4063
No description provided.