remote
This commit is contained in:
parent
839bfc0f9d
commit
523c5eca81
1 changed files with 9 additions and 3 deletions
12
__init__.py
12
__init__.py
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue