Fix or report a bug or contribute to the SFRA cartridges.
If you find a bug, let us know by entering the bug for the Storefront Reference Architecture repository.
Do you have some extra time and want to contribute? This section talks about the process of working on issues or adding functionality.
Downloading and developing
Testing locally
eslint
to lint your code before
committing. If you want to contribute regularly, consider adding a Git
hook to automatically lint your code before you commit.Submitting a pull request
Giving read access permission for your fork
sg-jenkins
.What happens after you submit a pull request?
B2C Commerce Engineering reviews your pull request to determine if it's something we can pull into the code. If the change isn't accepted, the request is declined with a comment. If the change is accepted and passes all tests, the change is merged into the SFRA main branch.
Contacting the team about a pull request
If you have a question about the status of a pull request, contact Engineering by adding a comment to the pull request.
Making a change to a pull request
If your pull request fails tests, you can troubleshoot the problem and change the pull request. You can test failures, but to be able to debug, you must request Engineering to send you the log from the test failures. When you have committed your changes, rebase and remove the extra commit message.
git commit -a -m "Update1"
git rebase -i HEAD~2 git push origin branchname --force