def METHOD_NAME(tree, callback):
   root = tree.getroot()
   for element in root:
       if element.tag != "project":
           continue
       project_name = element.get("name")
       if project_name in ignored_repos:
           print("Skipping: {}".format(project_name))
           continue
       manifest_revision = element.get("revision")
       path = element.get("path")
       path = remove_godeps_prefix(path)
       path = os.path.join(
           os.environ["GOPATH"],
           path
       )
       gopath_revision = get_gopath_revision(path)
       if gopath_revision is None:
           continue
       callback(
           path,
           manifest_revision,
           gopath_revision
       )