This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-05-30
Channels
- # announcements (2)
- # babashka (3)
- # beginners (31)
- # biff (3)
- # calva (40)
- # chlorine-clover (2)
- # clerk (5)
- # clj-kondo (10)
- # clojure (13)
- # clojure-art (1)
- # clojure-denver (16)
- # clojure-europe (44)
- # clojure-nl (1)
- # clojure-norway (27)
- # clojure-sweden (3)
- # clojure-uk (1)
- # clojurescript (49)
- # clr (6)
- # community-development (2)
- # datalevin (10)
- # datomic (63)
- # events (2)
- # fulcro (9)
- # holy-lambda (15)
- # honeysql (8)
- # hoplon (6)
- # hyperfiddle (9)
- # introduce-yourself (1)
- # kaocha (1)
- # london-clojurians (2)
- # matrix (1)
- # nbb (7)
- # off-topic (38)
- # polylith (6)
- # re-frame (4)
- # reagent (2)
- # releases (3)
- # sci (13)
- # scittle (5)
- # shadow-cljs (6)
- # sql (5)
- # tools-deps (4)
- # vim (33)
- # web-security (8)
- # xtdb (2)
We have two teams with their own separate Polylith projects. Is it possible for them to share their components? For example, a developer clones each polylith project:
/home/{user}/poly1
/home/{user}/poly2
Can components be symlinked between these two projects?
/home/{user}/poly1
components/
components-2/ -- symlink --> /home/{user}/poly2/components
Or is there a better way for two teams to share components and retain the benefits of the Polylith?Is there a reason why they are separate workspaces? Polylith is designed to be a monorepo per company, rather than per team.
Agreed. However, in this case, there are two separate teams. For various internal reasons, they have separate repositories and separate corporate governance. However, it would be helpful for them to share components (lego bricks) but not bases or projects.
We are using the Python Polylith tool for our Python codebase and it works great with this pattern. The component folder is scoped under a Python namespace so sharing components is easy.
components/
namespace-1/
...team-1 components
namespace-2/ <-- symlink
...team-2 components
Hi! Just curious, are you using symlinks with the Python setup too? How do you deploy the artifacts, is it from the local dev machines?