Skip to content

shiftkey/paket-upgrader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

paket-upgrader

This is a Windows command line tool for scanning for out-of-date Paket installations and auto-generating a PR to update these. This uses the GitHub API to do this, avoiding the need to clone the repository locally.

>.\paket-upgrader.exe
Usage: paket-upgrader.exe [OPTIONS]
Scan a number of GitHub repositories to determine whether they are running an old version of Paket.
Specify an input file to read, or an account to scan for repositories to inspect.

Options:
  -t, --token=VALUE          a personal access token with public_repo scope to
                               be used to interact with the GitHub API
  -f, --file=VALUE           a file containing a list of 'owner/repo' values,
                               one on each line
  -u, --user=VALUE           a user or organization on GitHub to scan for
                               problem repositories
      --include-forks        also include forked repositories when scanning for
                               repositories to update
      --submit-pull-request  actually submit a PR to each of the repositories
                               which are using an old version of Paket
  -h, --help                 show this message and exit

Usage

Two supported scenarios are:

  • provide a file containing a list of repositories, one per line
  • specify an user/organization account on GitHub to scan
>.\paket-upgrader.exe -u shiftkey
Found 269 repositories under the shiftkey user

Skipping shiftkey/altnetsyd-codeperspective as Paket wasn't found
Skipping shiftkey/arctic-hawk as Paket wasn't found
Skipping shiftkey/AppDotNet-Win8 as Paket wasn't found
Skipping shiftkey/auteched2012 as Paket wasn't found
Skipping shiftkey/appveyor-bash-something as Paket wasn't found
Skipping shiftkey/better-win8-templates as Paket wasn't found
Skipping shiftkey/auteched-redcross as Paket wasn't found
Skipping shiftkey/blog as Paket wasn't found
...
> .\paket-upgrader.exe -f .\repositories.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages