Alfresco actively encourages external contributions to this Content Application so that the project can move develop in such a way that benefits the wider community.
As a contributor, here are the guidelines we would like you to follow:
- Code of Conduct
- Question or Problem?
- Issues and Bugs
- Feature Requests
- Submission Guidelines
- Coding Rules
- Signing the CLA
Help us keep Alfresco Content Application open and inclusive. Please read and follow our Code of Conduct.
Please do not open issues for general support questions as we want to keep GitHub issues for bug reports and feature requests.
The ADF Gitter channel is a much better place to ask questions:
- direct access to many experienced Angular and ADF developers
- questions and answers stay available for public viewing so your question / answer might help someone else
- all discussions are saved and indexed, you can search for previous answers
If you find a bug in the source code, you can help us by:
- submitting an issue to our ACA JIRA project
- submitting an issue to our GitHub Repository.
Even better, submit a Pull Request with a fix.
You can request a new feature by submitting an issue to our JIRA project or GitHub Repository. If you would like to implement a new feature, please submit an issue with a proposal for your work first, to be sure that we can use it.
Please consider what kind of change it is:
- For a Major Feature, first open an issue and outline your proposal so that it can be discussed. This will also allow us to better coordinate our efforts, prevent duplication of work, and help you to craft the change so that it is successfully accepted into the project.
- Small Features can be crafted and directly submitted as a Pull Request.
Before you submit an issue, search the issue tracker, an issue for your problem may already exist and the discussion might inform you of potential workarounds.
We want to fix all the issues as soon as possible, but before fixing a bug we need to reproduce and confirm it. In order to reproduce bugs, we require you to provide a description of the problem, steps to reproduce and other supporting information that will help us recreate the problem you experianced.
Having a reproducible scenario gives us a wealth of important information without going back & forth to you with additional questions like:
- version of node.js used
- version of NPM used
- version of Angular used
- versions of ADF libraries used
- 3rd-party libraries and their versions
- and most importantly - a use-case that fails
You can file new issues by filling out our new issue form.
Before you submit your Pull Request (PR) consider the following guidelines:
-
Search GitHub for an open or closed PR that relates to your submission. You don't want to duplicate effort.
-
Sign the Contributor License Agreement (CLA) before sending PRs. We cannot accept code without this. Make sure you sign with the primary email address of the Git identity that has been granted access to the Angular repository.
-
Fork the ACA repository.
-
Make your changes in a new git branch based on development:
git checkout -b my-fix-branch development
-
Create your patch, including appropriate test cases.
-
Follow our Coding Rules.
-
Run the full ACA test suite and ensure that all tests pass.
-
Commit your changes using a descriptive commit message.
-
Push your branch to GitHub:
git push origin my-fix-branch
-
In GitHub, send a pull request to
alfresco-content-app:development
.
- If we suggest changes then:
-
Make the required updates.
-
Re-run the ACA test suites to ensure tests are still passing.
-
Rebase your branch and force push to your GitHub repository (this will update your Pull Request):
git rebase development -i git push -f
-
That's it! Thank you for your contribution!
To ensure consistency throughout the source code, keep these rules in mind as you are working:
- All features or bug fixes must be tested by one or more specs (unit-tests).
- All public API methods must be documented.
Sign the Contributor License Agreement (CLA) before sending pull requests. In addition, you will get the CLA link automatically generated for your first pull request.
For any code changes to be accepted, the CLA must be signed.
If you have more than one Git identity, you must make sure that you sign the CLA using the primary email address associated with the ID that has been granted access to the Angular repository. Git identities can be associated with more than one email address, and only one is primary.
Here are some links to help you sort out multiple Git identities and email addresses:
- https://help.github.com/articles/setting-your-commit-email-address-in-git/
- https://stackoverflow.com/questions/37245303/what-does-usera-committed-with-userb-13-days-ago-on-github-mean
- https://help.github.com/articles/about-commit-email-addresses/
- https://help.github.com/articles/blocking-command-line-pushes-that-expose-your-personal-email-address/
Note that if you have more than one Git identity, it is important to verify that you are logged in with the same ID with which you signed the CLA, before you commit changes. If not, your PR will fail the CLA check.