curved-television-656809/16/2022, 6:57 PM
flag which is one of the (many) most awesome features in Pants, and realize that I’m missing a dependency on a targets lockfile for each resolve it is a part of.
file, which is all well and good, but it is actually the lockfile that is relevant.
busy-vase-3920209/16/2022, 7:00 PM
is" which tells you how close my brain is to weekend mode...
bah, kbd, slip
curved-television-656809/16/2022, 7:00 PM
busy-vase-3920209/16/2022, 7:01 PM
curved-television-656809/16/2022, 7:02 PM
I assumed you’d be kept busy by imanage for a good while.I am 🙂 😄
hundreds-father-40409/16/2022, 7:07 PM
target for the lockfile. There is no natural place to generate that. Whereas
can generate it for its
enough-analyst-5443409/16/2022, 7:14 PM
hundreds-father-40409/16/2022, 7:16 PM
should invalidate all Python targets where
, but it doesn't.
is imperfect and we say that in the docs
curved-television-656809/17/2022, 12:45 AM
target for the lock file and a dependency from the
to that, but I don’t want the lock file to actually be pulled into anything package wise, only used as a means to get targets to work on for the changed since option.
could work as go between, as a filter..
hundreds-father-40409/19/2022, 3:12 PM
target type, which has a
curved-television-656809/19/2022, 3:48 PM
hundreds-father-40409/19/2022, 3:49 PM
curved-television-656809/19/2022, 3:56 PM
That would be tricky to pull off because no “target generators” can synthesize aWhat if thetarget for the lockfile. There is no natural place to generate that. Whereas
_generator_sources_helpercan generate it for its
generator also generates a
as a resolve requires a lockfile, that should be fine! (and skip that if resolves are not enabled, naturally) It’s just a matter of looking up the lockfile path for the each resolve.
explicitly in the BUILD file, as I can’t add the dependency in a clean way)
> I still have no idea how we’d solve it, but at least worth documenting as an issue
I can create a ticket later tonight (It’s a hassle to switch between GH accounts, as I have another one for iManage work)https://github.com/pantsbuild/pants/pull/16934 @hundreds-father-404 I’d love some 👀 on this (when convenient), and would like picking to 2.14.x if at all possible 😉
hundreds-father-40409/21/2022, 5:08 PM