Skip to content

Latest commit

 

History

History
76 lines (50 loc) · 3.16 KB

CONTRIBUTING.md

File metadata and controls

76 lines (50 loc) · 3.16 KB

Contributing to hardened-chromium

First off, thanks for taking the time to contribute! ❤️

If you like the project, but just don't have time to contribute, that's fine. There are other easy ways to support the project and show your appreciation, which we would also be very happy about:

  • Star the project
  • Tweet about it
  • Refer this project in your project's readme
  • Mention the project at local meetups and tell your friends/colleagues

Table of Contents

Code of Conduct

This project and everyone participating in it is governed by the Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to [email protected].

I Have a Question

If you want to ask a question, we assume that you have read the available Documentation.

Before you ask a question, it is best to search for existing Issues that might help you. In case you have found a suitable issue and still need clarification, you can write your question in this issue. It is also advisable to search the internet for answers first.

If you then still feel the need to ask a question and need clarification, we recommend the following:

  • Open an Issue.
  • Provide as much context as you can about what you're running into.
  • Provide project and platform versions (nodejs, npm, etc), depending on what seems relevant.

We will then take care of the issue as soon as possible.

I Want To Contribute

Legal Notice

When contributing to this project, you must agree that you have authored 100% of the content, that you have the necessary rights to the content and that the content you contribute may be provided under the project license.

Building locally

Setup

Download and run copr_script.sh:

wget https://raw.githubusercontent.com/secureblue/hardened-chromium/master/copr_script.sh ./copr_script.sh

Build RPM

Build the patched chromium source from the spec file:

rpmbuild -bs -v --define "_sourcedir $PWD" --define "_rpmdir $PWD" --define "_builddir $PWD" --define "_specdir $PWD" --define "_srcrpmdir $PWD" chromium.spec

Rebuild the source for your system:

mock --resultdir=dist -r %{distro}-%{version}-%{arch} --rebuild hardened-chromium-%{version}.%{distro}.src.rpm

Install the built rpm...

Pull Requests

Before Submitting a Pull Request

A good pull request should be ready for review before it is even created. For all pull requests, ensure:

  • Your changes are in a single commit
  • Your changes passes all the checks
  • Your commit is signed
  • You have no unnecessary changes, including whitespace changes
  • For substantive changes, you include evidence of proper functionality in the pull request in addition to the build results.