Fork me on GitHub
#polylith
<
2023-11-25
>
tengstrand05:11:47

My kitty helps me review some code.

simple_smile 1
😻 9
1
😹 1
❤️ 1
seancorfield05:11:18

Mine are "helpful" like that too sometimes! 🙂

😃 2
martinklepsch17:11:07

how good of a fit would polylith be for a monorepo that wants to publish multiple different libs to clojars?

seancorfield18:11:17

I think this is a tricky proposition because if you had shared components between any libs, those namespaces would end up in both libs. One way to approach it would be to have each lib as a base, with the corresponding project defining how to build that lib -- with no components.

lread18:11:58

@U050TNB9F I was considering using polylith for cljdoc at one point... and wondering if it would be a good fit. (maybe bringing the analyzer back into a monorepo for example)

lread18:11:29

I guess any monorepo that publishes multiple libs would have to be very careful about lib compatibility and interdependence between those libs.

seancorfield18:11:24

@UE21H2HHD I wonder if, maybe, you want to call out the swappable implementation issue directly in those caveats?

lread18:11:07

Yeah, that content is still light on the crux, I think.

tengstrand07:11:56

I came up with a potential solution to this problem in issue https://github.com/polyfy/polylith/issues/212. Please have a look at my comment at the bottom of the issue and tell me what you think.

1
🙃 1
David Vujic09:11:52

Side note: In Python, this is a problem that I hadn’t thought about at first. Later on, I developed an option in the Python poly tool to generate a new top namespace during build/packaging on top of the existing structure. Python packages are installed into a ns-folder structure, and will collide/be merged when having the same namespace.

tengstrand07:11:56

I came up with a potential solution to this problem in issue https://github.com/polyfy/polylith/issues/212. Please have a look at my comment at the bottom of the issue and tell me what you think.

1
🙃 1