github-test

command module
v0.0.0-...-2106872 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2019 License: GPL-3.0 Imports: 13 Imported by: 0

README

github-test

DESCRIPTION github-test is a simple program written using go and utilizing the go-getgithub library API set. The program will add a license to all repositories a github organization that the user has permission to do so.

INSTRUCTIONS Here are the assumptions that are made for running the program successfully.

  • Go must be set up properly when building the executable (the go-gitbub libraries must be installed in the proper directory)
  • The LICENSE (must be named LICENSE) file that will be added to the repositories must exist in the same directory as the executable github-test
  • You will be prompted to enter a valid user name and password to authenticate to github
  • You will be prompted to enter an email address
  • You will prompted to enter a valid organization that the user has membership in

If the above steps are correctly followed, then the LICENSE file will be added to a branch and a push request will be created for the repository.

IMPROVEMENTS

  • Changes need to be made to fetch the username and email address from the user programmatically
  • Select from a list of licenses and fetch from proper location
  • Better log messages

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL