def find_by_full_name(full_name):
	c = dbservice.get_cursor()
	c.execute("SELECT owner, name, issue_events_url FROM repos WHERE full_name LIKE ?", (full_name,))
	report_folder = create_report_folder()
	for hit in c.fetchall():
		report_events(hit, report_folder)
	print "Completed. Find reports in {}".format(report_folder)
	c.close()
def find_by_full_names(full_name_list):
	c = dbservice.get_cursor()
	report_folder = create_report_folder()
	for name in full_name_list:
		c.execute("SELECT owner, name, commits_url FROM repos WHERE full_name LIKE ?", (name,))
		for hit in c.fetchall():
			report_commits(hit, report_folder)
	print "Completed. Find reports in {}".format(report_folder)
	c.close()
def find_by_name(name, exact=True, limit=10):
	c = dbservice.get_cursor()
	if exact:
		c.execute("SELECT owner, name, issue_events_url FROM repos WHERE name LIKE ?", (name,))
	else:
		c.execute("SELECT owner, name, issue_events_url FROM repos WHERE name LIKE ?", ("%{}%".format(name),))
	report_folder = create_report_folder()
	for hit in c.fetchall()[:limit]:
		report_events(hit, report_folder)
	print "Completed. Find reports in {}".format(report_folder)
	c.close()