Escaping the dependency hell

Hello Nextcloud developers,

I just published a little blog post about https://github.com/coenjacobs/mozart. I think this is a tool that more of use would appreciate, especially the ones that have run into the composer package conflicts before :grinning:

I’d appreciate if a few apps would give this a try. If it turns out to work for some apps then we should definitely encourage this more and add it to our app dev docs.

Let me know if you have any questions!

Cheers

3 Likes

that seems to be important… so don’t you wanna make it sticky to the top of this category for a while?

It’s not a like a new or urgent matter. I would like developers to be more aware of this, but also I don’t want to rush it any make them use a tool where we don’t fully know the impact yet.

This needs more testing and getting acquainted.

1 Like

Hello Christoph,
I stumbled just over your post and it might solve a problem we (dev team of cookbook app) are facing at the moment. In your short article, you wrote, that you tested it and it seemed to work.
I wanted to ask, is there an example publicly available? I looked at the docs of the coenjacobs/mozart package but there needs to be 4 configurations: Apart from the variables dep_* that should work straight forward with PSR4, there need to be the classmap_* configurations. I do not know how to set these accordingly. Any (good) hints?

Thanks anyways for the package hint

Hi,

we have a working example with https://github.com/nextcloud/mail/blob/master/composer.json.

Hope that helps.

1 Like