Have you submitted code to PrestaShop’s Core codebase or any of its native module through a pull request on GitHub? Then read on!
The PrestaShop team has four main ways to get feedback from the Community:
- The Support Forums, where we try to answer the most pressing matters (and there’s never enough hours in the day).
- The Forge, our bugtracker, where users (both developers and merchants) report issues or suggest improvements, and the team handles them one by one, according to their complexity and impact.
- The GitHub repository, where developers can submit code changes to the team through pull requests (hereafter “PR”). The repo contains the code for the Core of PrestaShop, as well as individual projects for each module.
- The comments on the Build devblog. Hey, that’s here!
As anyone lurking on our GitHub repository knows, PRs have gotten from a trickle to a more steady flow of code suggestions, currently reaching more than 360 PRs just for the main project. Modules also have their share of PRs waiting.
While we are more than happy to see the Community involved, the current plans for version 1.7 of PrestaShop made it that until now, the devteam had little time to dive into all these PRs and separate the wheat from the chaff. I write “until now”, because we want to dedicate more time to our Community.
That’s where you, dear reader who contributed one or more PRs, can easily help us! If one of your past PR is still open, we want to help you either merge it into Core, or close it. Now’s the time to speak up – and comment :) Please read on!
How to proceed
Look at the pull requests that you have created in the past and ask yourself:
- Is this still relevant?
- Does this still need to be fixed?
- Is the suggestion still valid?
If you answer “no” to any of the above questions, please leave a comment on GitHub explaining the situation, and close the pull request.
If you have answered “yes” to all the above questions, then let’s continue!
Now, please look at your code, and ask yourself:
- Do the code changes you suggested at the time still apply?
- Is there any conflict risk with the current code?
GitHub should indicate this at the bottom of the PR’s page.
- Can the solution be improved?
- Does your patch follow the PSR-2 coding style?
We adopted PSR-2 back in June 2015.
- Is the PR made on the correct branch?
It should be:
developfor an improvement or a bug fix targeted at the forthcoming 1.7.
1.6.1.xfor a bug fix for version 1.6.1.x (currently 22.214.171.124). PrestaShop 1.6 will not receive any new feature.
Write a comment to tell us your answer for these questions, or any other information you feel is essential for us to test and merge your change! If possible, you can even create a Forge ticket for your PR, in order to have the conversation featured in our daily planning!
Note: if your patch needs to be updated or to be moved to another branch, don’t go make the change right away! Let us know first, and we will let you know if it fits our plans for PrestaShop 1.6.1.x/1.7 or not.
Thank you so much for your help!
Here is a link to all the currently open pull requests in all of PrestaShop’s branches: https://github.com/PrestaShop/PrestaShop/pulls Remember that each module also has its own set of PRs!
Here’s how you can display all your open pull requests submitted to the PrestaShop project:
- Display all your currently open pull requests.
- Open the “Organization” filter and choose “PrestaShop”.
- From there, please gives us an update/opinion on each open PR.
A few tips
If a rewrite of your patch is needed, either because you can think of a better solution, or because PrestaShop’s codebase has changed since your proposal and thus your patch cannot be applied as-is, please take the time to upgrade your code! It would be of tremendous help to provide an updated patch, one that we can possibly apply more quickly.
If you aim at fixing version 1.5 or below, please port your code to the
develop branch. PrestaShop’s versions below 1.6 will not receive updates anymore, except for security issues.
In any case, please leave a comment acknowledging that you aware of the PR’s situation, and willing to start working with us to have it possibly merged!
By following these simple suggestions, you can help us go through the open PRs quicker, spot the real gems faster, and thus make PrestaShop a better e-commerce solution!
Thank you for giving us an update on every one of your open pull requests!