We are at the end of the summer and this means that this year Google Summer of
code is ending.
The recent changes applied now in the main branch include:
- Remove usage of
pkg_resource because it's deprecated.
- Fix elf binary check with ELF files with a prefix.
- New check for python packages with multiple .pyc files for different python
- Improve the testing framework (merged the work done during the GSoC 2023)
Summer of Code 2023 updates
The summer of code is ending and the work done by Afrid was good enough to be merged,
so I merged it the past week.
I'm really happy with the work done during the GSoC program, now we've a more
simple way to define tests for rpmlint checks mocking the rpm, so it's not
always needed to build a fake rpm binary for each new test. This will make a
lot easier to create simple tests, so I hope that we can increase the code
coverage using this new framework.
During this time Afrid has extended the
FakePkg class, so it's possible now
to define fake metadata and files with fake tags and attributes. It's not
complete and it's not a simple task to replace all the
rpm binaries used for
tests, because the
Pkg class and
RPM tags is a complex thing, but the
current state allow us to replace a lot of them. Afrid has replaced some of the
tests that uses binaries, but in the following months we can continue working
on this and replace more.
After this work, we can now start to use more the
FakePkg class in tests,
so another task that we can do is to provide some common fake pkgs to use
in different tests and new checks, so now it's possible to create fake packages
with dynamic random data, so we can extend tests with fuzz testing and maybe
this will help to improve the tool reliability.
I've participated as mentor several times now in the summer of code, and
outreachy, and almost always was a good experience. With the gnome foundation
in previous programs and this year with opensuse. These two communities
are very open to collaboration and makes the whole process really simple, for
me as mentor, and also for the intern.
I want to congratulate Afrid, because it was nice to work with him during this
summer, he has done a great work, not just technically, but communicating,
asking and finding his own solutions without requiring a continuous guidance.
He is very passionate and looks like a nice person, so I hope that he will
continue around the open source, it could be opensuse, rpmlint or any other
community, but this kind of people is what you want to find in any community.
After many years collaborating with different free software communities, it's
amazing that there are so many great people in every project, of course you can
find toxic communities and people, but in my experience, that's usually just
noise, there are a lot of nice people out there, doing a great work, and I'm
happy that young people like Afrid can be part of the free software movement,
because this is what makes the free software great, the people that is
working on it.
So Thanks a lot to Google for another summer of code, thanks to SUSE for
letting me, and encourage me, to mentor, and thanks to all the free software
developers that are out there.
I encourage everyone to participate in this kind of programs, for interns, it's
a good opportunity to learn and to make some money working on free software,
for mentors it's an opportunity to get some help in your project and help
newcomers to be part of the community.
Have a lot of fun!
There are comments.