Skip to content

Latest commit

 

History

History
147 lines (102 loc) · 6.29 KB

CONTRIBUTING.md

File metadata and controls

147 lines (102 loc) · 6.29 KB

Contributing to Alfresco Content Application (ACA)

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

Help us keep Alfresco Content Application open and inclusive. Please read and follow our Code of Conduct.

Got a Question or Problem?

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

Found a Bug?

If you find a bug in the source code, you can help us by:

Even better, submit a Pull Request with a fix.

Missing a Feature?

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.

Submission Guidelines

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.

Submitting a Pull Request (PR)

Before you submit your Pull Request (PR) consider the following guidelines:

  1. Search GitHub for an open or closed PR that relates to your submission. You don't want to duplicate effort.

  2. 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.

  3. Fork the ACA repository.

  4. Make your changes in a new git branch based on development:

    git checkout -b my-fix-branch development
  5. Create your patch, including appropriate test cases.

  6. Follow our Coding Rules.

  7. Run the full ACA test suite and ensure that all tests pass.

  8. Commit your changes using a descriptive commit message.

  9. Push your branch to GitHub:

    git push origin my-fix-branch
  10. 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!

Coding Rules

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.

Signing the CLA

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:

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.