Development:Contributor Overview
This page will be one of the main pages of the dev-wiki; it will walk a new contributor through the process in an overview fashion, pointing to the detailed information on each part in the separate docs, e.g. building/setting up your dev environment, choosing a bug, coding, getting reviews.
Things in the lists below the text are the pages we should link to
We should also see if there's anything useful on http://www.caminobrowser.org/development/programming/, either for this page itself or for the subpages we're going to refer to; this page is intended to replace http://www.caminobrowser.org/development/programming/
Contents
Welcome
Welcome to Camino. Interested in becoming a contributor? We're glad to have you on board. This page documents some basic information on how to make the leap from Camino fan to Camino dev, from getting Camino built, to picking out bugs to fix, to getting patches written and checked in. Even if you've contributed to Mozilla-based projects before, you may find this information useful, as much of it is Camino-specific.
Setting up your development environment
Like most complex pieces of software, the Mozilla project requires a flexible build system, which is not always straightforward. Unlike many open-source projects, ./configure; make does not suffice. Similarly, Camino, which embeds the cross-platform Gecko engine in a Cocoa application, depends on a somewhat hybrid build system; in other words, unlike other Cocoa apps, simply opening Xcode and clicking build won't produce a complete Camino application.
While this may seem daunting at first, the system is quite logical and there's very little effort involved in making it work. Gecko is built entirely using UNIX-style makefiles, and the Camino application code can be built either via makefiles or with Xcode once Gecko has been built (for the curious, this provides an overview of the Mozilla build system from a technical perspective).
Setting up your development environment entails installing the latest Xcode and appropriate SDKs, installing the three third-party dependencies, setting up your build options, and pulling cvs and building. The following documents will guide you through these steps.
- Development:Building
- Development:Building:Build Errors (in case you run into problems)
Choosing a bug
All decisions concerning which bugfixes and features should be implemented in Camino are made in the bugzilla bug-tracking database, on irc.mozilla.org, channel #camino (or during weekly meetings in #camino-mtg), or during annual Camino face-to-face meetings.
- Something that bothers you, something on good first bugs, something that needs to be fixed...
Good First Bug vs. Triage Priority
The "Good First Bugs" list is a list of "bugs" (problems or feature requests) that are good entry points for new Camino developers, not necessarily a list of the bugs that need to be fixed most urgently. A bug's priority is determined (roughly) by the severity field, the priority field (used generally by developers to prioritize lists of bugs assigned to them), the target milestone, and the blocking flags. For instance, bugs with a target milestone of Camino 1.6 are generally most important at the moment, and ones with higher severity (or a camino1.6+ or camino1.6? flag) are the most important of those.
- Bugs Targeted at Camino 1.6
- Somewhere we should have an "Unofficial" Roadmap for Developers with bugs or categories of bugs for a release, like the Firefox PRD but more humane, to supplement the "target milestone" queries--a more-official version of Sam's Roadmap or Smokey's 1.1 list
- For 1.6, this is Development:Planning:Camino 1.6
- Tracking Documents
- Development:Roadmap
- Stuff we'd like fixed: Development:Good Bugs and Projects
- Some members of the team have compiled personal lists of bugs they think need to be fixed, or that people commonly complain about: User:Sardisson/Dogfood, User:Sardisson/Camino_1.1, User:Sardisson/Camino_1.2
- Camino Vote List (only bugs with 5 or more votes; what our Bugzilla-using users would like fixed)
- Camino 1.5 saw the fixing of many of the top high vote-getters
- "Good First Bug" query
- QA:Keywords & Status Whiteboard for more info on keywords and the whiteboard
- helpwanted query
- regression query
Working on a bug
- When to take a bug, and how to do it (some of this is in the existing cbo dev pages)
- Bugs with status NEW whose assignees are either nobody@mozilla.org and sfraser_bugs@smfr.org are fair game
- Ask first before taking a bug with status NEW with any other assignee, or before taking a bug with status ASSI.
- Development:Good Bugs and Projects
- Development:Roadmap
- Tracking Documents
- Camino code structure
- [10:47pm] froodian: if you just want to get a feel for the code, the meat of Camino is in:
[10:47pm] froodian: mozilla/camino/src/browser/BrowserWindowController.mm
[10:47pm] ardissone|away: aka BWC
[10:47pm] froodian: and mozilla/camino/src/application/MainController.mm
- [10:47pm] froodian: if you just want to get a feel for the code, the meat of Camino is in:
- The relationship between the various content views is described in ASCII art in http://mxr.mozilla.org/mozilla/source/camino/src/browser/BrowserContentViews.mm
- Unfortunately, tabs themselves need a similar mockup
- etc
Coding a fix
Text, text, text
- Development:Coding
- Also some of the Tools bits on Development:Home Page (needs either own page or to move here)
Getting Code Review and Checkin
Text, text, text
Links and Recommended Reading
- Stuff from the sidebars in cbo/development (below)
- Anything else?
Sections
- <a href="/development/" accesskey="I">Contributor Introduction</a>
- <a href="/development/programming/" accesskey="P">Programming</a>
- <a href="/development/build/" id="current" accesskey="B">Build Instructions</a>
- <a href="/development/roadmap/" accesskey="R">Roadmap</a>
- <a href="/development/structure/" accesskey="T">Team Structure</a>
Requirements
- Register at Bugzilla
- Report a Camino bug
- Report a Mozilla bug
- Bug writing guidelines
- Search for bugs
- Recent active bugs
- Unconfirmed bugs
- Mozilla hacking documents
- Last week's Camino check-ins
- Latest Mozilla tree checkins
- Fink Project
- Apple Cocoa