823bc0494ae30f6eb62015662af225369fb25fdc,src/python/pants/bin/goal_runner.py,GoalRunnerFactory,_expand_specs,#GoalRunnerFactory#Any#Any#,223

Before Change



      tag_filter = wrap_filters(create_filters(self._tag, filter_for_tag))

      for spec in specs:
        for address in self._spec_parser.parse_addresses(spec, fail_fast):
          self._build_graph.inject_address_closure(address)
          target = self._build_graph.get_target(address)
          if tag_filter(target):
            self._targets.append(target)

  def _maybe_launch_pantsd(self):
    Launches pantsd if configured to do so.
    if self._global_options.enable_pantsd:
      // Avoid runtracker output if pantsd is disabled. Otherwise, show up to inform the user its on.

After Change



      // Parse all specs into unique Spec objects.
      spec_parser = CmdLineSpecParser(self._root_dir)
      specs = OrderedSet()
      for spec_str in spec_strs:
        specs.add(spec_parser.parse_spec(spec_str))

      // Then scan them to generate unique Addresses.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: pantsbuild/pants
Commit Name: 823bc0494ae30f6eb62015662af225369fb25fdc
Time: 2016-02-17
Author: stuhood@gmail.com
File Name: src/python/pants/bin/goal_runner.py
Class Name: GoalRunnerFactory
Method Name: _expand_specs


Project Name: pantsbuild/pants
Commit Name: 9a5a95e0f7bee96b38a2119198a4545ff65f83d1
Time: 2015-08-25
Author: john.sirois@gmail.com
File Name: src/python/pants/backend/python/thrift_builder.py
Class Name: PythonThriftBuilder
Method Name: run_thrifts


Project Name: pantsbuild/pants
Commit Name: 21abe297e0b16aa5038cc8d57dbc06b74b13c884
Time: 2016-05-02
Author: nhoward@twopensource.com
File Name: contrib/scrooge/src/python/pants/contrib/scrooge/tasks/scrooge_gen.py
Class Name: ScroogeGen
Method Name: synthetic_target_extra_dependencies