Getting started as a developer: Difference between revisions

From FreeMind
Jump to navigationJump to search
Line 31: Line 31:
=== Compile, Branch and Patch ===
=== Compile, Branch and Patch ===
<code bash>
<code bash>
# get the latest code
git clone git://freemind.git.sourceforge.net/gitroot/freemind/freemind
git clone git://freemind.git.sourceforge.net/gitroot/freemind/freemind


cd freemind/freemind
cd freemind/freemind
# start FreeMind


ant run
ant run
# create branch "new_feature"


git checkout -b new_feature
git checkout -b new_feature


... change the code ...
#... change the code ...


git commit -a
git commit -a


... change again ...
#... change again ...


git commit -a
git commit -a


... create patch file ...
#... create patch file ...


git format-patch master --stdout > patch.txt
git format-patch master --stdout > patch.txt
Line 53: Line 59:
</code>
</code>


(on Mac use <code bash>ant runmac</code>).
(on Mac use <code bash>ant runmac</code> to run FreeMind).


===See also===
===See also===

Revision as of 14:38, 7 August 2011

Getting started as a developer

Contributing to FreeMind as a developer

A new developer starts in two stages.

  1. Patches. At firsts, she sends her contributions as patches into Patches tracker.
  2. GIT. Later, after she has shown some volume of contribution, she gets access to GIT repository.

Detail: If you are considering becoming a new developer, please proceed as follows.

  1. Create a user account at SourceForge.
  2. Discuss your contribution (the change, feature, bug fix, documentation or test plan) in our open discussion forum.
  3. If the topic is accepted, start to change the up-to-date code that you have downloaded from GIT. Beware of using the right GIT branch:
    • Currently, there is no GIT branch.
  4. If, during implementing the feature, you have any questions, feel free to ask them in the "Open Discussion" forum. It is read by the other developers who possible can help you.
  5. Post your contribution in the patch section of SourceForge or send it by email to the current project manager. We do not respond immediately, as FreeMind team consists of volunteers.
  6. After having successfully developed and integrated some items, you get access to FreeMind's GIT repository at SourceForge.

Getting the latest beta version of FreeMind from GIT

A beta version you can get from the GIT, searching there for the latest branch, or the branch of your choice. Please note that beta versions are unstable and may contain serious bugs. Please, use beta versions only if:

  1. you urgently need a feature included in the version, and you are willing to backup your work often, or
  2. you want to give FreeMind developers feedback on the beta versions, which is highly appreciated.

To get a beta version from GIT, see the guides at GIT section.

Compiling last stable version of FreeMind

See Building.

Compile, Branch and Patch

  1. get the latest code

git clone git://freemind.git.sourceforge.net/gitroot/freemind/freemind

cd freemind/freemind

  1. start FreeMind

ant run

  1. create branch "new_feature"

git checkout -b new_feature

  1. ... change the code ...

git commit -a

  1. ... change again ...

git commit -a

  1. ... create patch file ...

git format-patch master --stdout > patch.txt

(on Mac use ant runmac to run FreeMind).

See also

Development resources