A tool to facilitate managing whitesource data
Project description
scanctl
=======
> A tool to facilitate managing Whitesource data


### 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


### 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.2.tar.gz
(10.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scanctl-0.3.2.tar.gz.
File metadata
- Download URL: scanctl-0.3.2.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c61b09c9577f25e13f6983567c2f1cd8eff753824ff35962295cb11d3ef5e82
|
|
| MD5 |
c214a450f22cc748b146e32cd1022ff0
|
|
| BLAKE2b-256 |
c62f1a22b2f32ac7d27205f51e2d07243514b258e76dae9208f45f91a26f4d98
|
File details
Details for the file scanctl-0.3.2-py2.py3-none-any.whl.
File metadata
- Download URL: scanctl-0.3.2-py2.py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a36eb9c21bd00e4e6ea4b08988dda2efec23cb9321ecfcfa5fa4db662327a13e
|
|
| MD5 |
cd1d444758291d8d54be801c0476bef3
|
|
| BLAKE2b-256 |
3492456179b406afcfc3d6e5bcbd5f8fb607162241bf23b8af956da0efb81682
|