refactor: Remove sync of updateinfo

The update info is already automatically fetched from GitHub instead of
using the distribution.json from the datastore
This commit is contained in:
Lars Toenning
2024-03-09 22:21:12 +01:00
parent 4298d38ee7
commit ad96d38389
5 changed files with 1 additions and 51 deletions

View File

@@ -231,17 +231,8 @@ class DbDataSync(BaseSync):
write_json_to_file(file_path, j, timestamp)
class UpdateInfoSync(BaseSync):
def __init__(self, host, version, target_path):
BaseSync.__init__(self, host, version, target_path)
def sync(self):
self.sync_file('updateinfo', 'distribution.json')
def update_shared(host, version, target_path):
DbDataSync(host, version, target_path).sync()
UpdateInfoSync(host, version, target_path).sync()
def main():
@@ -250,7 +241,6 @@ def main():
target_path = os.path.abspath(os.curdir)
DbDataSync(host, version, target_path).sync()
UpdateInfoSync(host, version, target_path).sync()
if __name__ == '__main__':