Skip to content

Commit

Permalink
symlink divisi2 in here, update developer docs some more
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Speer committed May 7, 2010
1 parent 0cd07f4 commit 3bbe12c
Show file tree
Hide file tree
Showing 9 changed files with 67 additions and 203 deletions.
145 changes: 0 additions & 145 deletions docs/developers/bzr-howto.rst

This file was deleted.

25 changes: 16 additions & 9 deletions docs/developers/contributions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,23 @@ Open Mind is an open source project. If you see something you can improve in
the code, we encourage you to share your improvement with us so we can include
it in future versions.

Pushing code to Launchpad
GitHub branches and forks
-------------------------

As a developer, you have presumably checked out our code from Launchpad. The
first step in sharing your improvements is to push your branch back to
Launchpad, under your own name. So for example, if your Launchpad username is
jbloggs, and you have an improvement to Divisi that makes SVDs faster, you
could push it to Launchpad with::
bzr push lp:~jbloggs/divisi/make-svds-faster
As a developer, you have presumably checked out our code from GitHub. GitHub
makes it very easy to "fork" a project -- that's not as disruptive as it
sounds, it's just hosting a copy of the project under your own GitHub account.
In the fork, you can make whatever changes you want, you can pull our later
updates, and we can pull your updates when we want to include them in the main
repository.

Instructions on forking are at: http://help.github.com/forking/


If you work closely with us, you may have access to the main repositories under
"commonsense/". In that case, you don't have to make a complete fork; you can
just make a new branch where you make your changes.
http://progit.org/book/ch3-0.html is a very helpful guide to branching.

Letting Commonsense Computing redistribute your code
----------------------------------------------------
Expand Down Expand Up @@ -42,7 +49,7 @@ just get to redistribute your code. You will be credited for your contributions
in the source code.

How does this compare to other open source projects?
----------------------------------------------------
....................................................
Our terms for contributors are most similar to the Qt_ project. Their
contributors have to sign a `contribution agreement`_ very similar to this one.

Expand Down
1 change: 0 additions & 1 deletion docs/developers/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ Contents:
.. toctree::
:maxdepth: 2

bzr-howto
setup
karma
contributions
Expand Down
25 changes: 10 additions & 15 deletions docs/developers/karma.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,13 @@ package. Writing docstrings for functions you use, or for new functions you
have written, is an easy form of coding karma. These docstrings can easily be
included in more complete documentation later.

The documentation repository
----------------------------

We have a documentation repository. In fact, you're *reading* the output of the
documentation repository right now.
The documentation directory
---------------------------

You can check it out with `bzr checkout lp:~commonsense/cscweb/documentation`.
A plain checkout is probably fine -- there shouldn't be any reason to have
different branches of documentation.
What you're reading right now comes from a directory called "docs" under the
"omcs" Git repository. You can edit it in its checked-out version, or you can
make changes through the Web at
http://github.com/commonsense/omcs/tree/master/docs/.

The documentation repository contains a couple of things:

Expand All @@ -49,12 +47,9 @@ Writing "recipes"
If you have an example of accomplishing something useful with our tools, show
it to other people!

The `recipes/` directory of the documentation repository is the place to put
The `recipes/` directory of the documentation is the place to put
these. They can even be included as pages of the Sphinx documentation later.

Rob's getting this started by including `health_blend.py` in the recipes
directory.

Writing tests
-------------
We use `nose` for testing. You can get this program with::
Expand Down Expand Up @@ -142,11 +137,11 @@ of the docstrings.

If you have access to the docs server, and you have Fabric installed
(``easy_install fabric``), you can update the
documentation on the Web site (http://csc.media.mit.edu/doc/) by running::
documentation on the Web site (http://csc.media.mit.edu/docs/) by running::

bzr commit
git commit -a
fab test
fab update # if the test works
fab update # if the test works

"fab update" might crash with an error about setting attributes on files, but
if it does, it already got far enough.
Expand Down
Loading

0 comments on commit 3bbe12c

Please sign in to comment.