From 720ca69723566b54b5b6a70654e33a232e8d0747 Mon Sep 17 00:00:00 2001 From: leap Date: Thu, 7 Aug 2014 15:24:45 -0400 Subject: Remove Thandy for TUF --- bundler/actions.py | 16 +++++++++++----- bundler/main.py | 1 - 2 files changed, 11 insertions(+), 6 deletions(-) (limited to 'bundler') diff --git a/bundler/actions.py b/bundler/actions.py index 30c86d3..557e8b0 100644 --- a/bundler/actions.py +++ b/bundler/actions.py @@ -139,7 +139,7 @@ class GitCloneAll(Action): with push_pop(repo): # Thandy is a special case regarding branches, we'll just use # develop - if repo in ["thandy", "leap_assets"]: + if repo in ["leap_assets"]: continue if not nightly: git.checkout("master") @@ -484,6 +484,12 @@ class CopyAssets(Action): class CopyMisc(Action): + TUF_CONFIG="""[General] +updater_delay = 60 + +[Mirror.localhost] +url_prefix = http://dl.bitmask.net/tuf""" + def __init__(self, basedir, skip, do): Action.__init__(self, "copymisc", basedir, skip, do) @@ -503,10 +509,6 @@ class CopyMisc(Action): os.path.join(self._basedir, "bitmask_launcher", "src", "launcher.py")), apps_dir) - cp("-r", - _convert_path_for_win(os.path.join(self._basedir, "thandy", "lib", - "thandy")), - apps_dir) cp("-r", _convert_path_for_win(os.path.join(self._basedir, "bitmask_client", "src", "leap")), @@ -527,6 +529,10 @@ class CopyMisc(Action): os.path.join(self._basedir, "bitmask_client", "relnotes.txt")), _convert_path_for_win(os.path.join(self._basedir, "Bitmask"))) + with open(os.path.join(self._basedir, "Bitmask", "launcher.conf"), "w") as f: + f.write(self.TUF_CONFIG) + mkdir("-p", os.path.join(self._basedir, "Bitmask", "repo", "metadata", "current")) + mkdir("-p", os.path.join(self._basedir, "Bitmask", "repo", "metadata", "previous")) print "Done" diff --git a/bundler/main.py b/bundler/main.py index 715225f..1328b3f 100644 --- a/bundler/main.py +++ b/bundler/main.py @@ -26,7 +26,6 @@ sorted_repos = [ "leap_mail", "bitmask_client", "bitmask_launcher", - "thandy" ] -- cgit v1.2.3