git:
    title: "Plain git repository"
    description: This is a plain git repository with no issues/PRs attached. For GitHub repositories, use the GitHub source type.
    regex: (?:https?|git)://.*/.+\.git
    example: "git://example.org/repos/foo.git"
    optauth:
        - username
        - password
        
github:
    title: "GitHub repository (plus issues/PRs)"
    description: "This is GitHub repositories with issues and pull requests. For non-GitHub repos, please use the plain 'git' source type"
    regex: "https://github.com/.+/.+"
    example: "https://github.com/apache/kibble.git"
    authrequired: true
    optauth:
        - username
        - password

jira:
    title: "JIRA Project"
    description: "This is a JIRA project. It requires a user account with read credentials to operate optimally."
    regex: "https://.+/browse/[A-Z0-9-]+"
    example: "https://issues.apache.org/jira/browse/ZEST"
    authrequired: true
    optauth:
        - username
        - password    

bugzilla:
    title: "BugZilla Project"
    regex: https?://.+/jsonrpc\.cgi?\s+.+
    example: "https://bz.apache.org/bugzilla/jsonrpc.cgi Apache2"
    optauth:
        - username
        - password

ponymail:
    title: "Pony Mail Archive"
    description: "A Pony Mail archive - add lists one by one. Requires a session cookie to operate optimally."
    regex: "https?://.+/list.html?.+@.+"
    example: "https://lists.apache.org/list.html?dev@spamassassin.apache.org"
    authrequired: true
    optauth:
        - cookie

pipermail:
    title: "Pipermail archive"
    regex: "https?://.+/(archives|pipermail)/.+/"
    example: "https://www.redhat.com/archives/libvir-list/"

gerrit:
    title: "Gerrit Code Review Project"
    regex: "https?://.+/r/.+"
    example: https://review.rdoproject.org/r/puppet/puppet-designate

jenkins:
    title: Jenkins CI Server
    description: A Jenkins CI Server - Grabs all jobs in one go.
    regex: "https?://.+/"
    example: https://builds.apache.org/
    optauth:
        - username
        - password

buildbot:
    title: Buildbot CI Server
    description: A Buildbot CI Server - Grabs all jobs in one go.
    regex: "https?://.+/"
    example: https://ci.apache.org/
    optauth:
        - username
        - password

travis:
    title: Travis CI Server
    description: The Travis CI Service - Grabs all jobs in one go. Specify .com or .org
    regex: "https?://travis-ci[.](com|org)/?"
    example: https://travis-ci.org/
    authrequired: true
    optauth:
        - token


twitter:
    title: "Twitter Handle"
    regex: (@.+)
    example: "@ApacheKibble"
    authrequired: true
    optauth:
        - token
        - token_secret
        - consumer_key
        - consumer_secret
    
discourse:
    title: Discourse
    description: A Discourse Forum System.
    regex: "https?://.+/"
    example: https://discourse.example.com/
    optauth:
        - username
        - password