def get_all_tags(self):
verbose = self.options.verbose<EOL>gh = self.github<EOL>user = self.options.user<EOL>repo = self.options.project<EOL>if verbose:<EOL><INDENT>print("<STR_LIT>")<EOL><DEDENT>tags = []<EOL>page = <NUM_LIT:1><EOL>while page > <NUM_LIT:0>:<EOL><INDENT>if verbose > <NUM_LIT:2>:<EOL><INDENT>print("<STR_LIT:.>", end="<STR_LIT>")<EOL><DEDENT>rc, data = gh.repos[user][repo].tags.get(<EOL>page=page, per_page=PER_PAGE_NUMBER)<EOL>if rc == <NUM_LIT:200>:<EOL><INDENT>tags.extend(data)<EOL><DEDENT>else:<EOL><INDENT>self.raise_GitHubError(rc, data, gh.getheaders())<EOL><DEDENT>page = NextPage(gh)<EOL><DEDENT>if verbose > <NUM_LIT:2>:<EOL><INDENT>print("<STR_LIT:.>")<EOL><DEDENT>if len(tags) == <NUM_LIT:0>:<EOL><INDENT>if not self.options.quiet:<EOL><INDENT>print("<STR_LIT>"<EOL>"<STR_LIT>")<EOL>exit()<EOL><DEDENT><DEDENT>if verbose > <NUM_LIT:1>:<EOL><INDENT>print("<STR_LIT>".format(len(tags)))<EOL><DEDENT>return tags<EOL>
Fetch all tags for repository from Github.

:return: tags in repository
:rtype: list