Hacktoberfest® is a yearly event organised by Digital Ocean and partners. It is open to everyone, whether you’re a seasoned developer with a couple of years under your belt or someone just starting out for the first time.
- What are HacktoberFest Rules?
- Why should I join in?
- How to contribute to open source projects?
What are HacktoberFest Rules?
HacktoberFest is a massive event and it brings us all to question the values it brings. For some of us, it’s a great opportunity to practice version control, meet new people, contribute when you normally wouldn’t and above all have fun while making things. While, for some others it creates headaches due to the number of spam and invalid pull requests. That said, let’s review our ‘can do’ and ‘cannot do’ behaviours, rules.
- You must register and make four valid pull requests (PRs) between October 1-31 (in any time zone).
- Pull Requests can be made to participating public repos on GitHub, those that have the Hacktoberfest topic.
- Your Pull Requests cannot be counted in if repository maintainer has marked them as ‘invalid‘, as ‘spam‘, or any other way not in line with the project’s code of conduct or behaviours.
Now we’ve seen the rules we can discuss what is generally frowned upon before you get your PR marked as invalid.
- Do upload meaningful changes. Anything that you’ve created or added has to bring some value. PRs adding your name to a HTML or JSON file aren’t considered valid or quality contributions. The same goes for fixing simple typos in README.md files.
- Avoid creating branch conflicts and getting your PR closed. Don’t forget to pull from main (master) before sending out your commits.
- Avoid loading libraries and frameworks if not previously discussed with maintainers. Use whatever maintainer has made available.
- Avoid overriding. Use already existing classes or functions but make sure you’re not overriding anything or conflicting with someone else’s contributions.
Why should I join in?
It’s really fun! There is loads of repositories ready for you, fun ones where you add a duck or a pokemon to a card deck. Some complicated ones where you’ll be tasked to solve a problem rather than add something in, and of course, actual open-source projects which have been, and most likely will continue being available after HacktoberFest.
Here are some front end repositories I found fun:
- Duck Gallery
- Poke Dex
- Personalised Cards – Likii’s Front End Challenge:
How to contribute to open source projects?
This one is easy, so let’s make it into steps. Before we do that, let’s make sure you have either GitHub Desktop installed or an access to a terminal.
1. Find a repository you’d like to contribute to.
2. Read configuration and readme files
3. Fork the repository.
This will make a copy of the wanted repo on your GitHub profile.
4. Clone the repository.
5. Make a new branch and start working on your changes.
6. Commit your changes to your branch.
7. Create a pull request and wait for your changes to be reviewed/approved.
Once your changes have either been approved, marked as hacktoberfest-accepted or merged, that pull request will be valid contribution to your HacktoberFest goals 😀
Let me know if you know any other, HacktoberFest themed, front end repositories down in the comments or hop on to my IG and say hello 💛