Reporting GitHub issues

We're now down to the last step—using the GitHub API to report problems. In order to register an issue, we need two pieces of information—the title and the body. As such, we'll have to define a new function, called report, which will accept three string arguments—the name of the package, plus two more for the title and the body of the issue. Internally, the function will make an authenticated call to the corresponding GitHub API via the GitHub package.

According to the documentation, a call to the GitHub.create_issue method looks like this:

GitHub.create_issue("<username>/<repo>", auth = <GitHub.OAuth2>, params...) 

This means that we need to do the following:

  1. Use the GitHub token to authenticate and generate the ...

Get Julia Programming Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.