mcfly/CONTRIBUTING.md

2.4 KiB
Raw Permalink Blame History

Contributing to McFly

Hi, and thanks for your interest to contribute to McFly! 🎉

This guide is the best place to start if you want to contribute to the project. You can do so by any of the following:

  1. Report issues or request features
  2. Participate in discussions
  3. Contribute code
  4. Get in touch

Report issues or request features

To open issues or request features, see our issue tracker. You can also send them via email to ~ayoayco/mcfly@todo.sr.ht.

Participate in discussions

To start or participate on discussions, see our mcfly-discussions mailing list.

Contribute Code

We use git and email here -- it is actually fun!

To get started, setup git send-email.

After setting up git send-email you can now follow the steps below to start hacking:

1 Clone the repository to your local machine, then go into the project directory:

$ git clone https://git.sr.ht/~ayoayco/mcfly
$ cd mcfly

2 Create a new branch for your changes:

$ git checkout -b my-branch

3 Make your changes, and then commit them with a descriptive message using conventional commits:

$ git commit -m "feat(core): implement server-side rendering"

4 Use git send-email to send a patch:

$ git send-email --to="~ayoayco/mcfly-patches@lists.sr.ht" HEAD^

Tips:

💡 You can set the default "to" address for the project:

$ git config sendemail.to "~ayoayco/mcfly-patches@lists.sr.ht"

💡 The HEAD^ bit is a reference to the latest commit, which will be added to your patch. This could be a range of commits as well if you have mutiple commits.

5 After successfully sending your patch, wait for a response from us whether the patch needs rework... or a notification if it gets merged!

As a summary, we use git and email to collaborate on McFly. You have to set up git send-email and send patches via email. :)

Get in touch

If something needs clarification, or even if you just want to chat about the project, don't hesitate to reach out to me via email ayo@ayco.io. Thanks! :)