Just deleted about 400 bot accounts and a bunch of spam. To mitigate this in the future, we've enabled reCaptcha on signup. Let me know if someone got caught in the crossfire.

Commit c03c261b authored by Rob Nelson's avatar Rob Nelson
Browse files

def

parent 58428ce9
Pipeline #13 skipped
......@@ -52,7 +52,6 @@ class GitRepo(object):
log.critical('UNABLE TO REMOVE %s!', self.destination)
sys.exit(-1)
self._initRepo()
old_commit = self.repo.current_commit
cloned = not os.path.isdir(self.destination)
self.repo.Pull(branch=self.branch, cleanup=cleanup)
......@@ -69,17 +68,17 @@ class GitRepo(object):
else:
log.warn('Directory removal already done...?')
scm = GitRepo('https://github.com/alliedmodders/sourcemod.git','/tmp/jenkins/sourcemod')
scm = GitRepo('https://github.com/alliedmodders/sourcemod.git', '/tmp/jenkins/sourcemod')
scm.preload()
if not scm.isUp2Date():
scm.update()
with os_utils.Chdir('/tmp/jenkins/sourcemod'):
os_utils.ensureDirExists('build',quiet=False)
cmd(['bash','tools/checkout-deps.sh'], echo=True,show_output=True)
os_utils.ensureDirExists('build', quiet=False)
cmd(['bash', 'tools/checkout-deps.sh'], echo=True, show_output=True)
with os_utils.Chdir('build'):
# CFLAGS="${CFLAGS} -Wno-sign-compare" CXXFLAGS="${CXXFLAGS} -Wno-sign-compare" python ../configure.py
env = os_utils.BuildEnv()
env.appendTo('CFLAGS', '-Wno-sign-compare',delim=' ')
env.appendTo('CXXFLAGS', '-Wno-sign-compare',delim=' ')
cmd(['python','/tmp/jenkins/sourcemod/configure.py'],echo=True, show_output=True, env=env)
cmd(['ambuild'],echo=True, show_output=True, env=env)
env.appendTo('CFLAGS', '-Wno-sign-compare', delim=' ')
env.appendTo('CXXFLAGS', '-Wno-sign-compare', delim=' ')
cmd(['python', '/tmp/jenkins/sourcemod/configure.py'], echo=True, show_output=True, env=env)
cmd(['ambuild'], echo=True, show_output=True, env=env)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment