Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

piotruela
Copy link
Collaborator

Closes #2409 and #1964

Copy link

docs-page bot commented Nov 13, 2024

To view this pull requests documentation preview, visit the following URL:

docs.page/leancodepl/patrol~2413

Documentation is deployed and generated using docs.page.

Comment on lines +73 to +79
## 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.
Copy link
Collaborator

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.
Copy link
Collaborator

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}`.
Copy link
Collaborator

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:

Suggested change
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>`.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Describe how to contribute to patrol
2 participants