This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| extraction_type="poetry" | |
| if [ -f poetry.lock ]; then | |
| echo "Exporting SBOM using poetry" | |
| elif [ -f requirements.txt ]; then | |
| echo "Exporting SBOM using requirements txt" | |
| extraction_type="requirements" | |
| elif [ -f uv.lock ]; then | |
| echo "uv is not supported with cyclonedx-py, export the dependencies format to requirements-txt" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " VIM STANDARD GLOBAL CONFIGS | |
| syntax on | |
| set number | |
| filetype plugin indent on | |
| set tabstop=2 shiftwidth=2 expandtab | |
| set backspace=indent,eol,start | |
| set showmatch | |
| set wildmenu | |
| " setting highlight search | |
| set hls |