def register_gitlab_instance(shortname, url):
    """Register a gitlab instance.

    :param shortname: Short name (e.g. "gitlab")
    :param url: URL to the gitlab instance
    """
    from breezy.bugtracker import tracker_registry, ProjectIntegerBugTracker
    tracker_registry.register(shortname, ProjectIntegerBugTracker(shortname,
        url + '/{project}/issues/{id}'))
