curved-television-6568
05/26/2022, 9:59 AMException: Unmatched glob from CLI arguments: ".github/workflows/*"
but I can’t find where that argument is coming from.. and what’s more is that I do have files there, so it’s somthing fishy going on:
$ tree .github/workflows/
.github/workflows/
├── audit.yaml
├── cache_comparison.yaml
├── cancel.yaml
├── test-cron.yaml
└── test.yaml
0 directories, 5 files
curved-television-6568
05/26/2022, 10:01 AMmain
I should add.curved-television-6568
05/26/2022, 10:06 AMfast-nail-55400
05/26/2022, 11:49 AMcurved-television-6568
05/26/2022, 11:50 AM--changed-since
. And I’ve seen there’s a number of issues recently touching on the changed since feature… maybe related.
$ ./pants --changed-since=api_types_and_rules list
src/python/pants/help/help_printer.py
# ~/src/github/kaos/pants (api_types_and_rules *)
$ ./pants --changed-since=origin/api_types_and_rules list
13:48:34.52 [ERROR] 1 Exception encountered:
Engine traceback:
in select
in pants.vcs.changed.find_changed_owners
in pants.engine.internals.graph.find_owners
in pants.engine.internals.graph.resolve_unexpanded_targets
in pants.engine.internals.specs_rules.addresses_from_raw_specs_without_file_owners
in paths
Traceback (no traceback):
<pants native internals>
Exception: Unmatched glob from CLI arguments: ".github/workflows/*"
Do the file(s) exist? If so, check if the file(s) are in your `.gitignore` or the global `pants_ignore` option, which may result in Pants not being able to see the file(s) even though they exist on disk. Refer to <https://www.pantsbuild.org/v2.13/docs/troubleshooting#pants-cannot-find-a-file-in-your-project>.
Traceback (most recent call last):
File "/Users/x/src/github/kaos/pants/src/python/pants/bin/daemon_pants_runner.py", line 131, in single_daemonized_run
runner = LocalPantsRunner.create(
File "/Users/x/src/github/kaos/pants/src/python/pants/bin/local_pants_runner.py", line 159, in create
specs = calculate_specs(
File "/Users/x/src/github/kaos/pants/src/python/pants/init/specs_calculator.py", line 93, in calculate_specs
(changed_addresses,) = session.product_request(
File "/Users/x/src/github/kaos/pants/src/python/pants/engine/internals/scheduler.py", line 575, in product_request
self._raise_on_error([t for _, t in throws])
File "/Users/x/src/github/kaos/pants/src/python/pants/engine/internals/scheduler.py", line 510, in _raise_on_error
raise ExecutionError(
pants.engine.internals.scheduler.ExecutionError: 1 Exception encountered:
Engine traceback:
in select
in pants.vcs.changed.find_changed_owners
in pants.engine.internals.graph.find_owners
in pants.engine.internals.graph.resolve_unexpanded_targets
in pants.engine.internals.specs_rules.addresses_from_raw_specs_without_file_owners
in paths
Traceback (no traceback):
<pants native internals>
Exception: Unmatched glob from CLI arguments: ".github/workflows/*"
Do the file(s) exist? If so, check if the file(s) are in your `.gitignore` or the global `pants_ignore` option, which may result in Pants not being able to see the file(s) even though they exist on disk. Refer to <https://www.pantsbuild.org/v2.13/docs/troubleshooting#pants-cannot-find-a-file-in-your-project>.
Use -ldebug for more logs.
See <https://www.pantsbuild.org/v2.13/docs/troubleshooting> for common issues.
Consider reaching out for help: <https://www.pantsbuild.org/v2.13/docs/getting-help>
curved-television-6568
05/26/2022, 11:55 AMcurved-television-6568
05/26/2022, 12:20 PM./pants list <some-file>
where <some-file>
is not owned by a target.curved-television-6568
05/26/2022, 12:20 PMcurved-television-6568
05/26/2022, 12:20 PMcurved-television-6568
05/26/2022, 12:26 PM--changed-since
respects the unmatched-cli-globs
behavior option..curved-television-6568
05/26/2022, 12:26 PMignore
by default any how..curved-television-6568
05/26/2022, 12:35 PMcurved-television-6568
05/26/2022, 12:36 PMcurved-television-6568
05/26/2022, 12:57 PMhundreds-father-404
05/26/2022, 5:45 PMcurved-television-6568
05/26/2022, 5:49 PM