Skip to content

Commit

Permalink
initial project setup
Browse files Browse the repository at this point in the history
  • Loading branch information
commenthol committed Nov 29, 2014
1 parent 4a1406d commit 830e691
Show file tree
Hide file tree
Showing 15 changed files with 114 additions and 11,472 deletions.
2 changes: 0 additions & 2 deletions .gitattributes

This file was deleted.

14 changes: 2 additions & 12 deletions .gitignore
@@ -1,12 +1,2 @@
node_modules/
.DS*
TAGS
dist
cabal-dev
*.pyc
build/
regexes.json
py/ua_parser.egg-info/
py/ua_parser/regexes.yaml
py/ua_parser/regexes.json
/vendor/
.DS_Store
node_modules/
15 changes: 0 additions & 15 deletions .npmignore

This file was deleted.

10 changes: 0 additions & 10 deletions .travis.yml
Expand Up @@ -2,15 +2,5 @@ language: node_js
node_js:
- 0.8

before_install:
- sudo apt-get update
- sudo apt-get install python-yaml
- cp regexes.yaml py/ua_parser/regexes.yaml
- sudo apt-get install php5-cli
- wget https://getcomposer.org/composer.phar && php composer.phar install
- php php/bin/uaparser.php ua-parser:convert

script:
- "npm test"
- "python py/ua_parser/user_agent_parser_test.py"
- "cd php && ../vendor/bin/phpunit --exclude-group performance"
10 changes: 5 additions & 5 deletions CONTRIBUTING.md
Expand Up @@ -6,13 +6,13 @@ Contributing to the project, especially `regexes.yaml`, is both welcomed and enc
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`
4. Add relevant tests to the following files and follow their format:
* `tests/test_device.yaml`
* `tests/test_os.yaml`
* `tests/test_ua.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.
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/ua-parser/uap-core/issues) that includes the appropriate user agent string and the expected results of parsing.

Thanks!
16 changes: 16 additions & 0 deletions LICENSE
@@ -0,0 +1,16 @@
Apache License, Version 2.0
===========================

Copyright 2009 Google Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
17 changes: 0 additions & 17 deletions LICENSE.txt

This file was deleted.

0 comments on commit 830e691

Please sign in to comment.