https://github.com/expediadotcom/haystack-secrets-commons
https://github.com/expediadotcom/haystack-secrets-commons
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/expediadotcom/haystack-secrets-commons
- Owner: ExpediaDotCom
- License: apache-2.0
- Created: 2018-08-28T18:06:03.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-09T17:58:55.000Z (over 7 years ago)
- Last Synced: 2025-07-12T16:48:57.793Z (11 months ago)
- Language: Java
- Size: 111 KB
- Stars: 1
- Watchers: 11
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/ExpediaDotCom/haystack-secrets-commons)
[](https://github.com/ExpediaDotCom/haystack/blob/master/LICENSE)
# haystack-secrets-commons
Module with common code that is used by various haystack components that need to detect secrets in spans or blobs.
## Building
Since this repo contains haystack-idl as the submodule, so use the following to clone the repo
```git clone --recursive git@github.com:ExpediaDotCom/haystack-secrets-commons.git```
#### Prerequisite:
* Make sure you have Java 1.8
* Make sure you have maven 3.3.9 or higher
#### Build
For a full build including unit tests, one can run -
```
mvn clean package
```
#### Updating haystack-idl
* Run:
```git submodule update --recursive --remote```
* Update maven version
* Raise a PR
#### Releasing haystack-secrets-commons
* Git tagging:
```git tag -a v1.4 -m "my version 1.4"```
Or you can also tag using UI: https://github.com/ExpediaDotCom/haystack-secrets-commons/releases
* Update https://github.com/ExpediaDotCom/haystack-secrets-commons/blob/master/ReleaseNotes.md