aa8d52e1a3e0fa1f3d8fdbf4877fa29fb013b818,src/python/pants/backend/codegen/register.py,,build_file_aliases,#,29
Before Change
def build_file_aliases():
return BuildFileAliases(
targets={
"java_antlr_library": JavaAntlrLibrary,
"java_protobuf_library": JavaProtobufLibrary,
"java_ragel_library": JavaRagelLibrary,
"java_thrift_library": JavaThriftLibrary,
"java_wire_library": JavaWireLibrary,
"python_antlr_library": PythonAntlrLibrary,
"python_thrift_library": PythonThriftLibrary,
"python_grpcio_library": PythonGrpcioLibrary,
"jaxb_library": JaxbLibrary,
}
)
def register_goals():
task(name="thrift-java", action=ApacheThriftJavaGen).install("gen")
After Change
def build_file_aliases():
return BuildFileAliases(
targets={
"java_antlr_library": JavaAntlrLibraryV1,
"java_protobuf_library": JavaProtobufLibraryV1,
"java_ragel_library": JavaRagelLibraryV1,
"java_thrift_library": JavaThriftLibraryV1,
"java_wire_library": JavaWireLibraryV1,
"python_antlr_library": PythonAntlrLibraryV1,
"python_thrift_library": PythonThriftLibraryV1,
"python_grpcio_library": PythonGrpcioLibraryV1,
"jaxb_library": JaxbLibraryV1,
}
)
def register_goals():
task(name="thrift-java", action=ApacheThriftJavaGen).install("gen")
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: pantsbuild/pants
Commit Name: aa8d52e1a3e0fa1f3d8fdbf4877fa29fb013b818
Time: 2020-04-07
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/codegen/register.py
Class Name:
Method Name: build_file_aliases
Project Name: pantsbuild/pants
Commit Name: db453250869129460954c1fa45365a0cc7b26d52
Time: 2020-04-03
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/rules/core/filedeps_test.py
Class Name: FileDepsTest
Method Name: alias_groups
Project Name: pantsbuild/pants
Commit Name: 6af8bc8142ec5575947b8f87dccdf629bc4c45b7
Time: 2020-07-02
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: tests/python/pants_test/backend/python/test_pants_requirement.py
Class Name: PantsRequirementTest
Method Name: alias_groups
Project Name: pantsbuild/pants
Commit Name: 6e73f455c181e545922b293747a64ebf8f6e87bf
Time: 2020-05-31
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/backend/python/tasks/python_task_test_base.py
Class Name: PythonTaskTestBase
Method Name: alias_groups