jfrog / artifactory-scripts

Scripts for Artifactory (Usually, for REST API), community driven.
Apache License 2.0
148 stars 166 forks source link

feat: add flag to specify type of integrity check #38

Open jasonwalsh opened 5 years ago

jasonwalsh commented 5 years ago

Modifies L36 of the filestoreIntegrity/filestoreIntegrity.py file to add support for specifying the type of integrity check (local or remote).

- stat, msg = runRequest(conn, '/api/repositories?type=local')
+ stat, msg = runRequest(conn, '/api/repositories?type={}'.format(_type))

Usage

$ ./filestoreIntegrity.py http://localhost:8080/artifactory --type local
$ ./filestoreIntegrity.py http://localhost:8080/artifactory --type remote

The default value for the --type flag is local.

CLAassistant commented 4 years ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

jasonwalsh commented 4 years ago

😳