Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| googlecodein:gettingstarted [2011/11/22 16:21] – Start this page GavinAtkinson | googlecodein:gettingstarted [2020/12/30 02:52] (current) – Remove 1 broken hyperlink. SashaVigole | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Most of the Google Code-In tasks require the %%FreeBSD%% source code to have been checked out. There are several ways of doing this, each with advantages and disadvantages. | + | ====== Getting Started ====== |
| - | The following documentation assumes that you are using %%FreeBSD%%, | + | Some of the %%FreeBSD%% |
| - | **Note that it is recommended that you do not update your tree whilst working on your tasks, as this combined | + | If you have any problems |
| - | If you have any problems with any of this, please do feel free to talk to your mentor, or ask on IRC. There are many mentors available in #freebsd-soc on EFnet. | + | ===== Requirements for Google Code-In tasks ===== |
| - | ===== Documentation tree ===== | + | Most of the Google Code-In tasks require the following: |
| - | As root, create | + | * A %%FreeBSD%% system (in a [[/ |
| + | * Knowledge of the documentation guidelines for the %%FreeBSD%% project: http:// | ||
| + | * A copy of the %%FreeBSD%% documentation tree checked out from the %%FreeBSD%% doc repository. | ||
| + | * Knowledge on how to research information on the internet | ||
| + | * Thorough work style | ||
| - | < | + | ===== Using the pre-prepared VM images ===== |
| - | *default host=cvsup8.FreeBSD.org | + | |
| - | *default base=/var/db | + | |
| - | *default prefix=/usr | + | |
| - | *default release=cvs tag=. | + | |
| - | *default delete use-rel-suffix | + | |
| - | *default compress | + | |
| - | doc-all | + | The easiest way to get started with the Google Code-In tasks is to download the pre-made Virtual Machine image. |
| - | #www | + | |
| - | </code> | + | |
| - | For most tasks, | + | Once the VM image has been imported, boot it. |
| - | Then, still as root, run "csup doc-supfile" | + | There are two accounts set up: |
| - | Once you have the documentation tree, find the file that you want to work on, and make a copy of it. For example, if your task involves making changes to the %%FreeBSD%% Handbook bibliography, | + | | username | password | |
| + | | root | gcin | | ||
| + | | gcin | gcin | | ||
| - | '' | + | You should only need to use the gcin username/password for most tasks. |
| - | Then, make your edits to / | + | In the home directory of the gcin users, a directory called "'' |
| - | ===== Testing your changes ===== | + | | doc | The %%FreeBSD%% Documentation tree | |
| + | | head | %%FreeBSD%% source code for -CURRENT | | ||
| + | | stable/9 | %%FreeBSD%% source code for the 9-STABLE branch | | ||
| - | Once you are ready to test your changes, follow the instructions at http://www.freebsd.org/ | + | All three trees are checked out using Subversion. |
| - | ===== Submitting your changes ===== | + | ==== Working on the FreeBSD documentation tree ==== |
| - | As you made a copy of the file before you made changes, you can produce a diff from it with: | + | (to be written). See http:// |
| - | '' | + | === Working on existing documentation === |
| + | === Testing === | ||
| - | This file can then be submitted | + | ==== Working on the FreeBSD source tree ==== |
| + | |||
| + | (to be written) | ||
| + | === Working on existing documentation === | ||
| + | === Testing === | ||
| + | |||
| + | ==== Submitting | ||
| + | |||
| + | The preferred format for submitting work done is in diff format. | ||
| + | |||
| + | For example, to create a diff of changes made to the %%FreeBSD%% handbook, the following command should be used: | ||
| + | |||
| + | '' | ||
| + | |||
| + | Then, upload the file '' | ||
| + | |||
| + | Note, however, that any new files (i.e. files created rather than modified) will not be included in the output of "'' | ||
| + | |||
| + | ==== Updating the source code checkouts ==== | ||
| + | |||
| + | All the supplied trees can be updated using "svn update" | ||
| + | |||
| + | '' | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ====== Working on tasks without using the prepared VM images ====== | ||
| + | |||
| + | There are several ways of obtaining the source code, each with advantages and disadvantages. | ||
| + | |||
| + | The following assumes that you are using %%FreeBSD%%, | ||
| + | |||
| + | ===== Obtaining the FreeBSD Documentation tree ===== | ||
| + | |||
| + | The %%FreeBSD%% Project currently still uses CVS to store its documentation. | ||
| + | |||
| + | Check the tree out with: | ||
| + | |||
| + | '' | ||
| + | |||
| + | Once you have obtained | ||
| + | |||
| + | ===== Obtaining the FreeBSD source Code ===== | ||
| + | |||
| + | As the %%FreeBSD%% source code is held in SVN, this can be checked out directly: | ||
| + | |||
| + | '' | ||
| + | |||
| + | Once you have obtained the code, please see the top section of this page for how to work with it, test your work, and submit your changes. | ||