qtxie / notes

0 stars 0 forks source link

Separate Red/Core and Red/View into two repos #1

Open qtxie opened 4 years ago

qtxie commented 4 years ago

Now Red/Core and Red/View are in the same repository (red/red). Each of them is a big project, they should be in different repository.

We attampted to split view into a standalone repo by making it a git module before. It did not work well. The view module integrates with the runtime so tightly. They are interdependent. While a git module works well only if it's one-way dependency.

Here I propose a new way to sperate it.

  1. Simply fork red/red into a new repo red/view. ;-)
  2. All the changes/issues related to red/core happens in red/red.
  3. All the changes/issues related to red/view happens in red/view.
  4. Merge or cherry-pick commits between those two repos regularly or when needed.

This gives us the following benefits.

  1. Make it easier to have two teams to work on red/core and red/view.
  2. Sperate issues.
  3. Easy to handle, simple work flow.