Fork me on GitHub
#polylith
<
2023-03-07
>
dgb2315:03:07

As my personal code garden is growing, I have started to use sub namespaces in my development directory. They basically record different approaches and mini tutorials (quasi) as repl sessions. They are a nice stepping stone before writing components and I can jump back into a topic more quickly!

polylith 2
curtosis20:03:21

I’m just getting started with Polylith, so I’m wondering if there’s such a thing as a multilingual (e.g. mixed CLJ and Python) Polylith repo.

seancorfield20:03:31

Probably not. The poly tool only supports .clj but Polylith as a concept applies to all languages -- but you won't get checking and incremental testing support etc in other languages.

curtosis20:03:13

kind of what I figured. but as I said, still getting my feet wet and learning the tooling.

curtosis20:03:47

does that exclude .cljs too?

tengstrand20:03:26

No, .cljs is not supported by the poly tool.

curtosis21:03:51

tbh three monorepos would be better than our current “structure” lol

tengstrand04:03:51

A workspace can also be created https://polylith.gitbook.io/poly/architecture/workspace#existing-git-repository another monorepo, which can be useful sometimes.

oly08:03:42

If your not aware there is also https://github.com/DavidVujic/python-polylith no idea if you would be able to use one monorepo and both tools in the same repo.

😍 4
tengstrand09:03:54

Do you suppor having the workspace not living at the root of the repository, but instead as a sub directory @U018VMC8T0W?

David Vujic09:03:43

That should work!

👍 4
David Vujic09:03:18

The Python tooling is only aware of one workspace currently, so you would have to navigate into that workspace to use the tool, though.

curtosis14:03:53

that might work …. I’ll give it a go!