Skip to content

Latest commit

 

History

History
60 lines (48 loc) · 2.89 KB

CONTRIBUTING.md

File metadata and controls

60 lines (48 loc) · 2.89 KB

I welcome bug reports, feedbacks and ebuild feature requests; you can use the GitLab issue tracker or e-mail (PGP) to provide them.

Code contributions and bug fixes are welcome too, and I encourage the use of merge requests to discuss and review your ebuild code changes. Before proposing a large change, please discuss it by raising an issue.

Before You Begin

This overlay assumes that you have read and properly understood the Gentoo Developer Manual.

Making and Submitting Changes

To make the process of merge requests submission as seamless as possible, I ask for the following:

  1. Go ahead and fork this project.

  2. Create your feature branch from the develop branch: git checkout -b my-new-feature develop

  3. When your code changes are ready, make sure to run repoman manifest and repoman full in the package directory to ensure that all the Gentoo's QA tests pass. This is necessary to assure that nothing was accidentally broken by your changes; for the purpose this project integrates GitLab's CI for repoman and shellcheck tests.

  4. Make sure your git commit messages are in the proper format to make reading history easier. Commit your message with repoman commit, which should look like:

    category/package-name: short description
    
    Long description
    

    If you have questions about how to write the short/long descriptions, please read these blog articles: How to Write a Commit Message, 5 Useful Tips For A Better Commit Message. Both of them are excellent resources for learning how to write a well-crafted git commit message. If your commit references one or more GitLab issues, or other merge requests, please see: Crosslinking Issues

  5. GPG signing your changes is a good idea, but not mandatory.

  6. Push your changes in your fork git push origin my-new-feature, and then submit a merge request against the develop branch.

    Note: If you get in trouble with shellcheck's tests, please see their checks guide.

  7. Squash your commits into a single one with git rebase -i. It's okay to force update your merge request.

  8. Comment in the merge request when you are ready for the changes to be reviewed: MR ready for review.

At this point you are waiting for my feedback. I look at merge requests within few hours. Bear in mind that I may suggest some improvements or alternatives.