-
Notifications
You must be signed in to change notification settings - Fork 4
docs: refactor readme + 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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
dido18
wants to merge
32
commits into
main
Choose a base branch
from
add-readme-contributing
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+762
−65
Open
Changes from 30 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
dbbda6b
docs: update README and add user documentation
dido18 a501b36
docs: enhance contribution guidelines in README
dido18 333ce2f
docs: tidy up README and user documentation formatting
dido18 a1bfdd8
docs: enhance contributor guide with detailed contribution methods an…
dido18 a85d3f9
docs: update development guide with additional instructions and resou…
dido18 f4117d8
Update docs/contributor-guide/development.md
dido18 3a65f23
Update docs/contributor-guide/development.md
dido18 86c2ba0
Update docs/contributor-guide/development.md
dido18 3ec35e9
Update docs/contributor-guide/development.md
dido18 608e486
Update docs/contributor-guide/issues.md
dido18 f36b0b6
Update docs/contributor-guide/issues.md
dido18 5e7502a
Update docs/user-documentation.md
dido18 2894d79
Update README.md
dido18 a7c6c8f
Update README.md
dido18 bc7ef20
Update README.md
dido18 506dc89
Update README.md
dido18 506c000
docs: clarify terminology in Docker images registry section of user d…
dido18 2d4f461
docs: simplify description of arduino-app-cli in README.md
dido18 901f8de
docs: update contributor guide for clarity and accuracy
dido18 4b5e754
docs: update development guide and issue report instructions for clarity
dido18 511aba4
docs: restructure environment variables section for clarity and organ…
dido18 e2c472a
docs: improve clarity and consistency in user documentation
dido18 1643009
docs: add bug report and feature request issue templates for better u…
dido18 50c3cf7
docs: improve formatting and clarity in environment variables section
dido18 838c8a7
docs: update contribution methods for testing section in CONTRIBUTING.md
dido18 10898fd
docs: fix formatting in contribution methods table for consistency
dido18 b496ffa
chore: update cli messages (#61)
dido18 d16133c
Add Serial Number to Avahi Service for Board Deduplication (#48)
mirkoCrobu e7ac2da
Improve the arduino-app-cli version command by adding the "server ver…
martacarbone 1de2d4c
docs: clarify description of temporary files in user documentation
dido18 7b26ce3
fix: correct contributors link in README.md
dido18 2d62074
feat: enhance issue templates by adding additional context field and …
dido18 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 hidden or 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,49 @@ | ||
| # Source: https://github.com/arduino/tooling-project-assets/blob/main/issue-templates/forms/platform-dependent/bug-report.yml | ||
| # See: https://docs.github.com/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms | ||
|
|
||
| name: Bug report | ||
| description: Report a problem with the code or documentation in this repository. | ||
| labels: | ||
| - "type: imperfection" | ||
| body: | ||
| - type: textarea | ||
| id: description | ||
| attributes: | ||
| label: Describe the problem | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| id: reproduce | ||
| attributes: | ||
| label: To reproduce | ||
| description: Provide the specific set of steps we can follow to reproduce the problem. | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| id: expected | ||
| attributes: | ||
| label: Expected behavior | ||
| description: What would you expect to happen after following those instructions? | ||
| validations: | ||
| required: true | ||
| - type: input | ||
| id: project-version | ||
| attributes: | ||
| label: Arduino App CLI version | ||
| description: | | ||
| Which version of Arduino App CLI are you using? (output of `arduino-app-cli version`) | ||
| _This should be the most recent version available._ | ||
| validations: | ||
| required: true | ||
| - type: checkboxes | ||
| id: checklist | ||
| attributes: | ||
| label: Issue checklist | ||
| description: Please double-check that you have done each of the following things before submitting the issue. | ||
| options: | ||
| - label: I searched for previous reports in [the issue tracker](https://github.com/arduino/arduino-app-cli/issues?q=) | ||
| required: true | ||
| - label: I verified the problem still occurs when using the latest version | ||
| required: true | ||
| - label: My report contains all necessary details | ||
| required: true |
This file contains hidden or 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,44 @@ | ||
| # Source: https://github.com/arduino/tooling-project-assets/blob/main/issue-templates/forms/platform-dependent/bug-report.yml | ||
| # See: https://docs.github.com/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms | ||
|
|
||
| name: Feature request | ||
| description: Suggest an enhancement to this project. | ||
| labels: | ||
| - "type: enhancement" | ||
| body: | ||
| - type: textarea | ||
| id: description | ||
| attributes: | ||
| label: Describe the request | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| id: current | ||
| attributes: | ||
| label: Describe the current behavior | ||
| description: | | ||
| What is the current behavior of Arduino App CLI in relation to your request? (output of `arduino-app-cli version`) | ||
| How can we reproduce that behavior? | ||
| validations: | ||
| required: true | ||
| - type: input | ||
| id: project-version | ||
| attributes: | ||
| label: Arduino App CLI version | ||
| description: | | ||
| Which version of Arduino App CLI are you using? (output of `arduino-app-cli version`) | ||
| _This should be the most recent version available._ | ||
| validations: | ||
| required: true | ||
| - type: checkboxes | ||
| id: checklist | ||
| attributes: | ||
| label: Issue checklist | ||
| description: Please double-check that you have done each of the following things before submitting the issue. | ||
| options: | ||
| - label: I searched for previous requests in [the issue tracker](https://github.com/arduino/arduino-app-cli/issues?q=) | ||
| required: true | ||
| - label: I verified the feature was still missing when using the latest version | ||
| required: true | ||
| - label: My request contains all necessary details | ||
| required: true |
This file contains hidden or 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 |
|---|---|---|
| @@ -1,64 +1,43 @@ | ||
| # Arduino App CLI | ||
|
|
||
| `arduino-app-cli` is a command line tool and a service running on Arduino UNO Q boards, that: | ||
| `arduino-app-cli` is a command line tool running on the [Arduino UNO Q](https://docs.arduino.cc/hardware/uno-q/) boards, that manages and runs Arduino Apps (both Linux and microcontroller parts), provides a HTTP daemon mode to expose RestFul APIs, and auto-updates itself and other components. | ||
|
|
||
| - 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) | ||
|
|
||
| ## Environment Variables | ||
| ## Docs | ||
|
|
||
| The following environment variables are used to configure `arduino-app-cli`: | ||
| For guidance on installation and development, see the [User documentation]. | ||
|
|
||
| ### Application Directories | ||
| ## Quickstart | ||
|
|
||
| - **`ARDUINO_APP_CLI__APPS_DIR`** Path to the directory where Arduino Apps created by the user are stored.\ | ||
| **Default:** `/home/arduino/ArduinoApps` | ||
| // TODO | ||
|
|
||
| - **`ARDUINO_APP_CLI__DATA_DIR`** Path to the directory where internal data is stored.\ | ||
| **Default:** `/home/arduino/.local/share/arduino-app-cli`\ | ||
| This folder contains: | ||
| - **`examples/`** default example Apps (_e.g._ `/home/arduino/.local/share/arduino-app-cli/examples`) | ||
| - **`assets/`** contains a subfolder for each asset version (_e.g._ `/home/arduino/.local/share/arduino-app-cli/assets/0.4.5`) | ||
| - Each asset folder includes: | ||
| - `bricks-list.yaml` | ||
| - `models-list.yaml` | ||
| - **other data** such as `properties.msgpack` containing variable values | ||
| ## How to contribute | ||
|
|
||
| - **`ARDUINO_APP_BRICKS__CUSTOM_MODEL_DIR`** Path to the directory where custom models are stored.\ | ||
| **Default:** `$HOME/.arduino-bricks/ei-models`\ | ||
| (_e.g._ `/home/arduino/.arduino-bricks/ei-models`) | ||
| Contributions are welcome! | ||
|
|
||
| --- | ||
| Please read the [Contributor Guide] document, which will show you how to build the source code, run the tests, and | ||
| contribute your changes to the project. | ||
|
|
||
| ### Execution Settings | ||
| :sparkles: Thanks to all our [contributors]! :sparkles: | ||
|
|
||
| - **`ARDUINO_APP_CLI__ALLOW_ROOT`** Allow running `arduino-app-cli` as root.\ | ||
| **Default:** `false` **Not recommended to set to true.** | ||
| ## 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! | ||
|
|
||
| ### External Services | ||
| e-mail contact: security@arduino.cc | ||
|
|
||
| - **`LIBRARIES_API_URL`** URL of the external service used to search libraries.\ | ||
| **Default:** `https://api2.arduino.cc/libraries/v1/libraries` | ||
| ## License | ||
|
|
||
| --- | ||
| Arduino App CLI is licensed under the GPL-3.0 license. | ||
|
|
||
| ### Docker Settings | ||
| 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 | ||
|
|
||
| - **`DOCKER_REGISTRY_BASE`** Docker registry used to pull images.\ | ||
| **Default:** `ghcr.io/arduino/` | ||
|
|
||
| - **`DOCKER_PYTHON_BASE_IMAGE`** Tag of the Docker image for the Python runner.\ | ||
| **Default:** `app-bricks/python-apps-base:<RUNNER_VERSION>` | ||
|
|
||
| ### App folder and persistent data | ||
|
|
||
| When running an app, persistent files will be saved in the `data` folder inside the app folder; other supporting files, including the Python venv are saved in the `.cache` folder inside the app folder. | ||
|
|
||
| ### Docker images registry | ||
|
|
||
| Arduino Apps bricks might required a docker image, in that case the orchestrator will pull those from the registry configured with the `DOCKER_REGISTRY_BASE` environment variable. By default this points to an Arduino GitHub Container Registry (ghcr.io/arduino). | ||
|
|
||
| The only image that needs to be referenced directly is the base Python image (`DOCKER_PYTHON_BASE_IMAGE`), all other containers can be downloaded automatically by the orchestrator depending on the bricks specified as dependencies in the app.yml file. | ||
| [user documentation]: https://github.com/arduino/arduino-app-cli/docs/user-documentation.md | ||
| [contributor guide]: https://arduino.github.io/arduino-app-cli/latest/CONTRIBUTING/ | ||
| [security policy]: https://github.com/arduino/arduino-app-cli/security/policy | ||
| [contributors]: https://github.com/arduino/arduino-cli/graphs/contributors | ||
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.