Skip to content

Latest commit

 

History

History
57 lines (45 loc) · 2.71 KB

CONTRIBUTING.md

File metadata and controls

57 lines (45 loc) · 2.71 KB

Contribution Guidelines

This document contains the rules and guidelines that developers are expected to follow, while contributing to this repository.

  • All contributions must NOT add any SwiftLint warnings or errors. There is a GitHub action setup for any PRs to dev, and Xcode will show any warnings/errors.

About the Project

This app was created for Hacktoberfest, to help beginners in iOS dev contribute to open source. It is an app to help keep track of your car maintenance activites. This project uses Firebase and Firestore.

Project Status

This is a deployed app on the Apple App Store, available for iOS 17.0 or later. After Hacktoberfest, a new version will be created and pushed to the App Store by Mikaela Caron (the maintainer).

Getting Started

Prerequisites

  • Download Xcode 15.0 or later, and macOS 14.0 or later.
  • Install SwiftLint onto your machine via Homebrew
    • This is not a requirement, but is preferred.
brew install swiftlint

Start Here

  • Fork the repo to your profile
  • Clone to your computer
  • Setup the upstream remote
git remote add upstream https://github.com/mikaelacaron/Basic-Car-Maintenance.git
  • BEFORE starting on an issue, comment on the issue you want to work on.

    • This prevents two people from working on the same issue. Mikaela (the maintainer) will assign you that issue, and you can get started on it.
  • Checkout a new branch (from the dev branch) to work on an issue

    • The feature-name part of the branch can be shortened or omitted and you add your username instead
git checkout -b issueNumber-feature-name
  • When your feature/fix is complete open a pull request, PR, from your feature branch to the dev branch
    • Use a descriptive PR title

Branches and PRs

  • No commits should be made to the main branch directly. The main branch shall only consist of the deployed code
  • Developers are expected to work on feature branches, and upon successful development and testing, a PR (pull request) must be opened to merge with dev
  • Use kebab-case for branch names ✅ Examples of valid branch names:
    • 8123-fix-title-of-issue (issue number)
    • 8123-feature-name (issue number)

Examples of invalid branch names:

  • username-testing
  • attemptToFixAuth
  • SomethingRandom

Coding Style Guidelines

Developers should aim to write clean, maintainable, scalable and testable code. The following guidelines might come in handy for this: