GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

Commit 8260a79d authored by Cecylia Bocovich's avatar Cecylia Bocovich
Browse files

Modified scripts to add correct gitlab links to db

parent 78415a6d
......@@ -71,7 +71,7 @@ def main():
sys.exit(1)
providers = {
"gitlab": "https://gitlab.com/thetorproject/gettorbrowser/raw/torbrowser-releases/",
"gitlab": "https://gitlab.com/thetorproject/torbrowser-arch/raw/master/",
"github": "https://github.com/torproject/torbrowser-releases/releases/download/torbrowser-release/"
}
......@@ -145,7 +145,8 @@ def main():
release_link = releases.get(k).replace("en-US", l)
c.execute(
"INSERT INTO links(link, platform, language, arch, version, provider, status, file)"
"VALUES ('%s', '%s', '%s', '64', '%s', '%s', 'ACTIVE', '%s')" % (providers.get(p) + release_link, k, l, version, p, release_link))
"VALUES ('%s', '%s', '%s', '64', '%s', '%s', 'ACTIVE', '%s')"
% (providers.get(p).replace("arch", k) + release_link, k, l, version, p, release_link))
if __name__ == "__main__":
......
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