buildbot 26:743b2177c44e: Fix URLs in buildbot.

commits at adium.im commits at adium.im
Thu Jun 27 09:07:37 UTC 2013


details:	http://hg.adium.im/buildbot/rev/743b2177c44e
revision:	26:743b2177c44e
branch:		(none)
author:		Thijs Alkemade <me at thijsalkema.de>
date:		Thu Jun 27 11:07:07 2013 +0200

Fix URLs in buildbot.

diffs (35 lines):

diff -r 50ad1524d69c -r 743b2177c44e master.cfg
--- a/master.cfg	Wed Jun 12 23:07:17 2013 -0400
+++ b/master.cfg	Thu Jun 27 11:07:07 2013 +0200
@@ -18,7 +18,7 @@
 
 c['projectName'] = "Adium"
 c['projectURL'] = "http://adium.im/"
-c['buildbotURL'] = "http://buildbot.adium.im/"
+c['buildbotURL'] = "https://buildbot.adium.im/"
 
 # Slaves
 
@@ -87,11 +87,10 @@
 from buildbot.steps import source, shell
 import socket
 
-# This is necessary because hg was failing to do the lookup right on smew.
-adium_hg_ip = socket.gethostbyname('hg.adium.im')
+adium_hg_addr = 'hg.adium.im'
 
 adiumf = factory.BuildFactory()
-adiumf.addStep(source.Mercurial(repourl = "http://%s/adium" % adium_hg_ip,
+adiumf.addStep(source.Mercurial(repourl = "https://%s/adium" % adium_hg_addr,
 				branchType = 'inrepo'))
 adiumf.addStep(shell.ShellCommand(command = ["make", "clean"]))
 adiumf.addStep(shell.Compile(command = ["make", "adium"], want_stderr = True))
@@ -102,7 +101,7 @@
 for repo, branches in nightlybranches:
 	for branch in branches:
 		nightlybranchf = factory.BuildFactory()
-		nightlybranchf.addStep(source.Mercurial(repourl = "http://%s/%s" % (adium_hg_ip, repo),
+		nightlybranchf.addStep(source.Mercurial(repourl = "https://%s/%s" % (adium_hg_addr, repo),
 							defaultBranch = branch,
 							branchType = 'inrepo'))
 		nightlybranchf.addStep(shell.Compile(command = ["make", "-C", "Release", "nightly"],




More information about the commits mailing list