A tool to facilitate managing whitesource data
Project description
scanctl
=======
> A tool to facilitate managing Whitesource data
![PyPi](https://img.shields.io/pypi/v/scanctl.svg)
![Travis](https://img.shields.io/travis/spotify/scanctl.svg)
### Requirements:
* Python 3.6
* Whitesource [Filesystem Agent][]
[Filesystem Agent]: https://whitesource.atlassian.net/wiki/spaces/WD/pages/33718339/File+System+Agent
### Development:
```sh
$ git clone git@spotify.com:spotify/scanctl.git
$ cd scanctl
# optionally create a virtualenv before installing
$ pyenv virtualenv 3.6.2 venv
$ pyenv activate venv
(venv) $ pip install -r requirements.txt
(venv) $ pip install -e .
# list all organizations and repositories from a remote
(venv) $ scanctl github --token $GITHUB_API_TOKEN list-orgs
(venv) $ scanctl github --token $GITHUB_API_TOKEN list-repos
# run a scan against a particular repository
(venv) $ scanctl scan --token $WHITESOURCE_API_TOKEN spotify/scanctl
```
### Code of Conduct
This project adheres to the [Open Code of Conduct][code-of-conduct]. By
participating, you are expected to honor this code.
[code-of-conduct]: https://github.com/spotify/code-of-conduct/blob/master/code-of-conduct.md
=======
> A tool to facilitate managing Whitesource data
![PyPi](https://img.shields.io/pypi/v/scanctl.svg)
![Travis](https://img.shields.io/travis/spotify/scanctl.svg)
### Requirements:
* Python 3.6
* Whitesource [Filesystem Agent][]
[Filesystem Agent]: https://whitesource.atlassian.net/wiki/spaces/WD/pages/33718339/File+System+Agent
### Development:
```sh
$ git clone git@spotify.com:spotify/scanctl.git
$ cd scanctl
# optionally create a virtualenv before installing
$ pyenv virtualenv 3.6.2 venv
$ pyenv activate venv
(venv) $ pip install -r requirements.txt
(venv) $ pip install -e .
# list all organizations and repositories from a remote
(venv) $ scanctl github --token $GITHUB_API_TOKEN list-orgs
(venv) $ scanctl github --token $GITHUB_API_TOKEN list-repos
# run a scan against a particular repository
(venv) $ scanctl scan --token $WHITESOURCE_API_TOKEN spotify/scanctl
```
### Code of Conduct
This project adheres to the [Open Code of Conduct][code-of-conduct]. By
participating, you are expected to honor this code.
[code-of-conduct]: https://github.com/spotify/code-of-conduct/blob/master/code-of-conduct.md
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
scanctl-0.2.0.tar.gz
(10.0 kB
view details)
Built Distribution
File details
Details for the file scanctl-0.2.0.tar.gz
.
File metadata
- Download URL: scanctl-0.2.0.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 003a79b993a3042d2ed93f2849d6369e68d8abecd38add4ea52d1aca8d6c3628 |
|
MD5 | 98883e8b1c5a8489f5eee21b44d5550b |
|
BLAKE2b-256 | 4f0823869acf275be37b046a1f8b096ac7bfcef4ce21241fff871f831a1f1529 |
File details
Details for the file scanctl-0.2.0-py2.py3-none-any.whl
.
File metadata
- Download URL: scanctl-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e98e0f7dd068774f435c63e872a9b93b655911b30a26a326c17b9b2b54416e15 |
|
MD5 | c99b91c74d9dc7a25ce6a018ed0fa36f |
|
BLAKE2b-256 | 1a69fc813697642766d69f87ab944173e6e45aa980d238b8d73a6a9edebe0110 |