Remove the separate Pipewire profile type#3449
Remove the separate Pipewire profile type#3449correctmost wants to merge 1 commit intoarchlinux:masterfrom
Conversation
This breaks an import cycle between applications/pipewire.py and models/audio_configuration.py.
|
I'm not sure if there was an actual import loop here? |
The import cycle doesn't cause issues at runtime because the archinstall/archinstall/lib/models/audio_configuration.py Lines 33 to 39 in b57f7f9 Although the cycle doesn't cause runtime issues, it does suggest that there are design flaws. The |
|
oh no |
|
I totally agree with @Torxed, I think everything should have been in profiles, not in methods |
I agree that the design principles here are not ideal. And I do like your suggested approach of splitting up the graph TD;
Profile-->Desktop;
Profile-->Application;
They share a lot of overlap, but I agree that |
|
I like that last suggestion @Torxed , I don't think having it in profiles makes sense as it's fundamentally something else, but having a new category application makes more sense. This could be a different directory alongside profiles with many an interface class and exposed This means that the install class doesn't grow more and more but the installation steps sit with the applications. |
|
I like the idea of having a new class for application installs. I will close this PR for now. We can revisit the import cycle after the application code is cleaned up a bit. |
PR Description:
This breaks an import cycle between applications/pipewire.py and models/audio_configuration.py: