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.3.0.tar.gz
(10.1 kB
view details)
Built Distribution
File details
Details for the file scanctl-0.3.0.tar.gz
.
File metadata
- Download URL: scanctl-0.3.0.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b613d1a80d88f5dba30da275ce84f55f11637b46416a9a79ac843bbe0ec167f |
|
MD5 | cafcd03112786d01cf3017c09b7c0d81 |
|
BLAKE2b-256 | 8bb57132d82dd5b475b262547d5792dd3eaebb7df0a73f3ee16f0a5adf1ca9a7 |
File details
Details for the file scanctl-0.3.0-py2.py3-none-any.whl
.
File metadata
- Download URL: scanctl-0.3.0-py2.py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7738522b27f97f8d9aa324a418fa77a5536c2b2a751380838a6204a329fb52e |
|
MD5 | c164744c470f852f72bccfbd7e002566 |
|
BLAKE2b-256 | 5ee3abfda5a48e7e73ece4c865fa95c865ab0c990b542f9c20080fb05a2e34ce |