Skip to content

Instantly share code, notes, and snippets.

View joseivanlopez's full-sized avatar

José Iván López joseivanlopez

  • Suse Linux Gmbh
  • Las Palmas de Gran Canaria
View GitHub Profile
@joseivanlopez
joseivanlopez / report.md
Last active February 14, 2017 21:13
Daily tasks report
  • (done) Create storage-ng branch in yast-autoinstallation (Rakefile, Travis, etc.)
  • (done) Add yast-autoinstallation to the storage-ng OBS project.
  • (done) Configure Jenkins for the new branch.
  • (done) Comment the offending code.
    • Only commented AutoInstallRules in order to installer works.
  • (done) Make the unit test pass (probably commenting stuff)
    • Commented modules import to avoid yast2-installation dependency.
  • Skip that tests.

Hackweek project

For this Hackweek two main objectives were proposed: (a) learn, understand and become familiar with proposal code, and (b) improve some classes with a special code smell. Let's see each one.

(a) This was harder than I expected. Proposal implementation has numerous related classes and its correct undestanding took me a while. The first two and a half days was dedicated to this task. Algorithms for deleting partitions, distributing free space or selecting best proposal were studied. Right now I have a good understanding of the code and I feel confortable working on it.

(b) Previous this week, that is, during my first two weeks at YaST teem (yes, this Hackweek came in my third week at SUSE), my workmate Ancor and me talked about different parts of the proposal that could improve. Specially, classes as PlannedVolume and PlannedVolumeList seem to have more responsibilities than they should. In the rest of the Hackweek t

Report

Tasks

  • (done) Add tests to check proposal matches bootloader requirements.
  • (done) Covered by YAML tests.
  • Others:
  • File proposal_test is too long, so it is splitted.

Yesterday

Today

  • Continue with my introduction to libstorage.

Report

  • PBI (3) StorageNG: Activate and probe inactive LVM.
  • Install VM and prepare scenarios.
  • Reproduce updater differences using old and new libstorage.
  • Research how old libstorage activates VGs.
  • Analyze how to do the same in new libstorage-ng.

Todo