aboutsummaryrefslogtreecommitdiff
path: root/assets/manual_img
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2019-01-09 18:03:40 +0100
committerorwell96 <orwell@bleipb.de>2019-01-09 18:03:40 +0100
commita751d1da9c57a40a0df4e8793a1cc46cb7985e12 (patch)
tree2a5a24eb61256e182645a996ecea1496c620ac83 /assets/manual_img
parentc3c96274be0c4beeef62a21f226e830d1d72675a (diff)
downloadadvtrains-a751d1da9c57a40a0df4e8793a1cc46cb7985e12.tar.gz
advtrains-a751d1da9c57a40a0df4e8793a1cc46cb7985e12.tar.bz2
advtrains-a751d1da9c57a40a0df4e8793a1cc46cb7985e12.zip
Add Automatic Routesetting UI
Settings have no effect so far
Diffstat (limited to 'assets/manual_img')
0 files changed, 0 insertions, 0 deletions
h %aN <%aE>", revs], stdout=subprocess.PIPE, universal_newlines=True) for line in p.stdout: hash, author = line.strip().split(" ", 1) n = 0 p2 = subprocess.Popen(["git", "show", "--numstat", "--pretty=format:", hash], stdout=subprocess.PIPE, universal_newlines=True) for line in p2.stdout: added, deleted, filename = re.split(r"\s+", line.strip(), 2) if re.search(codefiles, filename) and added != "-": n += int(added) p2.wait() if n == 0: continue if n > 1200: n = 8 elif n > 700: n = 4 elif n > 100: n = 2 else: n = 1 points[author] += n p.wait() # Some authors duplicate? Don't add manual workarounds here, edit the .mailmap! for author in ("updatepo.sh <script@mt>", "Weblate <42@minetest.ru>"): points.pop(author, None) return points