The Long Road to Refactoring #1069
Replies: 5 comments 16 replies
-
To be clear this effort is led by @rrybarczyk and @plebhash others shouldn't jump into this, until there's structure and more clarity. |
Beta Was this translation helpful? Give feedback.
-
migrating from #1071 (comment) this is a proposal for a potential new repository structure, along with some high level ideas of how things could be structured in terms of crates, bin/lib, and modules: this would not affect so much how low-level libs ( |
Beta Was this translation helpful? Give feedback.
-
migrating from #1071 (comment) originally proposed by @Shourya742 :
|
Beta Was this translation helpful? Give feedback.
-
Here is a proposed outline for how to approach this large undertaking. This is intended to kick off the plan of action conversation/feedback session and should not be taken as the only way to proceed. Also, note that some of these items may overlap (like the implementation of the Setup
|
Beta Was this translation helpful? Give feedback.
-
This comment is designed to capture the |
Beta Was this translation helpful? Give feedback.
-
From @plebhash (providing here for context later so you don't have to dig through GitHub
Refactoring is going to be a long road... we need to make sure our efforts are properly planned and executed, because otherwise we might end up creating more technical debt while the goal is to mitigate it.
The efforts are being structured into differet stages, where protocols (aka low-level libs) is the first stage.
The strategy for this stage was also broken down into sequential steps.
The first step consists of writing Rust Docs for each crate. We have #845, which is the tracker with multiple subissues tracking the progress on this effort.
For each protocols crate, the inputs of this task are:
Github Discussions are leveraged to ask Q&A and gather conceptual insight for this specific crate (e.g.: #858 on framing_sv2).
Issue tracking Rust Docs for this specific crate.
For each protocols crate, the outputs of this task are:
PRs adding comments for Rust Docs (at least one, perhaps more) (e.g.: #848 for framing_sv2)
Github issue outlining technical debt (e.g.: #903 for framing_sv2)
refactoring PRs (at least one, perhaps more) (e.g.: #1033 + #1049 + #976 + #982 for framing_sv2)
Beta Was this translation helpful? Give feedback.
All reactions