The GitHub Book by Chris Dawson & Ben Straub

The GitHub Book by Chris Dawson & Ben Straub

Author:Chris Dawson & Ben Straub
Language: eng
Format: epub
Tags: COMPUTERS / Online Services
ISBN: 9781491933435
Publisher: O’Reilly Media
Published: 2015-08-03T16:00:00+00:00


Our example application

Now that we know a bit about how this API behaves, let’s do something useful with it.

Imagine your development team uses GitHub to store their Git repositories, and that there are lots of little repositories for parts of the application that work together at runtime. This kind of situation ends up being fairly difficult to work with for your non-technical colleagues; if they want to report an issue, they don’t know where to go, and they don’t know how to find issues that already exist.

Search can make this possible, but doing a search across an entire organization’s repositories involves using the user:<organization> operator, which is obtusely named, and kind of scary for non-programmers.

The Search API can make this a bit easier. Let’s make a GUI application with just a single search box, which makes it dead simple for a non-technical user to search all the issues in all the repositories in a single organization. It’ll end up looking a bit like Figure 4-1.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.