+ # select relevant packages
+ # could not find the magic recipe to do this properly yet
+ # so ugly temporary hack :
+ # when whitelisted, we expose the first package plus the white-listed ones
+ # otherwise we expose everything
+ relevant=False
+ if not whitelist: relevant=True
+ else:
+ if counter==1: relevant=True
+ else: relevant=name in whitelist