loud-laptop-17949
03/01/2022, 6:44 PMsrc/django_apps/::/migrations
, but it seems that I can't do that in a BUILD file. Is there a good way around this? Or will we need to manually manage that list?wide-midnight-78598
03/01/2022, 6:51 PMfiles
or resources
target and depending on that?loud-laptop-17949
03/01/2022, 6:55 PMpython_sources()
pex_binary(
name="manage",
entry_point="manage.py",
dependencies= [
"src/django_apps/:/migrations:migrations",
]
)
:
in the middle won't work as a wildcardwide-midnight-78598
03/01/2022, 6:59 PMfiles(
name="mymigrationstuff",
sources=["**/migrations/*.py"]
)
# This is just here so I could sanity test this glob
archive(
name="arch",
format="zip",
files=[":mymigrationstuff"]
)
loud-laptop-17949
03/01/2022, 7:42 PMwide-midnight-78598
03/01/2022, 7:44 PMeager-dress-66405
03/02/2022, 5:36 AMhundreds-father-404
03/03/2022, 10:58 PMdependencies_globs
field - the idea of having a distinct field is a really interesting one imo that resolves my major concerneager-dress-66405
03/03/2022, 11:05 PMhundreds-father-404
03/03/2022, 11:08 PMdependency_globs
moving into Pants core! A big question I'd have is whether dependency_globs
should be sources paths -> finding the Owners
of those sources, vs. some new glob syntax for `Address`es.
That new glob syntax is what I'm less confident on, given how complex Address syntax already is. I don't love the idea of inventing Yet Another Syntax to learn. I guess we do have dir:
and dir::
globs for addresses thoeager-dress-66405
03/04/2022, 1:48 AMhundreds-father-404
03/04/2022, 6:06 AMsetup_py()
kwargs plugin hook, for example. Unclear to me