You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2012/11/27 17:12:43 UTC
[Solr Wiki] Update of "HowToContribute" by Per Steffensen
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The "HowToContribute" page has been changed by Per Steffensen:
http://wiki.apache.org/solr/HowToContribute?action=diff&rev1=82&rev2=83
Comment:
Updating info about currently active branches
== Getting the source code ==
First of all, you need the Solr source code.<<BR>>
- Get the source code on your local drive using [[http://lucene.apache.org/solr/version_control.html|SVN]]. Most development is done on the "trunk", which currently (Fall, 2012) is the 5.x code line. There is no schedule yet for releasing this code, 4.0 is just being released:
+ Get the source code on your local drive using [[http://lucene.apache.org/solr/version_control.html|SVN]].
+ To check out code from SVN
{{{
- svn checkout http://svn.apache.org/repos/asf/lucene/dev/trunk
+ svn checkout http://svn.apache.org/repos/asf/lucene/dev/<branch>
}}}
- To get the 4.x code line, which is the new (Fall 2012) code branch, use this command:
- {{{
- svn checkout http://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x
- }}}
+ The <branch> part of the command above needs to be replaced by something concrete - the "code line" you want to get. Currently the following code lines are active
+ * trunk: Working towards a 5.x release. There is no schedule yet for releasing this code, 4.0 has just been released.
+ * branches/branch_4x: Working towards a 4.1 release. There is no schedule yet for releasing this code.
+ * branches/lucene_solr_4_0: Working towards a 4.0.1 release. There is no guarantee that such a 4.0.1 release will ever be made. Believe revision 1394844 on this branch corresponds to the official 4.0.0 release, so if you add "-r 1394844" to the command line above using <branch>=branches/lucene_solr_4_0 you will get the code corresponding to 4.0.0. You can also just do a checkout of tag lucene_solr_4_0_0 to acheive this.
+ Most development is done on the "trunk", and the backported to the other active "code lines"
Note that committers have to use [[http://apache.org/dev/committers.html#commit-403|https]] instead of http here, but http is fine for read-only access to the code.
If you prefer you could use the [[https://github.com/apache/lucene-solr|GitHub]] mirror instead. Note that the drop-down lets you select "trunk" or "branch_4x" (among others).
-
== Exporting to a local repository ==
When making larger scale (please, try to keep your patches as small as humanly possible) changes, or when working in a team, you might want to be able to keep track of what you are doing locally. One way of doing so, is exporting to a local SVN repository.