hundreds-father-404
12/31/2019, 12:44 AMoptionable_rule
to subsystem_rule
? The only time we use it is when registering a Subsystem with the engine — I don’t think we need the flexibility that comes with Optionable
The first time I read optionable_rule
, I mistook it for optional_rule
, which confused me. Likewise, Subsystem
is a more concrete concept than Optionable
hundreds-breakfast-49010
12/31/2019, 6:48 PMstrip
on the libengine_cffi.so
binary that cargo outputs, we can reduce the size from ~160 MB to 12 MBhundreds-breakfast-49010
12/31/2019, 6:49 PMhundreds-breakfast-49010
12/31/2019, 6:49 PMhundreds-breakfast-49010
12/31/2019, 6:50 PMhundreds-breakfast-49010
12/31/2019, 6:57 PMhundreds-breakfast-49010
12/31/2019, 9:23 PMhundreds-breakfast-49010
12/31/2019, 9:23 PMaloof-angle-91616
01/02/2020, 7:12 AMstore::local::Store
is super nice!!! thank you for turning the v2 CAS fs api into such a joy!hundreds-breakfast-49010
01/02/2020, 8:32 PMaloof-angle-91616
01/04/2020, 11:19 PMaverage-vr-56795
01/06/2020, 5:20 PMscalafix
which does the equivalent to your --fmt --fmt-only=scalafix
proposed flag! I know this because when you added the Scalafix
subsystem, and took the option scope, we started getting errors 😄 How sad would you be if I added a v1 --fmt-only
flag which only accepts not being set, or accepts exactly scalafix
(i.e. not do the fully general solution) to help us with migration?witty-crayon-22786
01/06/2020, 5:40 PMwitty-crayon-22786
01/06/2020, 5:40 PMhundreds-father-404
01/06/2020, 10:55 PMSpec
to AddressSpec
. Why?
We don’t want to expand the current definition of Spec
to include files - it’s a very useful abstraction as is, e.g. that we have logic for SingleAddress
.
At the same time, “specs” is a very useful namespace to describe your specifications for what you want to run against. We would have AddressSpec
, and FileSpec
(maybe DirectorySpec
?). All of these things are `Spec`s.
This is a more sound model than something like Spec
, File
, and Directory
, which are all PositionalArg
. PositionalArg
is an implementation detail - the real core idea is that this is a specification for something to run against.
--
Thoughts and/or opposition?average-vr-56795
01/07/2020, 2:13 PM@rule
decorator?hundreds-father-404
01/07/2020, 5:06 PMAddressSpec
discussion. I think the other type of top-level Spec
should be a FilesystemSpec
, which may either be a FileSpec
, DirectorySpec
, and some still-unknown type for globs. Rules would then request AddressSpec
or FilesystemSpec
It wasn’t clear to me until recently that FileSpec
and DirectorySpec
need to have the same superclass so that rules can request FilesystemSpecs
without caring whether users specifying them as files or directories, just as they don’t care how AddressSpecs
were specified on the command line.
Sound good?average-vr-56795
01/08/2020, 12:11 PMwitty-crayon-22786
01/08/2020, 5:13 PMaverage-vr-56795
01/08/2020, 5:15 PM./pants test --debug
didn’t work but ./pants test --test-debug
didwitty-crayon-22786
01/08/2020, 5:16 PMhappy-kitchen-89482
01/08/2020, 5:42 PMhappy-kitchen-89482
01/08/2020, 5:43 PMTransitiveHydratedTargets.closure
in topological order? What is the canonical way to get the dep closure of some targets in t-order?hundreds-father-404
01/08/2020, 5:44 PMaloof-angle-91616
01/08/2020, 5:45 PMwitty-crayon-22786
01/08/2020, 5:51 PM./pants test --test-debug
...?aloof-angle-91616
01/08/2020, 5:53 PMgoal.task
syntax which i was under the impression was the confusion everyone is speaking ofhundreds-father-404
01/08/2020, 5:53 PMi was just referring to the goal.task syntaxAh, that’s going away no matter what because there won’t be any more tasks
witty-crayon-22786
01/08/2020, 5:55 PMaloof-angle-91616
01/08/2020, 5:55 PM