This commit is contained in:
Marc Beninca 2021-10-09 14:01:50 +02:00 committed by Marc Beninca
parent 839bfc0f9d
commit 523c5eca81

View file

@ -1,9 +1,11 @@
#! /usr/bin/env python3 #! /usr/bin/env python3
import arguments
import repository
import sys import sys
import arguments
import remote
import repository
def build(repository, arguments): def build(repository, arguments):
print('Build:') print('Build:')
@ -31,8 +33,12 @@ def info(repository, arguments):
print(repository) print(repository)
def sync(repository, arguments): def sync(repository, args):
print('Sync:') print('Sync:')
r = remote.Remote(args)
print(r)
for architecture in args[arguments.ARCHITECTURES]:
print(r.fetch_latest_distribution(architecture))
# TODO prepare temporary directory # TODO prepare temporary directory
print('prepare…') print('prepare…')
# TODO fetch # TODO fetch