ecdbf24fcaa1c8586a3d3acc1bba87aea974d7e3,src/python/pants/python/python_chroot.py,PythonChroot,_dump_library,#PythonChroot#Any#,96
Before Change
self.debug(" Dumping library: %s" % library)
abs_target_source_root = os.path.join(get_buildroot(), library.target_base)
for filename in library.payload.sources_relative_to_buildroot():
abs_source_path = os.path.join(get_buildroot(), filename)
source_rel_path = os.path.relpath(abs_source_path, abs_target_source_root)
copy_to_chroot(library.target_base, source_rel_path, self._builder.add_source)
resources = [os.path.join(library.payload.sources_rel_path, resource)
for resource in library.payload.resources]
After Change
copy_to_chroot(library.target_base, relpath, self._builder.add_source)
for resources_tgt in library.resources:
for resource_file_from_source_root in resources_tgt.sources_relative_to_source_root():
copy_to_chroot(resources_tgt.target_base, resource_file_from_source_root,
self._builder.add_resource)
def _dump_requirement(self, req, dynamic, repo):
self.debug(" Dumping requirement: %s%s%s" % (str(req),
" (dynamic)" if dynamic else "", " (repo: %s)" % repo if repo else ""))
self._builder.add_requirement(req, dynamic, repo)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: pantsbuild/pants
Commit Name: ecdbf24fcaa1c8586a3d3acc1bba87aea974d7e3
Time: 2014-05-21
Author: benjy@foursquare.com
File Name: src/python/pants/python/python_chroot.py
Class Name: PythonChroot
Method Name: _dump_library
Project Name: pantsbuild/pants
Commit Name: cf6f30685b1540ae99c8ab7dd23ee4e75e5d2275
Time: 2014-12-08
Author: benjyw@gmail.com
File Name: src/python/pants/base/config.py
Class Name: Config
Method Name: load
Project Name: pantsbuild/pants
Commit Name: d45af2806326ee71c8f163daea6c0512b58fadd2
Time: 2019-07-28
Author: stuhood@gmail.com
File Name: src/python/pants/backend/jvm/subsystems/zinc.py
Class Name: Zinc
Method Name: _run_bootstrapper