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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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