Use opendev and https by default

We are currently defaulting the hound config to using git://.
Change that to https and change the git host to opendev.org.

Also, change the path and anchor so that they will be correct
for gitea.

Change-Id: Icd1eef1a5476fbb7e0fff97e0d401b79e371fb36
diff --git a/jeepyb/cmd/create_hound_config.py b/jeepyb/cmd/create_hound_config.py
index 0cb529f..9750486 100644
--- a/jeepyb/cmd/create_hound_config.py
+++ b/jeepyb/cmd/create_hound_config.py
@@ -23,9 +23,9 @@
 
 
 PROJECTS_YAML = os.environ.get('PROJECTS_YAML', '/home/hound/projects.yaml')
-GIT_SERVER = os.environ.get('GIT_BASE', 'git.openstack.org')
+GIT_SERVER = os.environ.get('GIT_BASE', 'opendev.org')
 DATA_PATH = os.environ.get('DATA_PATH', 'data')
-GIT_PROTOCOL = os.environ.get('GIT_PROTOCOL', 'git://')
+GIT_PROTOCOL = os.environ.get('GIT_PROTOCOL', 'https://')
 
 
 def main():
@@ -47,10 +47,11 @@
             'url': "%(proto)s%(gitbase)s/%(project)s" % dict(
                 proto=GIT_PROTOCOL, gitbase=GIT_SERVER, project=project),
             'url-pattern': {
-                'base-url': "http://%(gitbase)s/cgit/%(project)s"
-                            "/tree/{path}{anchor}" % dict(gitbase=GIT_SERVER,
-                                                          project=project),
-                'anchor': '#n{line}',
+                'base-url': "https://%(gitbase)s/%(project)s"
+                            "/src/branch/master/{path}{anchor}" % dict(
+                                gitbase=GIT_SERVER,
+                                project=project),
+                'anchor': '#L{line}',
             }
         }