It is about trying not to do too much.
This contribution guide helps you to get started contributing to WackoWiki development.
1. How to contributeThere are several ways for developers to contribute to the WackoWiki project.
- Give us feedback about the software: what you like, what you don't like, features you like to be added in new versions, comments on documentation, etc.
- Develop new features: Have a look at the bug traker. Simply pick one of the open tasks[link2] and start working on it.
- Find a bug, submit the bug to the bug tracker at https://wackowiki.org/bugs/. If you've already solved the bug and are willing to share the fix, please add a patch to the issue.
- Submit a patch or make a Pull-Request to the patch manager of WackoWik if you have developed some new features. The submitted patch should follow the coding and templating standards described in this document[link3].
- Documentation: there are some parts of WackoWiki that are not very well documented. Refer to the bug traker for a list of open tasks.
- Localization: The user interface of WackoWiki is now almost completely localized. If you'd like to translate WackoWiki to a new, not yet supported language, you can refer to the localization "how to"[link4] document to understand on how to add a new language.
Development Tools are:
- Bug Tracker[link5]
1.1. Committers LicensesThe only acceptable license for code committed to WackoWiki Core is the New BSD License[link9].
1.2. Discuss your designThe project welcomes submissions but please let everyone know what you're working on if you want it to become part of the main repository.
Before undertaking to write something new for the WackoWiki project, send a mail or open a issue in our forum[link7] to discuss what you plan to do. This gives everyone a chance to validate the design, helps prevent duplication of effort, and ensures that the idea fits inside the goals. It also guarantees that the design is sound before code is written.
In short, send mail before you code. And don't start the discussion by mailing a change list!
1.3. PatchesEach problem should be solved in a separate patch. To allow easy maintenance of patches, every patch should have a header providing the following information:
- Authors names
- Detailed description of the fixed problem
The name of a patch file consists of:
- The name and version of the source from which the patched file is derived
- Some words that characterize the patch content
- The filename suffix .patch
2. WackoWiki repository[link1]You can gain commit access if you prove yourself worthy by sending good patches regularly.
Set up a personal repository other developers can pull from.
- team member
- topic branch
2.1. Anonymous accessYou can check out the WackoWiki repository through anonymous access following the instructions below.
- Download and install Git.
- create your (local) repository
- Get the source:
2.2. Personal repositoriesYou can set up your personal repository on your own server or on one of the public Source code hosting like Bitbucket[link10], GitHub[link11] or SourceForge[link12].
3. Collaborative Development Models
- The Fork + Pull Model lets anyone fork an existing repository and push changes to their personal fork without requiring access be granted to the source repository. The changes must then be pulled into the source repository by the project maintainer. This model reduces the amount of friction for new contributors and is popular with open source projects because it allows people to work independently without upfront coordination.
- The Shared Repository Model is more prevalent with small teams and organizations collaborating on private projects. Everyone is granted push access to a single shared repository and topic branches are used to isolate changes.
Pull requests are especially useful in the Fork + Pull Model because they provide a way to notify project maintainers about changes in your fork. However, they’re also useful in the Shared Repository Model where they’re used to initiate code review and general discussion about a set of changes before being merged into a mainline branch.
3.1. Fork + Pull Model
- Create a fork of the repository. Go to the repository that you want to fork. This gives you a copy of the code from the point where you fork it.
- Clone your new fork. Now you may clone your new repository, to create a local copy.
- Work on the files locally. Edit the files, add new files, and so on. It is your repository.
- Commit change sets to your local repository as usual.
- Push your changes up to your fork. Push your changes to Bitbucket in the usual way. This will update your fork of the repository.
- Send a pull request to the owner of the original repository. Once you are satisfied with your changes, you can ask the owners of the original repository to pull in your changes and merge them into the main repository. Send a 'pull request'. The Issue tracker will send a notification to the owner, making it easy for you to communicate with them about your changes from this point onwards.
Repo for Fork + Pull Model
Pending Pull Requests
Pending Pull Requests
3.2. Shared Repository-> see Workflow[link14]
4. Code Conventions-> see Code Conventions[link3]
- [link1] https://wackowiki.org/doc/Org/Tools/Repository
- [link2] https://wackowiki.org/doc/Dev/TodoList
- [link3] https://wackowiki.org/doc/Dev/Guidelines/CodeConventions
- [link4] https://wackowiki.org/doc/Doc/English/Localizations
- [link5] https://wackowiki.org/doc/Org/Tools/BugTracker
- [link6] https://wackowiki.org/doc/Dev/Translations
- [link7] https://wackowiki.org/doc/Forum/Development
- [link8] https://wackowiki.org/doc/Org/Tools
- [link9] https://wackowiki.org/doc/License
- [link10] https://bitbucket.org
- [link11] https://github.com/
- [link12] http://sourceforge.net/
- [link13] https://bitbucket.org/wackowiki/wackowiki/pull-requests/
- [link14] https://wackowiki.org/doc/Org/Tools/Repository/Mercurial/Workflow