polylith 2024-06-25

We are getting closer to a 0.2.20 release. Please try out the latest 0.2.20-SNAPSHOT #25 release, which includes https://github.com/polyfy/polylith/blob/master/next-release.adoc.

Just to clarify: #458 is the only addition since snapshot #24?

And #420

👍🏻 1

Confirmed that #420 works for me (I have develop as my default initial branch).

👍 1

@tengstrand I noticed that you still cannot run the poly tool in a folder that has deps.edn but no workspace.edn -- did I ever open an issue about that?

Hmm...I know that we have talked about it at least, but don't remember if we created an issue. I don't think so, but I'm not sure.

I can't find an issue. I'll create one...

👍 1

It's included in 0.2.20-SNAPSHOT #26. Please have a try @seancorfield

Confirmed that is fixed. Warning 207: Unnecessary components were found in the wsbilling-admin project and may be removed: billing-fixtures, billing-rebill-actions. To ignore this warning, execute 'poly help check' and follow the instructions for warning 207.

That appears for info (but not check or test) -- and it's a test-only dep. So I think your fix for that recently is only a partial fix.

Okay, will have look.

Could you export your workspace and send it to me @seancorfield?

So a component (via its interface) is used in the test context, but is not recognized by the 207 warning?

It is recognized for check and test. But info reports 207.

The check and test commands do not report it.

Interesting.

You made a commit recently to include :test when calculating brick usage -- and I suspect that was done for check and test, but omitted from info?

I will have a look.

It's a very minor issue, but it repeatedly catches me out because I have a "scratch" Clojure folder that contains some bare bones deps, but it's where I create all my new/temp project folders for helping test stuff folks bring up here...