Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
PGScan Identify vs Publish
-
What are the differences between running PGScan identify vs publish? The documentation here (https://github.com/Inedo/pgscan) makes it appear it's a version difference? I I just want pgscan to return usage data per project back to ProGet do I just need to use "identify"?
-
Hi @dionc_5568 ,
Great question; I've updated the documentation as follows:
Usage (CLI/tool)
Execute
pgscanwith theidentifycommand. For example, to generate an SBOM and submit the dependencies of v1.0.0 theMyLibraryproject to ProGet:_
pgscan identify --input=MyLibrary.csproj --proget-url=https://proget.local --version=1.0.0
_Note that the
identifycommand requires ProGet 2022 and later. If you're using ProGet 6.0, you'll need to use the now-deprecatedpublishcommand; see the old version of this README to learn how.Hopefully that makes it clear. But yes, please just use
identify. It uses a different API that's much slower and will be removed in later versions of ProGet.
-
@stevedennis Thank you!