Debian Codegraph @

intents/docs/forking/README.md

raw
1 # Forking Workflow
2
3 1. [Fork the repository](https://github.com/OHF-Voice/intents/fork) on GitHub.
4 2. Clone your fork locally with `git clone <url>`
5 3. Set up a local development environment with `script/setup`
6 4. Create a new branch off of `main` with `git checkout -b <branch>`
7 5. If your [language code](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) does not exist yet, run `python3 -m script.intentfest add_language <language_code> <language name>`
8 6. Modify the files for your language in:
9 * `sentences/<language>`
10 * `tests/<language>`
11 * `responses/<language>`
12 7. Run `script/lint` and `script/test` to ensure everything is working.
13 * Make sure you have at least one test sentence for every intent sentence template.
14 8. Commit and push your changes with `git commit` and `git push`
15 9. Submit a pull request (PR) with your suggested changes on GitHub.