-
Notifications
You must be signed in to change notification settings - Fork 141
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
Add more information to CONTRIBUTING.MD #2413
base: master
Are you sure you want to change the base?
Conversation
To view this pull requests documentation preview, visit the following URL: docs.page/leancodepl/patrol~2413 Documentation is deployed and generated using docs.page. |
## Opening a PR | ||
|
||
Before opening a PR with your changes, make sure you have updated the changelog for the package you modified. | ||
|
||
Use `## Unreleased` title if you're not sure what should be next version number. | ||
|
||
Be aware that `test android emulator` and `test android emulator webview` workflows will fails due to insufficient permission of a contributor. Those will have to be re-run by someone with the write access in the repository. |
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 would put this at the beginning of the file, as it applies to every PR.
You can also add information in the description that mentions issues that have been fixed by this PR. If that problem doesn't exist, it's good practice to create one, or at least describe exactly what the problem was.
|
||
If you want to work with a local version of patrol_cli, you can pick one of two approaches: | ||
|
||
Activate patrol_cli locally by typing `dart pub global activate --source path {path to packages/patrol_cli}`. After that you can use `patrol` command exactly the same as any other pub package. |
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 think that instead of {} you should use []. It has been used like that eg. in patrol --help
Usage: patrol <command> [arguments]
|
||
OR | ||
|
||
Use `dart run {path to packages/patrol_cli} {command you want to test}`. |
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.
Same here, I think this should be:
Use `dart run {path to packages/patrol_cli} {command you want to test}`. | |
Use `dart run [path to packages/patrol_cli] <command you want to test>`. |
Closes #2409 and #1964