<p>
[[PageOutline(1-2)]]
</p>
<h1>Development in general</h1>
<p>
We are using Subversion for version control.
The main development of Padre is in the trunk <a href="http://svn.perlide.org/padre/trunk/Padre">http://svn.perlide.org/padre/trunk/Padre</a> but there are several
additional projects and almost all the plugins of Padre also live in the same repository so the best if you check
</p>
<pre>
</pre>
<p>
Then you can run the standard CPAN module process:
</p>
<p>
Make sure you have all of the needed prerequisites. See <a href="http://padre.perlide.org/trac/wiki/Download">http://padre.perlide.org/trac/wiki/Download</a>
</p>
<pre>
$ cd padre/Padre
$ perl Makefile.PL # which will tell about all the missing dependencies of Padre
# this may fail if you don't have Module::Install
# if so, start cpan and install it with all its prerequisites
$ make
$ make test
</pre>
<p>
For a more detailed set of instructions on how to install the dependencies visit the <a href="/wiki/Download">Download</a>
</p>
<p>
Once all the above works well you can launch Padre from the SVN tree by running
<tt>
$ perl dev
</tt>
</p>
<p>
dev has some more parameters you can see by typing
<tt>
$ perl dev -h
</tt>
</p>
<p>
The most important being
<tt>
$ perl dev -a
</tt>
that will include the path to all the plugins located in trunk/
</p>
<h2>Coding</h2>
<p>
</p>
<h2>Translation</h2>
<p>
Translation is basically part of the development effort. For more details please take a look at this page:
See <a href="/wiki/[wiki:TranslationIntro]">[wiki:TranslationIntro]</a>
</p>
<h2>Documentation</h2>
<p>
The documentation of Padre is standard POD embedded in the .pm files. If you'd like to
improve those you should check out the source code of Padre as described above and send
patches or ask for commit bit. The documentation is part of the regular development process.
</p>
<h2>QA/Testing</h2>
<p>
Unfortunately Padre has not enough automated test mostly due to the fact that
we hardly know how to test GUI applications. The existing tests are located
in the standard t/ directory.
If you'd like to help in this and if you are on Windows you could take a look at the
t/win32/ directory where we have a few tests written using Win32::GUItest.
You would be very highly regarded if you improved the test coverage of Padre!!
</p>
<h2>Release Management</h2>
<p>
See separate page about <a href="/wiki/Release">Release</a>
</p>
<h1>Development in a branch</h1>
<p>
Most of our development is done on the trunk but occasionally we prefer to make our private corner for experimental changes
or changes that might not be stable for some time.
Instructions on how to do that:
</p>
<p>
Create a branch and work on it:
</p>
<p>
Assuming you have already checked out <a href="http://svn.perlide.org/padre/trunk/">http://svn.perlide.org/padre/trunk/</a> to /path/to/padre
</p>
<pre>
$ cd /path/to/padre/Padre
</pre>
<p>
If you run
<tt>
svn st ..
</tt>
</p>
<p>
You will see a letter S infront to the Padre directory as that one is switched.
</p>
<p>
Now you can edit, test and commit as usual. Your changes will be committed to the branch.
</p>
<p>
When done and you would like to merge your changes
</p>
<p>
1. Make sure everything is committed
</p>
<pre>
$ cd /path/to/padre/Padre
</pre>
<p>
This will show you the changes you made on the branch. Take the FIRST and LAST revision numbers in this log and
use the following command to see the full change you made:
<tt>
</tt>
</p>
<p>
use the following to merge it back to trunk
<tt>
</tt>
</p>
<p>
If you decided it was a dead-end you can just switch back to trunk and remove the branch.
</p>
<h2>Tickets</h2>
<p>
[[TicketQuery(component=development,order=id,desc=1,format=table,col=resolution|summary|owner|reporter)]]
</p>