diff options
author | Minteck <contact@minteck.org> | 2022-08-10 10:38:44 +0200 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-08-10 10:38:44 +0200 |
commit | c6dbf0450566c40efc4a26f4f0717452b6ef95cd (patch) | |
tree | b4be2d508223820d0a77d5a3e35e82684da3b6ec /node_modules/ua-parser/CONTRIBUTING.md | |
download | hornchat-c6dbf0450566c40efc4a26f4f0717452b6ef95cd.tar.gz hornchat-c6dbf0450566c40efc4a26f4f0717452b6ef95cd.tar.bz2 hornchat-c6dbf0450566c40efc4a26f4f0717452b6ef95cd.zip |
Diffstat (limited to 'node_modules/ua-parser/CONTRIBUTING.md')
-rw-r--r-- | node_modules/ua-parser/CONTRIBUTING.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/node_modules/ua-parser/CONTRIBUTING.md b/node_modules/ua-parser/CONTRIBUTING.md new file mode 100644 index 0000000..468086c --- /dev/null +++ b/node_modules/ua-parser/CONTRIBUTING.md @@ -0,0 +1,18 @@ +Contributing Changes to regexes.yaml +------------------------------------ + +Contributing to the project, especially `regexes.yaml`, is both welcomed and encouraged. To do so just do the following: + +1. Fork the project +2. Create a branch for your changes +3. Modify `regexes.yaml` as appropriate +4. Add tests to the following files and follow their format: + * `test_resources/test_device.yaml` + * `test_resources/test_user_agent_parser.yaml` + * `test_resources/test_user_agent_parser_os.yaml` +5. Push your branch to GitHub and submit a pull request +6. Monitor the pull request to make sure the Travis build succeeds. If it fails simply make the necessary changes to your branch and push it. Travis will re-test the changes. + +That's it. If you don't feel comfortable forking the project or modifying the YAML you can also [submit an issue](https://github.com/tobie/ua-parser/issues) that includes the appropriate user agent string and the expected results of parsing. + +Thanks!
\ No newline at end of file |