A minimal project to list all closed issues in GitHub repository by milestone in Markdown format. Right now, it is designed to create the changelist for NUnit.
This program is a dotnet tool and requires the latest version of the .NET SDK to be installed. .NET 5.0 or newer is recommended.
Build it, then package it using the Pack command in Visual Studio or dotnet pack
on the command line. Until this package is published, install it using the following
command line from the solution root;
dotnet tool install -g --add-source ./GetChanges/nupkg dotnet-getchanges
To update from a previous version,
dotnet tool update -g --add-source ./GetChanges/nupkg dotnet-getchanges
Whenever the version is updated in Guppi/Guppi.csproj
, a merge to master will publish the NuGet package
to GitHub Packages. You can install or update from there.
First you must update your global NuGet configuration to add the package registry and include the GitHub Personal
Access Token (PAT). This file is in %appdata%\NuGet\NuGet.Config
on Windows and in ~/.config/NuGet/NuGet.Config
or ~/.nuget/NuGet/NuGet.Config
on Linux/Mac.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
<add key="Local" value="C:\temp" />
<add key="Microsoft Visual Studio Offline Packages" value="C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\" />
<add key="github" value="https://nuget.pkg.github.com/rprouse/index.json" />
</packageSources>
<packageSourceCredentials>
<github>
<add key="Username" value="rprouse" />
<add key="ClearTextPassword" value="GITHUB_PAT" />
</github>
</packageSourceCredentials>
</configuration>
Once that is done, to install,
dotnet tool install -g dotnet-getchanges
And to update from a previous version,
dotnet tool update -g dotnet-getchanges
In order to run, you must set the GitHub authentication token. This token is a Personal Access Token which logs you into your GitHub account.
- Visit the following URL: https://github.com/settings/tokens/new
- Enter a description in the Token description field, like "GetChanges token".
- Select the
Repo
scope. - Click Create Token.
- Your new Personal Access token will be displayed, copy it
- If running for the first time, the program will prompt for the token, otherwise to update the token, run with
--configure
If you ever want to revoke the token, visit the GitHub Applications settings page and click Delete next to the key you wish to remove.