We're currently in the process of developing v1.0
but there are still issues to iron out with the existing distro: v0.x.x
. So we've compiled this short document to help you guys help us!
There seems to have been a bit of confusion in the past, and yes our branches are currently a bit confusing in structure. If you want to conrtibute to the current version of Anchor then please work from the 0.10-dev
branch. This is where any features/refactoring should be happening. If what you're planning on doing is fixing a bug then please work from the master
branch, this branch will always have the latest tagged release of Anchor. When you submit a bug fix PR we'll also merge it into the current version dev
branch.
We're planning on cleaning everything up once 1.0
is released, by following the simple Gitflow system which can be found in many Git GUI's, in the git extras package and so on.
feature/what-it-is
bugfix/what-it-is-fixing
This may be the case if you've not followed our guidelines, your code does not do as suggested, it doesn't work or if we simply haven't had the time to take a look at it properly and ensure it's working correctly.
Translations should be submitted to the official anchor-translations repo, please check this repo before you start incase the translation has already been made.
Please follow the below points:
- Check if bug is consistent in different environments
- Check if its been reported and solved in the Anchor forum
- Check if there is an issue that already covers or relates to it
- Give an accurate and concise title to issue
- Prefix title of issue with
Bug:
orFeature:
- Explain bug briefly but in detail
- Give guidance on how to reproduce bug
- Add screenshots when possible
ProTip: Check out this example issue for reference on good bug reporting.
If you're familiar with open source software, you probably know how important coding guidelines and standards are. Most common are (in order of appearance) PEAR, Zend(Framework) and PSR-1/PSR-2.
Since the PHP-FIG and their standards gain more and more followers and Anchor uses composer, which supports PSR-0 and PSR-4, all code should follow PSR-1 and PSR-2. More help on best practices for PHP development can be found on PHP the right way.
When working on a file, always enforce coding standards for the whole file. This increases the consistency of the code with every contribution!