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@github.com:spotify/scanctl.git
$ cd scanctl
# optionally create a virtualenv before installing
$ pyenv virtualenv 3.6.5 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
```
### Release:
Follow the standard pull request workflow; tests will be run before merging.
Either as part of the pull request or as a commit to master, run the following
commands to increment the release version:
```sh
(venv) $ pip install -r requirements-dev.txt
(venv) $ bumpversion minor
(venv) $ git push && git push --tags
```
The next travis build will push the new package to PyPi.
### 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@github.com:spotify/scanctl.git
$ cd scanctl
# optionally create a virtualenv before installing
$ pyenv virtualenv 3.6.5 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
```
### Release:
Follow the standard pull request workflow; tests will be run before merging.
Either as part of the pull request or as a commit to master, run the following
commands to increment the release version:
```sh
(venv) $ pip install -r requirements-dev.txt
(venv) $ bumpversion minor
(venv) $ git push && git push --tags
```
The next travis build will push the new package to PyPi.
### 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.3.tar.gz
(10.3 kB
view details)
Built Distribution
File details
Details for the file scanctl-0.3.3.tar.gz
.
File metadata
- Download URL: scanctl-0.3.3.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bb18dbdb7071e4351ea2230b4eb2e60a36b086cf456fb488d0f9e4d68d966db |
|
MD5 | 297c2f76061e2a3e651e8710769aa3a9 |
|
BLAKE2b-256 | 0b5ed7e9cdac009c8592037c7a96c6d9879e7ce4e791dd41968d8829770ef614 |
File details
Details for the file scanctl-0.3.3-py2.py3-none-any.whl
.
File metadata
- Download URL: scanctl-0.3.3-py2.py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 722caaf8b4e63ddd15c548ec0d42953d7d79d5f1bd613bc1df8299953cdab112 |
|
MD5 | 719aca44ff0908d7eda33fa4ffcb0a6a |
|
BLAKE2b-256 | a0f7a9ac395452413f061f35d3da0ad67df9fe68e588b78d79ee0949a63ec5dd |