How to code new features: Difference between revisions

From Scribus Wiki
Jump to navigation Jump to search
No edit summary
m (→‎How to join: formatting)
Line 4: Line 4:


== How to join ==
== How to join ==
Outside the core dev team, several people are involved in coding for scribus.
Outside the core dev team, several people are involved in coding for scribus.
You can join them if you have C++ and QT Skills and want to fix some bugs or improve Scribus features.
You can join them if you have C++ and QT Skills and want to fix some bugs or improve Scribus features.


===Ways to Connect===
Discussions sometime take place on IRC (#scribus chan on freenode).
Discussions sometime take place on IRC (#scribus chan on freenode).
Go irc://irc.freenode.net/#scribus
* Go irc://irc.freenode.net/#scribus or check out [[Special:Webchat|web-based IRC client]]


The scribus-dev email discussion list is sometime used too, and could probably be used more intensely since it gathers all devs.
The scribus-dev email discussion list is sometime used too, and could probably be used more intensely since it gathers all devs.
See http://lists.scribus.info/mailman/listinfo/scribus-dev
* See http://lists.scribus.info/mailman/listinfo/scribus-dev


===Propose Your Code===
The best way to propose code for scribus is to develop it on a dedicated GIT repository that is available for contributors.
The best way to propose code for scribus is to develop it on a dedicated GIT repository that is available for contributors.
Documentation can be found here http://wiki.scribus.net/canvas/Git
Documentation can be found here [[Git]].
Reading access to the repo is public.
Reading access to the repo is public. '''You can get a writing access to the repo : have a ssh key ready and ask Malex.'''
You can get a writing access to the repo : have a ssh key ready and ask Malex.


Once you have your branch created, keep it up to date with the svn trunk (that is more or less regularly mirored in the GIT 'trunk' branch), and develop your code there.
Once you have your branch created, keep it up to date with the svn trunk (that is more or less regularly mirored in the GIT 'trunk' branch), and develop your code there.

Revision as of 06:45, 22 November 2013


How to code new features and cure bugs !

How to join

Outside the core dev team, several people are involved in coding for scribus. You can join them if you have C++ and QT Skills and want to fix some bugs or improve Scribus features.

Ways to Connect

Discussions sometime take place on IRC (#scribus chan on freenode).

The scribus-dev email discussion list is sometime used too, and could probably be used more intensely since it gathers all devs.

Propose Your Code

The best way to propose code for scribus is to develop it on a dedicated GIT repository that is available for contributors. Documentation can be found here Git. Reading access to the repo is public. You can get a writing access to the repo : have a ssh key ready and ask Malex.

Once you have your branch created, keep it up to date with the svn trunk (that is more or less regularly mirored in the GIT 'trunk' branch), and develop your code there. Document it and ask for testers to test your code when required. When some of your code is perfectly fine, create a diff and propose your patch on the bug tracker.

Hints on how to code

You got to get the code and compile it. There are several howtos on this wiki (for example http://wiki.scribus.net/canvas/Building_SVN_versions_with_CMake)

Scribus 'plugins' (which are staticaly compiled) are a possible way to implement new features.

QTCreator and QTDesigner are nice tool.

To begin with, you could look at the bug tracker and find easy to solve bugs.

Document your code. Scribus code base is not documented a lot. Please do document your code.