RSSAmplifier

Blog

Le blog de pingou

Le blog de pingou, ses actualités sur Fedora, ses RPMs, ses tests, son Linux... :-) Pingou's weblog, his fedora's news, his RPMs, his tests, his Linux... :-)

blog.pingoured.frRSS feed ↗20 posts

Latest posts

Using quay.io to host multi-architecture containers

Recently I have worked on a container that I wanted to be able to use on both x86_64 and aarch64 (in other words, on my regular laptop as well as on my raspberry pi). I could build the container on the laptop, push it to quay.io but then the container was failing to start on the raspberry pi, and obviously, the other way around as well. The question was then: how to make it so that I could easily…

Screencast and editing

Recently I have had to prepare a couple of demo about some work I have been doing. As my internet connection isn't the fastest, I chose to do a screencast that I could then upload somewhere and share. This prevented issues with my internet as well as gave me the possibility to show the full thing by editing the recording. However, I ran into a few problems. I first tried quite a few screencast…

Clearing up repositories meta-data when using Image Builder

If you use Image Builder to create image (say OSTree images) and you've added to the sources a RPM repository that changes its metadata frequently (say a copr repo), you may run into this situation: A build failed because of a missing dependency You fix the situation by fixing your (thus frequently changing) repo You start a new run of Image Builder The new run fails with the same error This is…

Creating virtual machines in your home folder

I use virt-manager to create and manage the virtual machines running on my laptops. However, by default, virt-manager wants to store the disk image for any new virtual machine it creates on /root/.local/share/libvirt/images/... (on Fedora 34, I remember it was on /var/lib/ on some earlier releases). The issue is that my / is on a different partition than my /home and this one is much larger (400G)…

datanommer/datagrepper investigations

A few team members of the CPE team have investigated how to improve the performances of datanommer/ datagrepper . A little while ago, we announced that we would be look at optimization for datanommer/datagrepper. The main issue being that it has grown over the course of its life (it's been running for 9 years now!) and the 180 millions messages are all stored in a single table making the…

Retrieving the monitoring statuses of someone's packages

Recently we announced on devel-announce the upcoming changes to integrate anitya with dist-git . Following this announcement, Till H. asked if there was a way to have an overview of the monitoring status of all the packages they maintain. I have replied that there is no such thing today but that I could cook up a little script to help with this. So here it is: get_monitoring_status.py Since the…

No more comments

Just a small heads-up that I am hereby closing comments on this blog. The amount of spam I get versus legitimate comment is too high. Thanks to everyone who ever commented on this blog!

Fedora Infrastructure Hackathon 2018

This week, a good part of the Fedora Infrastructure team as well as some members from the CentOS Infrastructure team met up in Frederisksburg (Virginia, USA) for a few days of hacking together. The least I can say is that the week has been really productive. It started with an effort on trying to refresh the documentation for packagers, trying to update it for the new workflow put in place since…

Spec change statistics

Over the last couple of days I took a look at all the spec files in Fedora . I wanted to find out how many packages have not been updated by someone else than release engineering for mass-rebuilds. Here is a graphical representation of the data: And some numbers: 20994 spec files considered 11 have unknown last date changed (could be that only Dennis changed those or something was wrong with their…

Introducing simple-koji-ci

simple-koji-ci is a small fedmsg -based service that just got deployed in the Fedora Infrastructure. It aims at doing something really simple: for each pull-request opened in pagure on dist-git , kick off a scratch-build in koji and report the outcome of this build to the pull-request. This way, when someone opens a pull-request against a package that you are maintaining you can quickly see if…

Flock 2017 - Day 1

Today was the first day of the Flock 2017 conference in Cape Code. I arrived there on Sunday, giving me a little time to adjust to the jet lag so I was somewhat ready for this first day. It started with the traditional talk from the Fedora Project Leader about the State of Fedora, updating us on statistics and explaining some of the challenges we as a community are facing and are working on.…

Some stats about our dist-git and updates

I recently started looking at our dist-git usage but my data was a little limited. Instead of querying datagrepper I managed to access directly the data in the database to get some stats: Dist-git commits Here is the output: Over 1582 days (from 2012-10-08 to 2017-02-28) There was an average of 376.300884956 commits per day The median is of 327.0 commits per day The minimum number of commits was 1…

Some stats about our dist-git usage

You may have heard that there are some thoughts going on around integrating some continuous integration for our packaging work in Fedora. Having in mind the question about how much resources we would need to offer CI in Fedora, I tried to gather some stats about our dist-git usage. Querying datagrepper was as always the way to go, although the amount of data in datagrepper is such that it starts…

Back from Flock 2016

Flock is always a peculiar time of the year for me. For one it is one of the few time I get to meet with my colleagues but more than that, it's also one of the few time I get to spend a few days with fellows from this Fedora community that is so dear to me. I have to say that this year was no exception. Flock 2016 has been really nice. I can, of course, only speak for myself, but from what I have…

Profiling in python

When working on FMN's new architecture I been wanted to profile a little bit the application, to see where it spends most of its time. I knew about the classic cProfile builtin in python but it didn't quite fit my needs since I wanted to profile a very specific part of my code, preferrably without refactoring it in such a way that I could use cProfile. Searching for a solution using cProfile (or…

New FMN architecture and tests

New FMN architecture and tests Introduction FMN is the FedMsg Notification service. It allows any contributors (or actually, anyone with a FAS account) to tune what notification they want to receive and how. For example it allows saying things like: Send me a notification on IRC for every package I maintain that has successfully built on koji Send me a notification by email for every request made…

Playing with FMN

On Friday, I have been started to play with FMN Currently, there is a fedmsg consumer that listens to the messages coming from all over the Fedora infrastructure, then based on the preferences set in FMN's web UI it decides whether to send a notification and how. There has been thoughts on reworking the process to allow splitting it over multiple nodes. The idea is to do something like this: +->…

Monitor performances of WSGI apps

Accessing pagure's performances via mod_wsgi-express Graham Dumpleton has written a series of blog post on monitoring WSGI performances: Returning a string as the iterable from a WSGI application Monitoring the response content from a WSGI application Performance monitoring of real WSGI application traffic Discussing with Ralph Bean about it I wanted to test a little Graham's script, see if maybe…

Setting up pagure on a banana pi

This is a small blog post about setting up pagure on a banana pi . My friend Kushal recently convinced me to buy a small banana pi to play with. I installed the Fedora 23 ARM server image on it, works like a charm and today I thought of trying to set-up pagure on it. I figured this was worth a little blog post. So here we go 1/ Install the image on the SD card: For me it was something like: sudo…

Testing distgit in staging with fedpkgstg

Every once in a while we make changes to dist-git in the Fedora infrastructure. This means, we need to test our changes to make sure they do not break (ideally, at all). These days, we are working on adding namespacing to our git repos so that we can support delivering something else than rpms (the first use-case being, docker). So with the current set-up we have, we added namespacing to pkgdb…