Difference between revisions of "OpenStack Upstream Training/Info"
(add kilo etherpad links) |
(Marked this version for translation) |
||
Line 1: | Line 1: | ||
<translate> | <translate> | ||
− | == Introduction == | + | == Introduction == <!--T:1--> |
+ | <!--T:2--> | ||
With over 2000 developers from 80 different companies worldwide, OpenStack is one of the largest collaborative software-development projects. Because of its size, it is characterized by a huge diversity in social norms and technical conventions. These can significantly slow down the speed at which newcomers are successful at integrating their own roadmap into that of the OpenStack project. | With over 2000 developers from 80 different companies worldwide, OpenStack is one of the largest collaborative software-development projects. Because of its size, it is characterized by a huge diversity in social norms and technical conventions. These can significantly slow down the speed at which newcomers are successful at integrating their own roadmap into that of the OpenStack project. | ||
+ | <!--T:3--> | ||
We've designed a training program to help professional developers negotiate this hurdle. It shows them how to ensure their bug fix or feature is accepted in the OpenStack project in a minimum amount of time. The educational program requires students to work on real-life bug fixes or new features during two days of real-life classes and online mentoring, until the work is accepted by OpenStack. The live two-day class teaches them to navigate the intricacies of the project's technical tools and social interactions. In a followup session, the students benefit from individual online sessions to help them resolve any remaining problems they might have. | We've designed a training program to help professional developers negotiate this hurdle. It shows them how to ensure their bug fix or feature is accepted in the OpenStack project in a minimum amount of time. The educational program requires students to work on real-life bug fixes or new features during two days of real-life classes and online mentoring, until the work is accepted by OpenStack. The live two-day class teaches them to navigate the intricacies of the project's technical tools and social interactions. In a followup session, the students benefit from individual online sessions to help them resolve any remaining problems they might have. | ||
− | == Objectives == | + | == Objectives == <!--T:4--> |
+ | <!--T:5--> | ||
* Faster integration of the companies product roadmap into the OpenStack release cycle | * Faster integration of the companies product roadmap into the OpenStack release cycle | ||
* Successfully contribute one real world patch to an OpenStack component | * Successfully contribute one real world patch to an OpenStack component | ||
Line 14: | Line 17: | ||
* Understand the OpenStack contribution workflow and social norms | * Understand the OpenStack contribution workflow and social norms | ||
− | == Target Audience == | + | == Target Audience == <!--T:6--> |
+ | <!--T:7--> | ||
* Developers | * Developers | ||
* System administrators | * System administrators | ||
− | == Prerequisites == | + | == Prerequisites == <!--T:8--> |
+ | <!--T:9--> | ||
* Being able to read and write English at a technical level. | * Being able to read and write English at a technical level. | ||
* If contributing code, being technically proficient enough to carry out simple bug fixes in the project. | * If contributing code, being technically proficient enough to carry out simple bug fixes in the project. | ||
Line 26: | Line 31: | ||
* Having at least 8 hours a week to dedicate to the project, be it through programming or through interacting with the community. | * Having at least 8 hours a week to dedicate to the project, be it through programming or through interacting with the community. | ||
− | == Duration == | + | == Duration == <!--T:10--> |
+ | <!--T:11--> | ||
* Face-to-face section: 2 days | * Face-to-face section: 2 days | ||
* Online section: 10 one-hour individual mentoring sessions over a period of 4 to 10 weeks | * Online section: 10 one-hour individual mentoring sessions over a period of 4 to 10 weeks | ||
− | == Infrastructure == | + | == Infrastructure == <!--T:12--> |
+ | <!--T:13--> | ||
[[OpenStack_Upstream_Training/Setup_DevStack|ready to use devstack VM]] for participants with network connectivity but troubles with their laptop | [[OpenStack_Upstream_Training/Setup_DevStack|ready to use devstack VM]] for participants with network connectivity but troubles with their laptop | ||
− | = Course Outline = | + | = Course Outline = <!--T:14--> |
− | == First day == | + | == First day == <!--T:15--> |
− | === Introduction === | + | === Introduction === <!--T:16--> |
+ | <!--T:17--> | ||
* A week before Day 1: choice of a contribution, via email, with each participant | * A week before Day 1: choice of a contribution, via email, with each participant | ||
* Day 1: How OpenStack is made | * Day 1: How OpenStack is made | ||
* Day 1: Learn and practice git, gerrit, IRC | * Day 1: Learn and practice git, gerrit, IRC | ||
+ | <!--T:18--> | ||
* Day 2: The theory of contribution | * Day 2: The theory of contribution | ||
* Day 2: Lego contribution simulation | * Day 2: Lego contribution simulation | ||
Line 50: | Line 59: | ||
* Day 2: Online mentoring | * Day 2: Online mentoring | ||
− | === How OpenStack is made (3h including 1h30 exercises) === | + | === How OpenStack is made (3h including 1h30 exercises) === <!--T:19--> |
+ | <!--T:20--> | ||
* [https://wiki.openstack.org/wiki/Release_Cycle Release cycle] ( [https://github.com/openstack/training-guides/blob/master/doc/upstream-training/01-release-cycle.rst slides] ) | * [https://wiki.openstack.org/wiki/Release_Cycle Release cycle] ( [https://github.com/openstack/training-guides/blob/master/doc/upstream-training/01-release-cycle.rst slides] ) | ||
** [https://wiki.openstack.org/wiki/Release_Cycle#Planning_.28Design.2C_Discuss_and_Target.29 Planning (Design, Discuss and Target)] | ** [https://wiki.openstack.org/wiki/Release_Cycle#Planning_.28Design.2C_Discuss_and_Target.29 Planning (Design, Discuss and Target)] | ||
Line 90: | Line 100: | ||
** Exercise: lunch menu online meeting | ** Exercise: lunch menu online meeting | ||
− | === Workflow of an OpenStack contribution and tools (3h including 2h exercises) === | + | === Workflow of an OpenStack contribution and tools (3h including 2h exercises) === <!--T:21--> |
+ | <!--T:22--> | ||
* [http://devstack.org/ devstack] ( [https://github.com/openstack/training-guides/blob/master/doc/upstream-training/11-devstack.rst slides] ) | * [http://devstack.org/ devstack] ( [https://github.com/openstack/training-guides/blob/master/doc/upstream-training/11-devstack.rst slides] ) | ||
** Ubuntu or Fedora | ** Ubuntu or Fedora | ||
Line 133: | Line 144: | ||
** Exercise: add an error and match it to the jenkins message | ** Exercise: add an error and match it to the jenkins message | ||
− | == Second day == | + | == Second day == <!--T:23--> |
− | === The Contribution Process (1 hour) === | + | === The Contribution Process (1 hour) === <!--T:24--> |
− | ( [https://github.com/openstack/training-guides/blob/master/doc/upstream-training/19-training-contribution-process.rst slides] ) | + | <!--T:25--> |
+ | ( [https://github.com/openstack/training-guides/blob/master/doc/upstream-training/19-training-contribution-process.rst slides] ) | ||
* Take the pulse of the project. | * Take the pulse of the project. | ||
* Figure out who's behind it. | * Figure out who's behind it. | ||
Line 159: | Line 171: | ||
* Archive and collect. | * Archive and collect. | ||
− | === Agile for Contributors (15 min) === | + | === Agile for Contributors (15 min) === <!--T:26--> |
− | ( [https://github.com/openstack/training-guides/blob/master/doc/upstream-training/20-training-agile-for-contributors.rst slides] ) | + | <!--T:27--> |
+ | ( [https://github.com/openstack/training-guides/blob/master/doc/upstream-training/20-training-agile-for-contributors.rst slides] ) | ||
* Apply agile | * Apply agile | ||
* Who is the customer? | * Who is the customer? | ||
Line 167: | Line 180: | ||
* Sprint review presentation to Upstream | * Sprint review presentation to Upstream | ||
− | === Contribution Simulation (2 hour) === | + | === Contribution Simulation (2 hour) === <!--T:28--> |
+ | <!--T:29--> | ||
The students make a virtual contribution simulation using Lego bricks as props, with the goal of expanding a Lego town, built by upstream. They are divided into teams; the teacher is by turns the product owner in the company and the upstream. | The students make a virtual contribution simulation using Lego bricks as props, with the goal of expanding a Lego town, built by upstream. They are divided into teams; the teacher is by turns the product owner in the company and the upstream. | ||
− | === Contribution Planning (2 hours) === | + | === Contribution Planning (2 hours) === <!--T:30--> |
− | ( [http://dachary.org/loic/openstack-training/training-student-project-sample.odp odp slides] [http://dachary.org/loic/openstack-training/training-student-project-sample.pdf pdf slides] ) | + | <!--T:31--> |
+ | ( [http://dachary.org/loic/openstack-training/training-student-project-sample.odp odp slides] [http://dachary.org/loic/openstack-training/training-student-project-sample.pdf pdf slides] ) | ||
+ | <!--T:32--> | ||
* The students use template slides to prepare a 5-minute presentation of their planned contribution. | * The students use template slides to prepare a 5-minute presentation of their planned contribution. | ||
* A sample presentation is given by the teacher, as an example. | * A sample presentation is given by the teacher, as an example. | ||
Line 185: | Line 201: | ||
* Each student group presents its slides to the class | * Each student group presents its slides to the class | ||
− | === Etherpad === | + | === Etherpad === <!--T:33--> |
+ | <!--T:34--> | ||
https://etherpad.openstack.org/p/kilo-upstream-training | https://etherpad.openstack.org/p/kilo-upstream-training | ||
</translate> | </translate> |
Revision as of 08:14, 2 November 2014
Contents
Introduction
With over 2000 developers from 80 different companies worldwide, OpenStack is one of the largest collaborative software-development projects. Because of its size, it is characterized by a huge diversity in social norms and technical conventions. These can significantly slow down the speed at which newcomers are successful at integrating their own roadmap into that of the OpenStack project.
We've designed a training program to help professional developers negotiate this hurdle. It shows them how to ensure their bug fix or feature is accepted in the OpenStack project in a minimum amount of time. The educational program requires students to work on real-life bug fixes or new features during two days of real-life classes and online mentoring, until the work is accepted by OpenStack. The live two-day class teaches them to navigate the intricacies of the project's technical tools and social interactions. In a followup session, the students benefit from individual online sessions to help them resolve any remaining problems they might have.
Objectives
- Faster integration of the companies product roadmap into the OpenStack release cycle
- Successfully contribute one real world patch to an OpenStack component
- Master the technical tools
- Understand the OpenStack contribution workflow and social norms
Target Audience
- Developers
- System administrators
Prerequisites
- Being able to read and write English at a technical level.
- If contributing code, being technically proficient enough to carry out simple bug fixes in the project.
- If contributing documentation, being able to produce documents in the project's chosen infrastructure.
- Having at least 8 hours a week to dedicate to the project, be it through programming or through interacting with the community.
Duration
- Face-to-face section: 2 days
- Online section: 10 one-hour individual mentoring sessions over a period of 4 to 10 weeks
Infrastructure
ready to use devstack VM for participants with network connectivity but troubles with their laptop
Course Outline
First day
Introduction
- A week before Day 1: choice of a contribution, via email, with each participant
- Day 1: How OpenStack is made
- Day 1: Learn and practice git, gerrit, IRC
- Day 2: The theory of contribution
- Day 2: Lego contribution simulation
- Day 2: Individual presentation of the contribution plan
- Day 2: Online mentoring
How OpenStack is made (3h including 1h30 exercises)
- Release cycle ( slides )
- Planning (Design, Discuss and Target)
- Implementation (Milestone iterations)
- Pre-release (Release Candidates dance)
- Exercise: based on the Juno release schedule find the URL of a document or a patch that belongs to each of the above steps.
- Relevant actors ( slides )
- Technical Committee ( slides )
- Decide what is an OpenStack Program
- meetings
- Exercise: read archived and briefly comment on keystone document
- PTLs
- APC
- ATC
- Exercise: each APC / ATC in the class add a URL to the etherpad proving it
- Program ecosystem ( slides )
- Incubated
- Integrated
- Core
- Stackforge
- Exercise: What kind of Program do you contribute to ?
- Design summits ( slides )
- propose sessions
- attend or lead a session
- Kilo Summit Etherpads
- Exercise: Add a session proposal regarding your contribution in an etherpad, review two proposals
- IRC meetings ( slides )
- modified meetbot
- #info - Add an info item to the minutes. People should liberally use this for important things they say, so that they can be logged in the minutes.
- #action - Document an action item in the minutes. Include any nicknames in the line, and the item will be assigned to them. (nicknames are case-sensitive)
- #help - Add a "Call for Help" to the minutes. Use this command when you need to recruit someone to do a task. (Counter-intuitively, this doesn't provide help on the bot)
- Exercise: lunch menu online meeting
Workflow of an OpenStack contribution and tools (3h including 2h exercises)
- devstack ( slides )
- Ubuntu or Fedora
- git clone https://github.com/openstack-dev/devstack.git
- minimal configuration
- cd devstack; ./stack.sh
- Exercise: get the code for the targeted contribution
- HOW to contribute URL ( slides )
- puppet stackforge
- documentation
- training guides
- Excercise: Apply for individual membership and sign the CLA
- launchpad ( slides )
- blueprints
- bugs
- Exercise: review other launchpad bugs and improve yours
- gerrit workflow ( slides )
- account setup
- git review installation
- ssh setup
- project setup
- gerrit workflow
- running unit tests
- review dependencies
- Exercise: push a wip or draft and invite reviewers
- Branching model ( slides )
- development
- stable
- Exercise: checkout the latest stable branch
- reviewing ( slides )
- writing a commit message ( slides )
- reference to a bug or a blueprint
- amending a commit message
- Exercise: review each other messages on the draft
- jenkins ( slides )
- Exercise: add an error and match it to the jenkins message
Second day
The Contribution Process (1 hour)
( slides )
- Take the pulse of the project.
- Figure out who's behind it.
- Determine the project's social groups.
- Assess your approach.
- Engage immediately.
- Play with your network.
- Perform the smaller tasks.
- Choose a question.
- Familiarize yourself with the code of conduct.
- Understand the conventions.
- Explain what you do.
- Prepare the backport.
- Learn what's local and what's upstream.
- Learn what distinguishes good work flow from bad work flow.
- Quantify the delta.
- Speed up the acceptance.
- Determine the time frame.
- Maximize karma.
- Work in parallel.
- Archive and collect.
Agile for Contributors (15 min)
( slides )
- Apply agile
- Who is the customer?
- Company & Upstream product owner
- Sprint review presentation to Upstream
Contribution Simulation (2 hour)
The students make a virtual contribution simulation using Lego bricks as props, with the goal of expanding a Lego town, built by upstream. They are divided into teams; the teacher is by turns the product owner in the company and the upstream.
Contribution Planning (2 hours)
( odp slides pdf slides )
- The students use template slides to prepare a 5-minute presentation of their planned contribution.
- A sample presentation is given by the teacher, as an example.
- Each student group prepares a presentation describing:
- the contribution they plan to work on during the online sessions,
- how they will engage with the Upstream,
- how it contributes to the company's agenda
- and whom they will be working with.
- Each student group presents its slides to the class