aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2008-11-27 10:46:02 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2008-11-27 10:46:02 +0000
commit4ecf8dfe3a597f08e8c90fc3df8085c0dea23d00 (patch)
treef043602e813d43e51b129ba64d27bce33e91bad4 /dbgenerator
parentInclude a last-time changed suffix in the ids for each entry per RFC4287, sec... (diff)
downloadpackages-3-4ecf8dfe3a597f08e8c90fc3df8085c0dea23d00.tar.gz
packages-3-4ecf8dfe3a597f08e8c90fc3df8085c0dea23d00.tar.bz2
packages-3-4ecf8dfe3a597f08e8c90fc3df8085c0dea23d00.zip
Add a bit of debug for later.
Diffstat (limited to 'dbgenerator')
-rw-r--r--dbgenerator/core.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/dbgenerator/core.py b/dbgenerator/core.py
index 599dbc5..702fe20 100644
--- a/dbgenerator/core.py
+++ b/dbgenerator/core.py
@@ -95,6 +95,7 @@ def main():
for (cat, pn) in backend.all_packages_list:
# Were more detailed changes actually present?
changed = False
+ #print "Starting on %s/%s" % (cat, pn)
cpi = database.find_cp(cat, pn)
# Check for the changelog changing
@@ -107,6 +108,7 @@ def main():
if cpi and cpi in old_cps:
old_cps.discard(cpi)
old_cpvs.difference_update(database.child_cpv(cpi))
+ #print "Skipping %s/%s: No changelog changes" % (cat, pn)
continue
# iter over ebuilds for keyword data
@@ -121,6 +123,7 @@ def main():
if oldsha1 == sha1:
if cpvi in old_cpvs:
old_cpvs.discard(cpvi)
+ #print "Skipping %s/%s: No CPV SHA1 changes" % (cat, pn)
continue
changed = True
(cpi, cpvi, dummy, dummy) = \
@@ -138,7 +141,7 @@ def main():
new_cps.add(cpi)
if not changed:
- # print "Skipping %s/%s" % (cat, pn)
+ #print "Skipping %s/%s" % (cat, pn)
continue
print "Working on %s/%s" % (cat, pn)