mozilla / positron

a experimental, Electron-compatible runtime on top of Gecko
Other
564 stars 64 forks source link

invert relationship between Positron and Gecko #36

Open mykmelez opened 8 years ago

mykmelez commented 8 years ago

Currently, the Positron repository is a fork of gecko-dev (i.e. mozilla-central), with Positron-specific code living in a positron/ subdirectory, and the Gecko code (along with the code for all other core Mozilla apps) living in the top-level directory.

This makes the codebase more complicated to grok than the Electron and Node codebases, both of which (like many other projects with dependencies) put their own code in the top-level directory and their dependencies in a subdirectory such as deps/.

It may be the case that we'll want to merge Positron code into mozilla-central in the future, making it a core Mozilla app like b2g/ and browser/. But it's also possible that we'll maintain it as a separate codebase. And it'll be easier to hack on, especially for contributors who aren't familiar with mozilla-central, if we isolate Gecko code into a separate directory.

So we should invert the relationship between the Positron application and its Gecko dependency, putting the Positron code into the top-level directory and the gecko-dev code into a subdirectory.

lygstate commented 8 years ago

That's would be a very tough task.