Closed Walz closed 2 years ago
A more general remark, I believe you can update the test integration_test.py:test_local_repository
with something like :
args=["--object", "../src-fingerprint"]
and add assert repos=={"src-fingerprint"}
. I did not write the test in the first place because of this missing feature.
Note : The test will not run in your PR since it needs access to a repo secret.
With the
repository
provider, if the name of the repository is omitted, it will be infer from the URL/path.Now,
src-fingerprint --provider repository --object "https://github.com/GitGuardian/src-fingerprint"
will produce:closes https://github.com/GitGuardian/src-fingerprint/issues/26