Category: Development & Packaging (page 3 of 15)

All articles in this category are related to engineering teams in the Fedora Project, in particular teams working on packaging and release engineering. https://fedoraproject.org/wiki/Development

tmt hints: create a basic test

For those who still haven’t heard: tmt is now fully-supported in Packit, Fedora Continuous Integration (CI) system, and the RHEL CI system. Now you can use the same concise and consistent config to enable tests across all of them, more easily open source tests, share test coverage across releases ,and run tests as early as possible.

In the coming weeks we’ll be sharing short, bite-sized examples demonstrating tmt usage. With these, new users can get started quickly and existing users won’t miss various interesting and useful features hidden under the hood.

Here we go with the first set of examples showing how to quickly enable a simple smoke test for your component, assuming you are in your project git repository:

    sudo dnf install -y tmt
    cd git/fedora/rpms/foo
    tmt init --template mini
    vim plans/example.fmf

Adjust the example plan to run the desired command:

    summary: Basic smoke test
    execute:
        script: foo --version

The very minimal config is really just two lines:

    execute:
        script: make test

Now submit the pull request and wait for the results:

    git add .
    git checkout -b smoke-test
    git commit -m "Enable a simple smoke test"
    git push fork -u smoke-test

Eager to learn more? Not patient enough to wait for the results from the CI pipeline? Willing to safely execute tests from your laptop right now? Check the rest of the first chapter of our brand new guide to learn more.

“Houston, we have video”: Matrix video calls on the PinePhone

The Fedora Mobility SIG is working to get Fedora Linux working on mobile device. This includes the PinePhone, a smartphone built with open hardware. Many distros are working to add support for the features that smartphone users expect, including video calls. I was able to use Firefox as a fully-featured Matrix client to make video calls.

Continue reading

Fedora Packager Dashboard

This week, the Fedora Packager Dashboard left the testing period and is available for wide use. Why should you care about it? And what is it about?

Fedora Packager Dashboard is a web application designed to make the lives of Fedora Packagers easier. It aggregates and shows all the relevant data for package maintainers on one page, structured, searchable and filterable. You’ll see things like current bug reports, updates, issues regarding all your packages at one place, without needing to spend time reading your emails and/or monitoring dozens of different services one by one. Caring about your packages will be easier and less time-consuming with Fedora Packager Dashboard.

Continue reading

Software Management (RPM, DNF) 2020 retrospective

On behalf of the RPM and DNF teams, I would like to highlight changes that
have appeared in our packages in 2020. Thanks everyone for your bug
reports and patches!

Continue reading

Fedora Loves Python 2020 report

Inspired by a similar report from the Copr team, I’ve decided to look back at 2020 from the perspective of Python in Fedora (and little bit in RHEL/CentOS+EPEL as well). Here are the things we have done in Fedora (and EL) in 2020. By we I usually mean the Python Maint team at Red Hat and/or the Fedora’s Python SIG.

The year 2020 was a special year for the Python community (not only because of the pandemic), as Python 2 has finally gone out of support at the very beginning of the year, with an ultimate (somehow celebratory) release of Python 2.7.18 in April.

Continue reading

GSoC Progress Report: Dashboard for Packit (July 1 – Aug 16 2020)

Hi! I am Anchit, and I’m working on the dashboard and the API for Packit Service. If you’d like to know more about me or this project, check out my previous post here.

Continue reading

Implementation of varlink support for libnmstate – GSoC’20 nmstate project

This blog is about the varlink implementation in nmstate and my experience in this during this period. As a computer science enthusiast I’m interested in researching new topics. This project is my first experience in open source development has been a challenging experience. The project aims to enable libnmstate to be used by other programming languages, systems which don’t support python and via remote connections. I have also included some links which I referred to. I hope it will be helpful for students like me.

Continue reading

Using source-git to maintain packages in Fedora

Some time ago, we initiated a discussion on the devel list if dist-git is a good place to work. This thread received a great amount of wonderful feedback from you and we are so grateful for every messageit demonstrates the passion of the Fedora community.

If you are not familiar with how packages are being maintained in Fedora or what dist-git is, let me give you a quick summary. Every Fedora package has a dedicated git repository—a dist-git repository. It contains files needed to compile the sources and produce a binary RPM package which you can install on your Fedora Linux system. As an example, you can look at firefox dist-git repository.

This blog post is a followup to the discussion and lays out a concrete plan of what we want to do.

Continue reading

GSOC Progress Report for Linux System Roles

Student: Elvira García Ruiz

  • Fedora Account: egruiz
  • IRC: elvira (#fedora-summer-coding, #systemroles)

Summary

June was my first month as a GSOC student, and I must say is has been a tough but fun ride! I’ve been working at improving the Linux System Roles Network Role. My main focus for this summer is being able to improve the testing systems. In order to achieve that, I will introduce Pytest as a tool for the integration tests.

Continue reading

GSoC 2020 nmstate project update for June

This blog is about my experience working in nmstate project and first month in GSoC coding period. I was able to start working on implementing the varlink support mid of community bonding period. This was very helpful because I was able to identify some issues in the python varlink package that was not mentioned in documentation and I had to spend more time finding the cause of the issue. There have been minor changes to proposed code structure and project timeline after the feedback from the community members. In the beginning it was difficult to identify syntax errors in varlink interface definitions. This has been slow progress because of new issues and following are the tasks I have completed so far.

Continue reading
Olderposts Newerposts

Copyright © 2024 Fedora Community Blog

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

Theme by Anders NorenUp ↑