From Open Source@Seneca
Topics in Open Source Development
This course introduces students to the technological, social, and pragmatic aspects of developing open source software through direct involvement in the Mozilla project. Students will learn to use the tools, techniques, and strategies of open source developers. This is a project-based programming course. The Mozilla project has been chosen as an example open source project because of its maturity, breadth and depth of technology, and strong community.
Upon successful completion of this course students should be able to:
- Discuss the issues and currents in open source and open source development
- Describe the history and philosophy of an open source project
- Choose between the various open source licenses understanding the implications for users, developers, and the software community in general
- Use the communication modes particular to the open source world through participation in such things as mailing lists, IRC, wikis, etc.
- Use the tools of open source development, for example: distributed revision control; documentation tools; automated build and test systems; debuggers; source code utilities; tracking systems; on-line resources, etc.
- Work with a pre-existing large source code base
- Write software that integrates and interacts with existing open source systems (e.g., Firefox). For example: add-ons; bug fixes; new features; etc.
- Work collaboratively with fellow students and members of the Mozilla community.
This is a project course, and the majority of each student’s mark will come from work done on a real development project. The primary goal of this project is to get students involved in the Mozilla development community and codebase. Through this experience students will learn about the processes, tools, and practices involved in developing software as part of a large open source community.
Many of the practices inherent in open source development will seem to go against the structures often set in place for similar course work. For example, students are typically forbidden to collaborate with peers, to copy from the web, etc. However, these rules must be re-evaluated in the context of proper and pragmatic open source development practices.
First, consider the typical rules around cheating and plagiarism. In this assignment, students are encouraged to work within the set of best practices natural to open source development. Open source developers do not write from scratch what already exists and is freely available for use. Students should be thinking in terms of code reuse. It is acceptable for students to use code from other open source projects, so long as the license is amenable to the use.
Second, consider the typical restrictions on peer-collaboration. In this project students are encouraged to work together, to help one another, to look at each other's code, etc. Open source collaboration is about leveraging the collective knowledge of a community to help solve the problems of the individual.
Third, consider the sharp dividing line between student projects in most programming courses. For the most part, students are evaluated on their ability to do a particular project or to solve a particular problem on their own. The outcome is measured against peer outcomes. However, in this course students are not in competition with their peers; rather, they are all working on one large project (i.e., Mozilla) with many sub-projects within it. As a result, there is no clean line to divide one student’s work from another, or even student work from that of the open source community. This means that collaboration between students and even other members of the open source community is acceptable practice.
To summarize, students should:
- Help each other, contribute to one another’s projects
- Work with and within the open source community
- Give others encouragement and credit when they offer help
- Use existing open source code whenever possible
- Be open to helping others and to being helped
- Each student must actively and independently participate in the course open source project(s). This means using IRC, mailing lists, wikis, filing bugs, following bugs, writing patches, doing reviews, etc. Projects have been created in consultation with the Mozilla community, and students are not allowed to work on other projects (i.e., suggesting your own project will not be allowed).
- Students are expected to work both on their own, and as part of an active community, both with members of the class and the wider open source community.
- Keep your project page on the wiki updated. Add technical information to the Project Details section as you get a better understanding of the problem, and keep track of your project status in the Project News section. You should be updating this page at least once per week.
- Update your blog at least once and hopefully twice a week. Remember that the more you write, the easier it will be to get help from other people: it is easier for people to understand your question with supporting documentation on the web.
- Update your personal page on the wiki with permanent information, such as a list of your contributions to various projects.
Given that this course is focused on open source development, and given that students work on real open source codebases, all student work will become open source. The particular license used will be determined based on the particular project and open source project.
Detailed grading information will be discussed later in the term. Below is a breakdown of how students will be graded, and this blog post gives more details about the rationale:
- 80% - Project Deliverables (e.g., code, documents), marked in terms of quality, quantity, etc. Your project will be marked at four milestone releases, the number and values being:
- 20% - 0.1 Release (Due Sept 27)
- 20% - 0.2 Release (Due Oct 18)
- 20% - 0.3 Release (Due Nov 15)
- 20% - 0.4 Release (Due Dec 6)
- 20% - Project Wiki Page and Blog. You will be marked on your project and personal page's quality, depth of explanation, frequency of update, etc.
- Weekly Schedule and Notes
- Fall 2012 Open Source Students
- Mozilla's Etherpad and Seneca's Etherpad
- Git Cheatsheet and Gotchas
- Open Source@Seneca Planet
- Planet Mozilla
- Mozilla Wiki
- Mozilla Developer Network
Here are a list of good student artifacts from the previous course, which should provide examples for future students to follow:
- Blog - Armen, Lukas
- Personal Wiki - Armen, Lukas
- Project Wiki - Automated localization build tool, Extending the Buildbot, Buildbot and EC2