Entradas

Mostrando entradas de junio, 2024

GSoC: Week 3-4

Imagen
  Hello!! I am back again with another GSoC report. In this blog post I will share what I worked on the 3rd and 4th week of Google Summer of Code!😄 After talking to my mentor, we decided to replace the simpler-looking binary files with FakePkg with metadata and files, similar to how I discussed in the previous post, to leave the more complicated ones for last.  Therefore, some of these files are: - test_sysvinitonsystemd  - test_pam_modules  - test_pkgconfig  - test_menuxdg  - test_mixed_ownership  - test_LSB  Looking ahead to the next few weeks, the goal is to focus on the development of more complex tests, so if you are interested don't miss the following blog posts!  See you soon!👋

GSoC: Week 1-2

Imagen
  Hello again! It's been two weeks since the GSoC coding period officially began. 😊 The first week was mainly spent familiarizing myself with the rpmlint environment and establish a first contact with my mentor. After two sessions with my mentor, the first task to be carried out will be to replace binary rpm (located in test/binary), which are used only to test simple functions, with FakePkg with metadata and files. This way, it is possible to remove the number of binaries and it will be easier to understand what the tests are doing. An example is shown below: For example, in the "test_tmp_files.py" file we initially find the following code: and after modifying it, it will be as follows: The content of "TMPFILES" has been defined in a mock file to show greater readability and clarity in the code: As you can see, I have to make use of this helper function "get_tested_mock_package", defined in the "Testing.py" file: This is what I have been do