8ec8a7d4d8260c9da7f920cda61255d580e326ff,src/python/pants/bin/goal_runner.py,GoalRunnerFactory,__init__,#GoalRunnerFactory#Any#Any#Any#Any#Any#Any#Any#Any#,33

Before Change


      )
      suggestion = f"run `{pants_bin_name} {suggested_owners_args} {v1_goals}`."
      trying_to_use_globs = any("*" in spec.glob for spec in self._specs.filesystem_specs)
      if trying_to_use_globs:
        suggestion = (
          f"run `{pants_bin_name} --owner-of=src/python/f1.py --owner-of=src/python/f2.py "
          f"{v1_goals}`. (You must explicitly enumerate every file because " f"`--owner-of` does "
          f"not support globs.)"
        )
      raise FilesystemSpecsUnsupported(
        f"Instead of running `{approximate_original_command}`, {suggestion}\n\n"
        f"Why? Filesystem specs like `src/python/example.py` and `src/**/*.java` (currently) only "
        f"work when running goals implemented with the V2 engine. When using V1 goals, either use "

After Change


      )
      updated_address_specs = AddressSpecs(
        dependencies=tuple(
          SingleAddress(a.spec_path, a.target_name) for a in owned_addresses
        ),
        tags=self._specs.address_specs.matcher.tags,
        exclude_patterns=self._specs.address_specs.matcher.exclude_patterns,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: pantsbuild/pants
Commit Name: 8ec8a7d4d8260c9da7f920cda61255d580e326ff
Time: 2020-02-03
Author: ericarellano@me.com
File Name: src/python/pants/bin/goal_runner.py
Class Name: GoalRunnerFactory
Method Name: __init__


Project Name: pantsbuild/pants
Commit Name: 5971e20c7d1d76b57f11cea31d2ecd234fc48723
Time: 2018-06-08
Author: AlanVelasco.A@gmail.com
File Name: src/python/pants/init/target_roots_calculator.py
Class Name: TargetRootsCalculator
Method Name: create


Project Name: pantsbuild/pants
Commit Name: 9228ad83a3ecde2fb5a714d1eb43c7c1ee2e200b
Time: 2020-04-15
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/lint/pylint/rules_integration_test.py
Class Name: PylintIntegrationTest
Method Name: make_target_with_origin