#10 Continue restructuring the codebase.

Open
opened 7 months ago by mattatobin ยท 1 comments

During GRE I lead the charge to restructure the codebase for a multitude of reasons. Though less respectable ones no longer apply the more legit ones still do.

The following are considered hot paths for patching and will not be moved/broken up any time soon:

  • dom/
  • editor/
  • js/
  • layout/
  • mailnews/
  • xpcom/

The following will stay at topsrcdir regardless:

  • build/
  • config/
  • ipc/
  • other-licenses/
  • python/
  • tools/

The following are hubs where the majority of things live:

  • apps/ - Application Sources
  • components/ - Platform Components
  • libs/ - Libs owned by third parties
  • modules/ - Platform Modules (non-3rd-party libs)
  • system/ - Foundational subsystems and more complex sub-trees that can't be easily split up into their constituent parts and placed elsewhere.
During `GRE` I lead the charge to restructure the codebase for a multitude of reasons. Though less respectable ones no longer apply the more legit ones still do. The following are considered hot paths for patching and will not be moved/broken up any time soon: - `dom/` - `editor/` - `js/` - `layout/` - `mailnews/` - `xpcom/` The following will stay at `topsrcdir` regardless: - `build/` - `config/` - `ipc/` - `other-licenses/` - `python/` - `tools/` The following are hubs where the majority of things live: - `apps/` - Application Sources - `components/` - Platform Components - `libs/` - Libs owned by third parties - `modules/` - Platform Modules (non-3rd-party libs) - `system/` - Foundational subsystems and more complex sub-trees that can't be easily split up into their constituent parts and placed elsewhere.

Going forward libs will be in third_party. Top level components and modules that we consider ours pretty much will go to a sub-directory of runtime while system will retain complex moztrees with their original names so that when porting to these complex trees and hotpaths I can just remove the prepending slash.

Opening Post will be updated soonish.

Going forward libs will be in `third_party`. Top level components and modules that we consider ours pretty much will go to a sub-directory of `runtime` while `system` will retain complex moztrees with their original names so that when porting to these complex trees and hotpaths I can just remove the prepending slash. Opening Post will be updated soonish.
New Tobin Paradigm referenced this issue from a commit 1 month ago
New Tobin Paradigm referenced this issue from a commit 1 month ago
Sign in to join this conversation.
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.