proud-policeman-38871
03/20/2025, 2:47 PMsrc/ and libraries under libs/ , and 3rd party dependencies under 3rdparty/ using a lockfile.
Different apps under src use different libraries, and pants dependencies src/appname finds the right dependencies without specifying them manually in the BUILD file for the appname.
pants package src/appname pulls all of this together wonderfully and we get unbloated pex files for each app without any dependencies not used by that app.
Wonderful I hear you say - that sounds excellent. And it is. Mostly.
We release apps under src/ using release-please. This works if files are changed in src/appname. But if we update a dependency that src/appname uses, release-please doesn't know this and doesn't bump the app.
We want to avoid versioning and packaging our libraries if we can avoid it, largely to force everything to move in lockstep and not have to maintain multiple libraries. We know this won't scale, but this works for us for now.
I have an š solution that I'd prefer to avoid that touches a file in src/appname in a workflow and commits it with a chore(deps) conventional commit message, but that feels icky so I'm interested in hearing how smarter people than me do this please.powerful-eye-58407
03/26/2025, 8:29 AMproud-policeman-38871
03/26/2025, 8:30 AMproud-policeman-38871
03/26/2025, 8:31 AM.release-trigger.txt and committed - commit messages are taken from the dependencies that were updatedproud-policeman-38871
03/26/2025, 8:40 AMpowerful-eye-58407
03/26/2025, 8:42 AMproud-policeman-38871
03/26/2025, 8:43 AM