aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2016-11-10 17:43:16 +0200
committerMart Raudsepp <leio@gentoo.org>2016-11-10 17:43:40 +0200
commitd7dbfa3ba07dcd2cbc1f0be9f9575c436c9a82e3 (patch)
tree0301230b34b4eb36976fbc47a03cbf8302d9a9a3 /manage.py
parentAdd dirty sync_versions debug code (diff)
downloadgrumpy-d7dbfa3ba07dcd2cbc1f0be9f9575c436c9a82e3.tar.gz
grumpy-d7dbfa3ba07dcd2cbc1f0be9f9575c436c9a82e3.tar.bz2
grumpy-d7dbfa3ba07dcd2cbc1f0be9f9575c436c9a82e3.zip
Initial projects.xml parsing code with debug printout
Diffstat (limited to 'manage.py')
-rwxr-xr-xmanage.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/manage.py b/manage.py
index 359c63a..a31b96c 100755
--- a/manage.py
+++ b/manage.py
@@ -21,12 +21,18 @@ def init():
@manager.command
def sync_gentoo():
- """Synchronize Gentoo data from packages.gentoo.org API"""
+ """Synchronize Gentoo data"""
+ sync.sync_projects()
sync.sync_categories()
sync.sync_packages()
#sync_versions()
@manager.command
+def sync_projects():
+ """Synchronize only Gentoo projects.xml data"""
+ sync.sync_projects()
+
+@manager.command
def sync_categories():
"""Synchronize only Gentoo categories data"""
sync.sync_categories()