abundant-london-78114
04/26/2019, 7:43 PMERROR] Invalid option 'path_by_id' under [binaries] in /Users/me/eclipse-workspace/dp/pants.ini
ERROR] Invalid scope [pycheck-pep8] in /Users/me/eclipse-workspace/dp/pants.ini
ERROR] Invalid option 'unused_deps' under [compile.zinc] in /Users/me/eclipse-workspace/dp/pants.ini
ERROR] Invalid scope [scala-platform] in /Users/me/eclipse-workspace/dp/pants.ini
ERROR] Invalid option 'version' under [gen.protoc] in /Users/me/eclipse-workspace/dp/pants.ini
Seems like many of these were refactored or removed. By reading github comments it looks like path_by_id is now under GLOBAL. The rest I haven't figured out what to do with yet. Google and docs come up dry for those.hundreds-father-404
04/26/2019, 7:58 PMwitty-crayon-22786
04/26/2019, 8:24 PM./pants dependencies ::
parsing before you move to the next version. you might not run your CI test suite for every bump, you should definitely at least parse everything, because there are a lot of deprecationsabundant-london-78114
04/26/2019, 8:26 PMabundant-london-78114
04/26/2019, 8:27 PMwitty-crayon-22786
04/26/2019, 8:27 PMabundant-london-78114
04/26/2019, 8:28 PMwitty-crayon-22786
04/26/2019, 8:28 PMabundant-london-78114
04/26/2019, 8:28 PMwitty-crayon-22786
04/26/2019, 8:28 PMabundant-london-78114
04/26/2019, 8:28 PMwitty-crayon-22786
04/26/2019, 8:28 PMwitty-crayon-22786
04/26/2019, 8:29 PMwitty-crayon-22786
04/26/2019, 8:29 PMabundant-london-78114
04/26/2019, 8:29 PMwitty-crayon-22786
04/26/2019, 8:31 PMwitty-crayon-22786
04/26/2019, 8:31 PMaloof-angle-91616
04/26/2019, 8:38 PMwe ought to document thisadding a line about how to use
./pants dependencies ::
in each version step to the deprecation policy page sounds like a good intermediate stepaloof-angle-91616
04/26/2019, 8:40 PMhundreds-father-404
04/26/2019, 8:42 PMwitty-crayon-22786
04/26/2019, 8:43 PMabundant-london-78114
04/26/2019, 9:15 PMabundant-london-78114
05/03/2019, 3:31 PMWARN] sys:1: DeprecationWarning: DEPRECATED: option 'unused_deps' in scope 'compile.zinc' will be removed in version 1.9.0.dev0.
Option has moved to `--lint-jvm-dep-check-unnecessary-deps` and is ignored in this location.
Looking at the latest docs I don't see anything about the suggested alternative flag and how to properly put it into pants.ini.abundant-london-78114
05/03/2019, 3:32 PM[lint.jvm-dep-check]
check_unnecessary_deps: ignore
witty-crayon-22786
05/03/2019, 3:57 PM./pants help lint
should show something?witty-crayon-22786
05/03/2019, 3:57 PMwitty-crayon-22786
05/03/2019, 3:57 PMabundant-london-78114
05/03/2019, 3:58 PMabundant-london-78114
05/03/2019, 3:58 PMabundant-london-78114
05/03/2019, 4:00 PMwitty-crayon-22786
05/03/2019, 4:00 PMwitty-crayon-22786
05/03/2019, 4:00 PM./pants help lint
showing: lint.jvm-dep-check options:
Checks true dependencies of a JVM target and ensures that they are consistent with BUILD files.
--lint-jvm-dep-check-missing-deps-whitelist=<str> (--lint-jvm-dep-check-missing-deps-whitelist=<str>) ..., --lint-jvm-dep-check-missing-deps-whitelist="[<str>, <str>, ...]", --lint-jvm-dep-check-missing-deps-whitelist="+[<str>, <str>, ...]" (default: [])
Don't report these targets even if they have missing deps.
--lint-jvm-dep-check-missing-direct-deps=<str> (one of: [off, warn, fatal] default: 'off')
Check for missing direct dependencies in compiled code. Reports actual
dependencies A -> B where there is no direct BUILD file dependency path from
A to B. This is a very strict check; In practice it is common to rely on
transitive, indirect dependencies, e.g., due to type inference or when the
main target in a BUILD file is modified to depend on other targets in the
same BUILD file, as an implementation detail. However it may still be useful
to use this on occasion.
--lint-jvm-dep-check-unnecessary-deps=<str> (one of: [off, warn, fatal] default: 'off')
Check for declared dependencies in compiled code that are not needed. This
is a very strict check. For example, generated code will often legitimately
have BUILD dependencies that are unused in practice.
abundant-london-78114
05/03/2019, 4:04 PMwitty-crayon-22786
05/03/2019, 4:24 PMaloof-angle-91616
05/04/2019, 12:41 AMaloof-angle-91616
05/04/2019, 12:41 AM[lint.jvm-dep-check]
check_unnecessary_deps: ignore
not raise an exception?