Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

Commit

Permalink
Update package-statistics.md
Browse files Browse the repository at this point in the history
  • Loading branch information
apxltd committed Jun 8, 2020
1 parent 5db0c76 commit df69b30
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions ProGet/packages/package-statistics.md
Expand Up @@ -44,22 +44,3 @@ On the Package page, you can see an aggregate of download data by clicking on th
### Advanced Reporting {#advanced-reporting data-title="Advanced Reporting"}

For more advanced analysis of package downloads, you can query the `ProGet SQL` Server database directly. Each download record is stored in the `PackageDownloads` table.

### Recording dependencies with pgscan

[pgscan](https://github.com/Inedo/pgscan) is a simple open-source command-line tool for publishing dependencies used by a package when it is built.

It can be trivially added to an OtterScript plan in BuildMaster to publish this information:

# Build MyLibrary
DotNet::Build MyLibrary.csproj
(
Configuration: Release
);

# Publish dependencies of MyLibrary to the proget.local server
Exec
(
FileName: pgscan.exe
Arguments: publish --input=MyLibrary.csproj --package-feed=Libraries --proget-url=https://proget.local --consumer-package-source=Libraries --consumer-package-version=$ReleaseNumber
);

0 comments on commit df69b30

Please sign in to comment.