Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Ditch calamares in favour of a new installer. #69

Open
ajstrongdev opened this issue Dec 27, 2023 · 16 comments
Open

Feat: Ditch calamares in favour of a new installer. #69

ajstrongdev opened this issue Dec 27, 2023 · 16 comments
Assignees
Labels
Proposed Proposed idea - Looking for further discussion

Comments

@ajstrongdev
Copy link
Member

A proposal brought about by both @oklopfer and @ajstrongdev for ditching Calamares in favour of a new installer for 2024.1.

Why ditch calamares:

  • The installer looks rather ugly
  • In that same essence, we pull in qt weight for Kvantum + Calamares, it would be nicer to drop it in favour of a pure GTK4 application.
    • This would make our disk image builds smaller as well.
@ajstrongdev ajstrongdev added the Proposed Proposed idea - Looking for further discussion label Dec 27, 2023
@ajstrongdev
Copy link
Member Author

We could use https://gitlab.gnome.org/p3732/os-installer as a solid base to work from if we are creating a GTK4 based installer.

If we wish to have a more macOS-like installer, we could always look at forking: https://github.com/elementary/installer

@Elsie19
Copy link
Member

Elsie19 commented Dec 28, 2023

I disagree, calamares is well established and the de facto standard for linux installers, and it being "ugly" is entirely our fault:

Archcraft

NitruxOS

to give a couple examples.

@ajstrongdev
Copy link
Member Author

I disagree, calamares is well established, and it being "ugly" is entirely our fault:

I completely agree with that to be honest. But I do not disagree with the first points raised. We use a GTK based environment, we should aim to keep our installer GTK-based as well.

Nitrux clearly customised calamares correctly though.

@Elsie19
Copy link
Member

Elsie19 commented Dec 28, 2023

You also mention bloat, but have you actually measured the installable difference?

@Elsie19
Copy link
Member

Elsie19 commented Dec 28, 2023

We've determined the bloat is about 16MB uncompressed, so it would be further compressed when the ISO is packed.

@ajstrongdev
Copy link
Member Author

ajstrongdev commented Dec 28, 2023

We've determined the bloat is about 16MB uncompressed, so it would be further compressed when the ISO is packed.

It's pretty evident your math is wrong on that. Are you literally only checking Kvantum instead of Calamares + all the QT dependencies?

@Elsie19
Copy link
Member

Elsie19 commented Dec 28, 2023

That's only kvantum, I am checking Calamares right now.

@Elsie19
Copy link
Member

Elsie19 commented Dec 28, 2023

200MB.

@oklopfer
Copy link
Member

elsie been lying on us this whole time
its approx 360MB on the ISOs, not including kvantum
regardless, I dont want Qt defaults in our GTK enviro.

@maki406
Copy link

maki406 commented Dec 28, 2023

🐱

@holysses
Copy link

I agree with Elsie calamares is long established it works just change the themeing if you do not like it

@Elsie19
Copy link
Member

Elsie19 commented Dec 28, 2023

elsie been lying on us this whole time its approx 360MB on the ISOs, not including kvantum regardless, I dont want Qt defaults in our GTK enviro.

I checked in a docker container with XFCE already installed to get a good idea of what adding calamares would cost, so I didn't lie, it was just not the right number that the ISO actually uses.

@ajstrongdev
Copy link
Member Author

The community seems pretty clear in their wants and needs; developing an entirely new installer is a large undertaking and would divert a lot of resources when we could just make calamares more pretty.

The main concern is we can decrease the disk image size and not have any QT spill over in a GTK based environment.

@Elsie19
Copy link
Member

Elsie19 commented Dec 28, 2023

As I've said in channels but I'll put it here as well, we can use apt install --no-install-recommends in certain places where we call apt to remove some of that image dize.

As for not having any QT spill over, we can remove kvantum along with calamares when the system installs.

@oklopfer
Copy link
Member

We can’t use that flag because it’s just a package list for live-build, it’s not a custom install step. So no, we can’t easily get rid of the bloat without getting rid of Calamares altogether.

Also, we already do remove the dependencies post-install. But that means they still bloat up the ISO, which could be shrunk down quite a bit.

@ajstrongdev
Copy link
Member Author

We can’t use that flag because it’s just a package list for live-build, it’s not a custom install step. So no, we can’t easily get rid of the bloat without getting rid of Calamares altogether.

This is a very good point, as someone who is on the fence at the moment both ideas have merit to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Proposed Proposed idea - Looking for further discussion
Projects
Status: Proposed
Development

No branches or pull requests

5 participants