<#20509 Managing parts of a monorepo as a separate...
# github-notifications
c
#20509 Managing parts of a monorepo as a separate repository Issue created by jfelding Is your feature request related to a problem? Please describe. I have a monorepo related to a larger python project with many components. Some of them are related in that they utilize other parts of the monorepo. I'm really enjoying pants for this project! However, I would now like to open source one of the "components" of the project that may be useful for others. It may be beyond the scope of pants, but it would be great if pants could help me keep the open source github repo up to date and compile all the 1st party dependencies in the monorepo. Preferably with all the benefits of pants, like formatting, etc. Today, I would use
python_distribution
to generate this distribution, unpack it in my open source repo and commit changes. Describe the solution you'd like I'd like a pants build target for deploying or comitting/updating part of a monorepo as a separate pants-independent git repo with support for CI/CD actions like performing automatic formatting, dependency license compliance checking or release tagging. Describe alternatives you've considered • The CI/CD actions I have described are not necessary for this feature, as they can be integrated elsewhere, like with GitHub Actions. • Of course I could extract the component that I want to open source from the monorepo, but I would like to continue to be able to flexibly update parts of the codebase that my main project relies on. • using a target like
python_distribution
as described pantsbuild/pants