billowy-crowd-51528
09/16/2023, 2:21 AM__dependents_rules__(
# If it's a service, cant depend on another service.
(
({"path": "//src/services/<GLOB VARIABLE>/**" # Selector
("!//src/services/!<GLOB VARIABLE>/**"), # DENY other services.
("*") # Allow everything else
),
....
)
billowy-crowd-51528
09/16/2023, 2:24 AMBUILD <-- where I'm putting the rules above
src
libs
libOne
libTwo
services
serviceA
BUILD
...
serviceB
BUILD
...
fast-nail-55400
09/16/2023, 2:42 AMBUILD
file syntax is Python syntax. You can probably just use f
-string there.brainy-summer-18729
09/16/2023, 5:40 PMbrainy-summer-18729
09/16/2023, 5:40 PMbillowy-crowd-51528
09/16/2023, 10:51 PMrequirements.txt
for everything—and then each service can have its own requirements.txt
file that would be added on top of the shared onefresh-cat-90827
09/18/2023, 9:12 AMfresh-cat-90827
09/18/2023, 9:14 AM