-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move contribution steps to its own file #98
Merged
yunusemrebakir
merged 1 commit into
woltapp:main
from
yunusemrebakir:add-contributing-file
Nov 14, 2023
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Contributing to WoltModalSheet | ||
|
||
To get started with contributing, please follow the steps below: | ||
|
||
1. [Fork the wolt_modal_sheet repo](https://github.com/woltapp/wolt_modal_sheet/fork) on GitHub. | ||
2. Clone your forked repo locally. | ||
3. Ensure you have [Melos](https://pub.dev/packages/melos/install) installed. | ||
```bash | ||
dart pub global activate melos | ||
``` | ||
4. Use Melos to bootstrap the project. | ||
```bash | ||
melos bootstrap | ||
``` | ||
5. Create a new branch from the `main` branch. | ||
6. Make your changes. | ||
7. Create a pull request. | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to add a note here:
Before creating a pull request, run the Dart format and Flutter analyze for a merge check using Melos, ensuring compatibility with the minimum supported Flutter version, which is 3.7.2.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought about it. I think, it is better to include it in the pull request template. So that they will need to click check mark to verify that melos analyze doesn't produce any errors, etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So in contributing.md; we introduce how the contribution works, and handle the details in the respective area, in this case in the PR.
I liked how it is handled in flutterfire, for example.