-
Notifications
You must be signed in to change notification settings - Fork 388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[doc] Add documentation to the python thrift client example #3652
Conversation
wget https://github.com/Ericsson/codechecker/raw/v6.19.1/web/api/py/codechecker_api/dist/codechecker_api.tar.gz && \ | ||
pip3 install codechecker_api.tar.gz && \ | ||
rm -rf codechecker_api.tar.gz | ||
|
||
wget https://github.com/Ericsson/codechecker/raw/v6.19.1/web/api/py/codechecker_api_shared/dist/codechecker_api_shared.tar.gz && \ | ||
pip3 install codechecker_api_shared.tar.gz && \ | ||
rm -rf codechecker_api_shared.tar.gz |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these packages not available from PIP?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, these are available only in the repository as local python packages. This way open source contributors are also able to change the API easily and there is no need extra permissions for pypi and npmjs.
scripts/thrift/README.md
Outdated
@@ -0,0 +1,41 @@ | |||
# Python client for CodeChecker | |||
`client.py` contains simple API requests to a CodeChecker server and it | |||
can be a starting point how you can write your own script. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can be a starting point how you can write your own script. | |
can be a starting point for writing your own script. |
scripts/thrift/README.md
Outdated
can be a starting point how you can write your own script. | ||
|
||
Before you run this example program you have to do the following steps to | ||
setup and environment: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
setup and environment: | |
setup an environment: |
scripts/thrift/README.md
Outdated
# It will download API packages for the 'v6.19.1' but you can download newer | ||
# versions as well. | ||
# | ||
# WARNING: make sure that the package versions are not newer than what the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# WARNING: make sure that the package versions are not newer than what the | |
# WARNING: make sure that the package versions are not newer than what |
12588e0
to
0088525
Compare
No description provided.