def maintainers_turnover(): return flask.render_template( 'maintainers-turnover.html', added=get_db().get_recently_added_maintainers( config['TURNOVER_PER_PAGE']), removed=get_db().get_recently_removed_maintainers( config['TURNOVER_PER_PAGE']))
def metapackages_turnover(): return flask.render_template( 'metapackages-turnover.html', added=get_db().get_recently_added_metapackages( config['TURNOVER_PER_PAGE']), removed=get_db().get_recently_removed_metapackages( config['TURNOVER_PER_PAGE']))
def raising(): return flask.render_template( 'raising.html', packages1=get_db().get_raising_metapackages1( config['METAPACKAGES_PER_PAGE']), packages2=get_db().get_raising_metapackages2( config['METAPACKAGES_PER_PAGE']), )
def repository(repo): if not repo or repo not in repometadata: flask.abort(404) return flask.render_template('repository.html', repo=repo, repo_info=get_db().GetRepository(repo))
def repository_problems(repo): if not repo or repo not in repometadata: flask.abort(404) return flask.render_template('repository-problems.html', repo=repo, problems=get_db().GetProblems( repo=repo, limit=config['PROBLEMS_PER_PAGE']))