Mono Repo VS Multi Repo #161
Replies: 4 comments 3 replies
-
|
@klochowicz is in favor of keeping the ldk-bdk in a separate repository which is fine with me (still having concerns though). See corresponding discussion here get10101/bdk-ldk#1 (comment) |
Beta Was this translation helpful? Give feedback.
-
I agree with this. It makes development much faster. On our ldk-sample fork we initially decided to keep things separated (ldk-sample and rust-lightning) but realized that this is too cumbersome to iterate and hence decided for going for path dependencies. Since Lucas and me use the same folder structure this worked just fine, still, you need to pull two projects and it is not ideal. In our case though, we expect to eventually pull upstream patches down, hence, it makes sense to keep rust-lightning in a separate repository. On the argument of keeping ldk-bdk outside so that we can easier push things upstream: this project does not seem to me like a library which is or will be kept up2date. It's more an example someone hacked together. I think we will benefit more from it if we move it where it is being used, i.e. within 10101. |
Beta Was this translation helpful? Give feedback.
-
|
in the spirit of being a good open-source citizen, I intend to contribute back to the community with updated versions of |
Beta Was this translation helpful? Give feedback.
-
|
Conclusion of this discussion
Closing this discussion! Feel free to reopen if you disagree with the conclusion. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Thinking about how we want to setup the project integrated with the ldk stuff we need to decide if we want to go again for a mono or a multi repo approach.
The following diagram tries to depict my view on the target architecture. Please comment if you see it differently.
I am in favor of going for a mono repo like it has been done in ItchySats. We will be faster that way! I propose the following structure (aligned with the ItchySats naming for the sake of the argument)
I would keep the rust-lightning enhancement in a separate repo though. That will be easier to get up to date with the upstream if we want to do so.
Beta Was this translation helpful? Give feedback.
All reactions