About
Module for Prestashop Metrics
Contributing
Prestashop Metrics is compatible with all versions of PrestaShop 1.7 and 1.6
Requirements
Contributors must follow the following rules:
- Make your Pull Request on the "master" branch.
- Do NOT update the module's version number.
- Follow the coding standards.
- Commit rules ref : https://www.conventionalcommits.org/en/v1.0.0/#summary
type[optional scope]:
[optional body]
[optional footer(s)]
The commit contains the following structural elements, to communicate intent to the consumers of your library:
-
fix: a commit of the type fix patches a bug in your codebase (this correlates with PATCH in semantic versioning).
-
feat: a commit of the type feat introduces a new feature to the codebase (this correlates with MINOR in semantic versioning).
-
BREAKING CHANGE: a commit that has a footer BREAKING CHANGE:, or appends a ! after the type/scope, introduces a breaking API change (correlating with MAJOR in semantic versioning). A BREAKING CHANGE can be part of commits of any type.
-
types other than fix: and feat: are allowed, for example @commitlint/config-conventional (based on the the Angular convention) recommends build:, chore:, ci:, docs:, style:, refactor:, perf:, test:, and others.
-
footers other than BREAKING CHANGE: may be provided and follow a convention similar to git trailer format.
Process in details
Contributors wishing to edit a module's files should follow the following process:
- Create your GitHub account, if you do not have one already.
- Fork the ps_googleanalytics project to your GitHub account.
- Clone your fork to your local machine in the
/modulesdirectory of your PrestaShop installation. - Create a branch in your local clone of the module for your changes.
- Change the files in your branch. Be sure to follow the coding standards!
- Push your changed branch to your fork in your GitHub account.
- Create a pull request for your changes on the 'dev' branch of the module's project. Be sure to follow the commit message norm in your pull request. If you need help to make a pull request, read the Github help page about creating pull requests.
- Wait for one of the core developers either to include your change in the codebase, or to comment on possible improvements you should make to your code.
That's it: you have contributed to this open-source project! Congratulations!
