Skip to content

A minimal projects to list all closed issues in GitHub repository by milestone in Markdown format. Right now, it is designed to create the changelist for NUnit.

License

Notifications You must be signed in to change notification settings

nunit/NUnit.InternalTools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Get Changes

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.

Installation

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.

Testing Locally

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

Installing from GitHub Packages

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

Configuration

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.

  1. Visit the following URL: https://github.com/settings/tokens/new
  2. Enter a description in the Token description field, like "GetChanges token".
  3. Select the Repo scope.
  4. Click Create Token.
  5. Your new Personal Access token will be displayed, copy it
  6. 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.

About

A minimal projects to list all closed issues in GitHub repository by milestone in Markdown format. Right now, it is designed to create the changelist for NUnit.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%