spdx-sbom-generator 0.0.13 (new formula)
spdx-sbom-generator 0.0.13 (new formula)

This commit adds Formula/spdx-sbom-generator.rb that includes the required
functionality to build and install the spdx-sbom-generator cli tool.

fix: `brew audit --new spdx-sbom-generator` errors resolved

Split the offending line (16) and turned the regex into a standard
string to avoid issues with abigouity from the linter.

feat: add check for processor family to build correct arch on amd64

This commit adds the ability to build native binaries for both
x86_64 and amd64 processor types.

feat: new test that runs the whole application end to end

The test downloads a git repo and checks out a specific tag so that
the output will be consistant. It then runs the spdx-sbom-generator
and checks to see if it's output file is created.

fix: resolve issue with ubuntu build failing

Change 1: Added a check for OS so I could build a linux version
Change 2: Changed the github url to use HTTPS to fix ubuntu build

fix: add proper version of python for the project that is downloaded

Change to set the required version of python to 3.8

fix: set python to install as user

Added —user to the command for pip install pipenv

change: instead of pulling from git use a resource

Using a resource `wyzeapy` to download the tar of the source
instead of doing a git clone and checkout.

Update Formula/spdx-sbom-generator.rb

Modify the logic in the install to be cleaner and easier to read

fix: trailing whitespace...

Fixing trailing whitespace

Fix it again...

I think this makes it work! I just have to set the right python in the path!

Why not just make it check itself?

Remove python from test dependencies

Add `go` to the test suite

feat: use go mod init to create empty project

Testing with an empty project and checking for the error is quicker
and more efficient than downloading a sperate project.

Fixes: https://github.com/Homebrew/homebrew-core/pull/84924#discussion_r722050652

Closes #84924.

Co-authored-by: Carlo Cabrera <3ffc397d0e4bded29cb84b56167de54c01e3a55b@users.noreply.github.com>
Signed-off-by: Carlo Cabrera <3ffc397d0e4bded29cb84b56167de54c01e3a55b@users.noreply.github.com>
Signed-off-by: BrewTestBot <8a898ee6867e4f2028e63d2a6319b2224641c06c@users.noreply.github.com>

makigumo/homebrew-core,cblecker/homebrew-core,chrisfinazzo/homebrew-core,uyjulian/homebrew-core,Homebrew/homebrew-core,makigumo/homebrew-core,lemzwerg/homebrew-core,filcab/homebrew-core,adam-moss/homebrew-core,mfikes/homebrew-core,nandub/homebrew-core,nbari/homebrew-core,chrisfinazzo/homebrew-core,adam-moss/homebrew-core,stgraber/homebrew-core,nandub/homebrew-core,stgraber/homebrew-core,lemzwerg/homebrew-core,zyedidia/homebrew-core,zyedidia/homebrew-core,sjackman/homebrew-core,sjackman/homebrew-core,mfikes/homebrew-core,uyjulian/homebrew-core,filcab/homebrew-core,Homebrew/homebrew-core,cblecker/homebrew-core,nbari/homebrew-core