Lines 1001-1007
class binarytree(object):
Link Here
|
1001 |
# Local package instances override remote instances |
1001 |
# Local package instances override remote instances |
1002 |
# with the same instance_key. |
1002 |
# with the same instance_key. |
1003 |
if instance_key in metadata: |
1003 |
if instance_key in metadata: |
|
|
1004 |
writemsg('populate local pkg: %s\n' % (instance_key,), noiselevel=-1) |
1004 |
continue |
1005 |
continue |
|
|
1006 |
writemsg('populate remote pkg: %s\n' % (instance_key,), noiselevel=-1) |
1005 |
|
1007 |
|
1006 |
d["CPV"] = cpv |
1008 |
d["CPV"] = cpv |
1007 |
d["BASE_URI"] = remote_base_uri |
1009 |
d["BASE_URI"] = remote_base_uri |
Lines 1434-1439
class binarytree(object):
Link Here
|
1434 |
if (self._remotepkgs is None or |
1436 |
if (self._remotepkgs is None or |
1435 |
self.dbapi._instance_key(pkgname) not in self._remotepkgs): |
1437 |
self.dbapi._instance_key(pkgname) not in self._remotepkgs): |
1436 |
return False |
1438 |
return False |
|
|
1439 |
writemsg('isremote: %s\n' % (self.dbapi._instance_key(pkgname),), noiselevel=-1) |
1437 |
# Presence in self._remotepkgs implies that it's remote. When a |
1440 |
# Presence in self._remotepkgs implies that it's remote. When a |
1438 |
# package is downloaded, state is updated by self.inject(). |
1441 |
# package is downloaded, state is updated by self.inject(). |
1439 |
return True |
1442 |
return True |