- Notifications
You must be signed in to change notification settings - Fork3
docs: Add readme with CONTRIBUTING.md guidelines#58
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
dbbda6ba501b36333ce2fa1bfdd8a85d3f9File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -1,64 +1,47 @@ | ||||||||
| #arduino-app-cli | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Suggested change
Use official product name. | ||||||||
| `arduino-app-cli` is a command line tool and a service running on Arduino UNO Q boards, that: | ||||||||
| - manages and runs Arduino Apps on the board (both Linux and microcontroller parts) | ||||||||
| - provides multiple APIs to perform actions and fetch data, used by the front-end (ArduinoAppsLab) | ||||||||
| - auto-updates itself and other components | ||||||||
| [](https://github.com/arduino/arduino-app-cli/actions/workflows/go-test.yml) | ||||||||
| ##Docs | ||||||||
| For guidance on installation and development, see the[User documentation]. | ||||||||
| ##Quickstart | ||||||||
| // TODO | ||||||||
| ##How to contribute | ||||||||
| Contributions are welcome! | ||||||||
| Please read the document[How to contribute] which will show you how to build the source code, run the tests, and | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Suggested change
See:
| ||||||||
| contribute your changes to the project. | ||||||||
| :sparkles: Thanks to all our[contributors]!:sparkles: | ||||||||
| ##Security | ||||||||
| If you think you found a vulnerability or other security-related bug in the Arduino CLI, please read our[security | ||||||||
| policy] and report the bug to our Security Team 🛡️ Thank you! | ||||||||
| e-mail contact:security@arduino.cc | ||||||||
| ##License | ||||||||
| Arduino CLI is licensed under the GPL-3.0 license. | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Suggested change
| ||||||||
| You can be released from the requirements of the above license by purchasing a commercial license. Buying such a license | ||||||||
| is mandatory if you want to modify or otherwise use the software for commercial activities involving the Arduino | ||||||||
| software without disclosing the source code of your own applications. To purchase a commercial license, send an email to | ||||||||
| license@arduino.cc | ||||||||
| [user documentation]:https://github.com/arduino/arduino-app-cli/docs/user-documentation.md | ||||||||
| [how to contribute]:https://arduino.github.io/arduino-app-cli/latest/CONTRIBUTING/ | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Suggested change
This accompanies my suggestion above. | ||||||||
| [security policy]:https://github.com/arduino/arduino-app-cli/security/policy | ||||||||
| [contributors]:https://github.com/arduino/arduino-cli/graphs/contributors | ||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| <!-- Source: https://github.com/arduino/tooling-project-assets/blob/main/documentation-templates/contributor-guide/general/CONTRIBUTING.md --> | ||
| # Contributor Guide | ||
| Thanks for your interest in contributing to this project! | ||
| There are several ways you can get involved: | ||
| | Type of contribution | Contribution method | | ||
| | ----------------------------------------- | ---------------------------------------------------------------- | | ||
| | - Support<br/>- Question<br/>- Discussion | Post on the [**Arduino Forum**][forum] | | ||
| | - Bug report<br/>- Feature request | Issue report (see the guide [**here**][issues]) | | ||
| | Testing | Beta testing, PR review (see the guide [**here**][beta-testing]) | | ||
| | - Bug fix<br/>- Enhancement | Pull request (see the guide [**here**][prs]) | | ||
| | Monetary | [Buy official products][store] | | ||
| [forum]: https://forum.arduino.cc | ||
| [issues]: contributor-guide/issues.md#issue-report-guide | ||
| [beta-testing]: contributor-guide/beta-testing.md#beta-testing-guide | ||
| [prs]: contributor-guide/pull-requests.md#pull-request-guide | ||
| [store]: https://store.arduino.cc | ||
| ## Resources | ||
| - [**Development Guide**](development.md#development-guide) |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,34 @@ | ||||||
| <!-- Source: https://github.com/arduino/tooling-project-assets/blob/main/documentation-templates/contributor-guide/other/development.md--> | ||||||
| #Development Guide | ||||||
| ##Prerequisites | ||||||
| The following development tools must be available in your local environment: | ||||||
| -[Go](https://go.dev/dl/) | ||||||
| -[Taskfile](https://taskfile.dev/) | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Suggested change
The tool's name is "Task" | ||||||
| -[ddb client]//https://developer.android.com/tools/adb)[optionally] | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Suggested change
Fix markup. | ||||||
| ##Building the Project | ||||||
| -`task init` | ||||||
| ##Uploading the arduino-app-cli into the board | ||||||
| Connect an[Arduino UNO Q](https://www.arduino.cc/product-uno-q) board to the PC via USB. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Suggested change
From experience with the way the Arduino website is maintained, the previous URL is likely to stop working at some point in the future. The documentation pages are the most stable link targets (they typically only break when the URL changes after the product is retired). | ||||||
| -`task board:install` it installs the current`arduino-app-cli` inside the board (`adb` is needed). The password of the`ardiuno` username of the board is requested. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Suggested change
| ||||||
| ##Running Checks | ||||||
| Checks and tests are set up to ensure the project content is functional and compliant with the established standards. | ||||||
| -`task fmt-check` | ||||||
| -`task test` | ||||||
| ##Automatic Corrections | ||||||
| Tools are provided to automatically bring the project into compliance with some of the required checks. | ||||||
| -`task lint` | ||||||
| -`task fmt` | ||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,33 @@ | ||||||
| <!-- Source: https://github.com/arduino/tooling-project-assets/blob/main/documentation-templates/contributor-guide/general/contributor-guide/issues.md--> | ||||||
| #Issue Report Guide | ||||||
| --- | ||||||
| ❗ Do you need help or have a question about using this project? Support requests should be made to the[Arduino Forum](https://forum.arduino.cc). | ||||||
| --- | ||||||
| High quality bug reports and feature requests are valuable contributions to this project. These can be made by submitting an issue report to the project's GitHub repository: | ||||||
| https://github.com/arduino/TODO_REPO_NAME/issues/new/choose | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Suggested change
| ||||||
| ##Before Reporting an Issue | ||||||
| - Give the latest development version a test drive to see if your issue was already resolved:<br /> | ||||||
| <!-- TODO: Nightly build link--> | ||||||
| - Search[existing pull requests and issues](https://github.com/arduino/TODO_REPO_NAME/issues?q=) to see if it was already reported.<br /> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Suggested change
| ||||||
| If you have additional information to provide about an existing issue, please comment there instead of creating a duplicate. You can use[GitHub's "Reactions" feature](https://github.blog/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) if you only want to express support 👍. | ||||||
| ##Qualities of an Excellent Report | ||||||
| - Concise and descriptive issue title.<br /> | ||||||
| Vague titles make it difficult to decipher the purpose of the issue when looking through the list of reports, which might result in your issue not being given proper attention. | ||||||
| - Describe the issue and what behavior you were expecting.<br /> | ||||||
| Include the full and exact text of any relevant error or warning messages you might have encountered. | ||||||
| - Provide a full set of steps necessary to reproduce the issue.<br /> | ||||||
| Demonstration code or commands should be complete and simplified to the minimum necessary to reproduce the issue. | ||||||
| - Be responsive.<br /> | ||||||
| We may need you to provide additional information in order to investigate and resolve the issue.<br /> | ||||||
| Make sure your GitHub account is configured so that you will receive notifications of responses to your issue report. | ||||||
| - If you find a solution to your problem, please comment on your issue report with an explanation of how you were able to fix it, then close the issue. | ||||||
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.