forked from py-glpi/py-glpi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
144 additions
and
155 deletions.
There are no files selected for viewing
This file contains 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,63 @@ | ||
# Questions | ||
|
||
If you are having difficulties using the APIs or have a question about the GLPI-SDK-PYTHON, please ask a question. | ||
|
||
# Issues | ||
|
||
If you encounter an issue with the Python SDK, you are welcome to submit a [bug report](https://github.com/truly-systems/glpi-sdk-python/issues). | ||
Before that, please search for similar issues. It's possible somebody has encountered this issue already. | ||
|
||
## Pull Requests | ||
|
||
If you want to contribute to the repository, here's a quick guide: | ||
1. Fork the repository | ||
2. develop and test your code changes with [pytest]. | ||
* Respect the original code [style guide][styleguide]. | ||
* Only use spaces for indentation. | ||
* Create minimal diffs - disable on save actions like reformat source code or organize imports. If you feel the source code should be reformatted create a separate PR for this change. | ||
* Check for unnecessary whitespace with git diff --check before committing. | ||
3. Make the test pass | ||
4. Commit your changes | ||
5. Push to your fork and submit a pull request to the `dev` branch | ||
|
||
## Running the tests | ||
|
||
You probably want to set up a [virtualenv]. | ||
|
||
1. Clone this repository: | ||
``` | ||
git clone https://github.com/truly-systems/glpi-sdk-python.git | ||
``` | ||
2. Install the sdk as an editable package using the current source: | ||
``` | ||
pip install --editable . | ||
``` | ||
3. Install the test dependencies with: | ||
``` | ||
pip install -r requirements-dev.txt | ||
``` | ||
4. Run the test cases with (now we're only testing PEP8): | ||
``` | ||
make check-syntax | ||
``` | ||
## Aditional tests | ||
* Install tests dependencies | ||
`make dependencies` | ||
* Test PEP8 syntax | ||
`make check-syntax` | ||
* Test installation setup | ||
`make test-setup` | ||
## Additional Resources | ||
+ [General GitHub documentation](https://help.github.com/) | ||
+ [GitHub pull request documentation](https://help.github.com/send-pull-requests/) | ||
[styleguide]: http://google.github.io/styleguide/pyguide.html | ||
[virtualenv]: http://virtualenv.readthedocs.org/en/latest/index.html |
This file contains 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 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 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 +1 @@ | ||
__version__ = '0.1.1' | ||
__version__ = '0.2.0' |
This file contains 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,3 @@ | ||
pep8 | ||
codecov | ||
python-dotenv |
This file contains 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 |
---|---|---|
|
@@ -17,7 +17,7 @@ def readme(): | |
description='GLPI API SDK', | ||
#long_description=readme(), | ||
url='https://github.com/truly-systems/glpi-sdk-python', | ||
download_url='https://github.com/truly-systems/glpi-sdk-python/archive/0.1.1.tar.gz', | ||
download_url='https://github.com/truly-systems/glpi-sdk-python/archive/%s.tar.gz' % __version__, | ||
author='Marco Tulio R Braga', | ||
author_email='[email protected]', | ||
license='Apache-2.0', | ||
|
This file contains 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,3 +1,2 @@ | ||
pep8 | ||
codecov | ||
python-dotenv | ||
git+https://github.com/truly-systems/glpi-sdk-python.git@master#egg=glpi |