Pull requests (PRs) on GitHub are welcome under the Apache 2.0 license, see COPYING.
To submit a PR, do the following:
- Create your own fork of the freeotp-ios project.
- Make a feature branch with your changes following the feature branch workflow
- Commit and push your changes to the branch in your fork, adhering to the commit message format.
- Unless you have a large or complex PR, squash your changes into a single commit.
- If your changes include updates to the user interface, attach screenshots of your new or updated screens as comments in the PR.
Commits messages should adhere to the following structure:
<title>
<BLANK LINE>
<body - optional>
<BLANK LINE>
<footer - optional>
title
- a title for your commit. This should be less than 50 characters in length.body
- the body with details of your change. Each line should be less than 100 characters in length.footer
- one or more of the following may be placed in the footer:- If your change fixes an existing GitHub issue, reference it with
Fixes #<issue-number>
Mark each issue fixed on a separate line. - If your organization requires sign-offs, add your sign off line at the bottom of the footer.
Ex:
Signed off by Jane Smith<[email protected]>
- If your change fixes an existing GitHub issue, reference it with
A full example:
Add Settings Screen
- Create new settings screen to manage user preferences
- Migrate existing configurations to user preferences
Fixes #23
Signed off by Jane Smith<[email protected]>
If your PR creates or updates a screen, attach screen shots of your updates as a comment to the pull request. Changes to existing screens should annotate the screen shot to highlight changed elements.