|
1 | 1 | # Contributing |
2 | 2 |
|
| 3 | +- [Contributing](#contributing) |
| 4 | + * [Requesting a new data source](#requesting-a-new-data-source) |
| 5 | + + [Requirements](#requirements) |
| 6 | + * [Developing on the RobloxAPI extension](#developing-on-the-robloxapi-extension) |
| 7 | + + [Installing dependencies](#installing-dependencies) |
| 8 | + + [Running tests](#running-tests) |
| 9 | + - [PHP unit tests](#php-unit-tests) |
| 10 | + - [Parser tests](#parser-tests) |
| 11 | + - [JavaScript tests](#javascript-tests) |
| 12 | + + [Code Style](#code-style) |
| 13 | + * [Releasing a new version](#releasing-a-new-version) |
| 14 | + |
| 15 | +## Requesting a new data source |
| 16 | + |
| 17 | +If you would like to request a new data source, please open an issue on the GitHub repository. Please use the |
| 18 | +*Roblox API endpoint request* template. |
| 19 | + |
| 20 | +### Requirements |
| 21 | + |
| 22 | +A data source must fulfill the following requirements: |
| 23 | + |
| 24 | +* It must be accessible without authentication |
| 25 | +* It must be an official endpoint provided by Roblox |
| 26 | +* It must not require multiple requests to be made (if this is required, consider requesting two separate data sources) |
| 27 | + |
3 | 28 | ## Developing on the RobloxAPI extension |
4 | 29 |
|
5 | 30 | ### Installing dependencies |
@@ -38,3 +63,15 @@ Running `npm test`will run automated code checks. |
38 | 63 | The PHP part of this project follows |
39 | 64 | the [MediaWiki coding conventions](https://www.mediawiki.org/wiki/Manual:Coding_conventions/PHP). The code formatting is |
40 | 65 | enforced by the CI pipeline which runs phan before a PR can be merged. |
| 66 | + |
| 67 | +## Releasing a new version |
| 68 | + |
| 69 | +This guide is only for maintainers of the extension. |
| 70 | + |
| 71 | +1. Update the version number in `extension.json` |
| 72 | +2. Update the documentation if there were any relevant changes |
| 73 | +3. Merge development into master |
| 74 | +4. Create a new release on GitHub |
| 75 | +5. Close milestone (if applicable) |
| 76 | +6. Create a branch from master with the version number as the branch name, e.g. `ver/1.1.0` |
| 77 | +7. Update the documentation on mediawiki.org if there were any relevant changes |
0 commit comments