Skip to content
Snippets Groups Projects
Commit 87d040bd authored by Bernhard Johannes Berger's avatar Bernhard Johannes Berger
Browse files

Set the URL of the gitlab pages site correctly.

parent c7956175
No related branches found
No related tags found
No related merge requests found
Pipeline #279984 passed
......@@ -29,14 +29,14 @@ branches = []
connection.request("GET", BASE_URL + "branches", headers = headers)
response = connection.getresponse()
for branch in json.loads(response.read()):
branches += branch['name']
branches.append(branch['name'])
tags = []
# print tags
connection.request("GET", BASE_URL + "tags", headers = headers)
response = connection.getresponse()
for tag in json.loads(response.read()):
tags += branch['name']
tags.append(branch['name'])
releases = branches + tags
for release in releases:
......@@ -82,10 +82,10 @@ f = open("public/index.html", "w")
f.write("<html><head><title>EvoAl Update Sites</title></head><body><h1>Available Update Sites</h1>")
f.write("<h2>Official Releases</h2><ul>")
for release in tags:
f.write("""<li><a href="">%s</a></li>""" % (release, ))
f.write("""<li><a href="https://evoal.glpages.informatik.uni-bremen.de/source/evoal-core/%s">%s</a></li>""" % (release, release))
f.write("</ul><h2>Development Versions</h2><ul>")
for release in branches:
f.write("""<li><a href="">%s</a></li>""" % (release, ))
f.write("""<li><a href="https://evoal.glpages.informatik.uni-bremen.de/source/evoal-core/%s">%s</a></li>""" % (release, release))
f.write("</ul></body></html>")
f.close()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment