We would love for you to contribute to our mobile SDKs and help make it even better than it is today! As a contributor, here are the guidelines we would like you to follow:
This specification is inspired by and supersedes the [AngularJS commit message format][commit-message-format].
We have very precise rules over how our Git commit messages must be formatted. This format leads to easier to read commit history.
Each commit message consists of a header, a body, and a footer.
<header>
<BLANK LINE>
<body>
<BLANK LINE>
<footer>
The header
is mandatory and must conform to the Commit Message Header format.
The body
is mandatory for all commits except for those of type "docs".
When the body is present it must be at least 20 characters long and must conform to the Commit Message Body format.
The footer
is optional. The Commit Message Footer format describes what the footer is used for and the structure it must have.
<type>(<scope>): <short summary>
│ │ │
│ │ └─⫸ Summary in present tense. Not capitalized. No period at the end.
│ │
│ └─⫸ Commit Scope: android|android-core
│
└─⫸ Commit Type: build|ci|docs|feat|fix|perf|refactor|chore|test
The <type>
and <summary>
fields are mandatory, the (<scope>)
field is optional.
Must be one of the following:
- build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
- ci: Changes to our CI configuration files and scripts (examples: CircleCi, SauceLabs)
- docs: Documentation only changes
- feat: A new feature
- fix: A bug fix
- perf: A code change that improves performance
- refactor: A code change that neither fixes a bug nor adds a feature
- chore: Housekeeping tasks that doesn't require to be highlighted in the changelog
- test: Adding missing tests or correcting existing tests
The scope should be the name of the npm package affected (as perceived by the person reading the changelog generated from commit messages).
The following is the list of supported scopes:
asgardeo-android
- Changes to themain
package.asgardeo-android-core
- Changes to thecore
package.asgardeo-android-core-auth-direct
- Changes to thecore-auth-direct
package.
After merging a PR, the release process will be handled by the maintainers. The release process will be as follows:
The release process for the Asgardeo Android SDK will be as follows:
- The maintainers will go through the PRs merged since the last release to identify the changes.
- The maintainers will go to the following GitHub Actions workflow: Release.
- The maintainers will trigger the workflow by clicking on the
Run workflow
button and selectandroid
as the workflow to run. - The maintainers will provide which version to bump based on the changes identified.
- The changes will be published to the Maven Central repository. This will take upto 24 hours to reflect the changes in the Maven Central repository.
The release process for the documentation will be as follows:
- The maintainers will go through the PRs merged since the last release to identify the changes.
- The maintainers will go to the following GitHub Actions workflow: Deploy Documentation.
- The maintainers will trigger the workflow by clicking on the
Run workflow
button. - The changes will be published to the GitHub Pages.