Google Summer of Code 2018 – Coding Period (May 14th to May 28th): Initial implementation of LVM VG creation in Calamares

Hi, everyone!

Coding period has finally started and I had done some work in the implementation of LVM Volume Groups creation in Calamares. In this post, I’ll explain how I have implemented it and how my work is progressing until now.

LVM VG creation GUI

As I said here, I planned to create a button to access LVM VG creation GUI in Partition page in Calamares.  This GUI should work in a similar way to the LVM VG creation GUI as seem in KDE Partition Manager. Also it was needed to create some VG widget hierarchy to reuse in other processes (i.e. resize LVM VGs and RAID operations).

Screenshot_20180526_092426Image 1: Partition page in Calamares. Look the “New Volume Group” button.

Screenshot_20180526_092704

Image 2: Create New Volume Group GUI in Calamares.

This interface is responsible to create LVM Volume Groups with the selected LVM PVs. After this process, the new LVM VG will be created and now you can create new LVM Logical Volumes in it.

New Classes

There are some brief descriptions about the new classes involved in this process:

  • partition/jobs/CreateVolumeGroupJob: Calamares::Job to create new VGs. I’m planning to create a VolumeGroupJob hierarchy, as seem in PartitionJob.
  • partition/gui/VolumeGroupBaseDialog: Base dialog to Volume Group operations.
  • partition/gui/CreateVolumeGroupDialog: Dialog to create Volume Groups. It derives from VolumeGroupBaseDialog.
  • partition/gui/ListPhysicalVolumeWidgetItem: QListWidgetItem made to store a physical volume reference.

Conclusion

I need to do some fixes before proceeding to the other goals of this project. I’m planning to create the resize VG GUI during this week and try to improve some things in the code that I already created before pushing it to my branch and making a PR to Calamares. I’ve created a video showing these initial implementations, as you can see here:

Video 1: Google Summer of Code 2018 – Initial implementation of LVM VG creation in Calamares

Until the next post. 🙂

Anúncios

Um comentário em “Google Summer of Code 2018 – Coding Period (May 14th to May 28th): Initial implementation of LVM VG creation in Calamares

Deixe um comentário

Preencha os seus dados abaixo ou clique em um ícone para log in:

Logotipo do WordPress.com

Você está comentando utilizando sua conta WordPress.com. Sair /  Alterar )

Foto do Google+

Você está comentando utilizando sua conta Google+. Sair /  Alterar )

Imagem do Twitter

Você está comentando utilizando sua conta Twitter. Sair /  Alterar )

Foto do Facebook

Você está comentando utilizando sua conta Facebook. Sair /  Alterar )

w

Conectando a %s