Yeah, there is a chance… Anyway, here are my snippets and thoughts

My Overcomplicated Server Setup Part 1


My overcomplicated server setup pt.1: So far so good I was totally unhappy with my rockpi4 (that’s a lie) running on 2.5T of storage, so I had to upgrade to something reasonably bigger. This is not the post in which I would dig into hardware details, I am not an hardware expert myself, not that I am a software expert either but I know more about software rather than hardware. For this reason I will not talk about HW specs now.…
Read more ⟶

Packaging Journey Part 1


Packaging Journey pt.1: Packaging is easy Well, you just need to do things right. So this is a list of few problems I went through as a Fedora Contributor1 When you are in uni the best way to learn something is not to study it but to take the exam. Either if you pass or fail you will learn more than in a month of study. The same applies for many things such as releasing software.…
Read more ⟶

How to Delete Git Tag From Github


open up a terminal window and navigate to your local GitHub repository. git tag -d tagName git push origin :tagName If your tag has the same name as one of your branches, use this instead: git tag -d tagName git push origin :refs/tags/tagName You need to replace tagName with the tag name that you want to delete.…
Read more ⟶

How to Cut Git History the Clean Way


My use case Happened to my team and I to work on a repository that, as many others have, has a main and devel branch. The repo is dnf and, while developing dnf5, the devel branch became so different from the initial codebase that it became a new component. Here, the problem to separate the codebase from dnf to dnf5. In this specific scenario, it was convenient for my team to cut the git history, to get a lighter repo and to cut some binaries that were in the history of the old dnf.…
Read more ⟶

Packaging Journey Part 2


I recently reviewed a package: python-pyftpdlib.1 It was a simple package review but of course there were some problems, here is how it went. The story in short It is reviewer responsibility go through all the requirements for a package to be accepted in fedora. This package has a pretty simple specfile, it has no systemd scriptlets, it is a trivial package review, one might say. The package is now ready to be reviewed again and then it’s good to go.…
Read more ⟶

How to Move Commits to a New Branch


Move Git commits from some-branch to some-other-branch This is not my post, I put it here for convenience, you can find the original here1 I.e. How can I go from this master A - B - C - D - E to this? newbranch C - D - E / master A - B 1. existing branch If your branch where you want to move your commits already exists, these steps will probably do the trick.…
Read more ⟶

Cleanup Unused Resources Docker Podman


Docker - How to cleanup (unused) resources Once in a while, you may need to cleanup resources (containers, volumes, images, networks) … delete volumes1 $ docker volume rm $(docker volume ls -qf dangling=true) $ docker volume ls -qf dangling=true | xargs -r docker volume rm  delete networks $ docker network ls $ docker network ls | grep "bridge" $ docker network rm $(docker network ls | grep "bridge" | awk '/ / { print $1 }') remove docker images 2 $ docker images $ docker rmi $(docker images --filter "dangling=true" -q --no-trunc) $ docker images | grep "none" $ docker rmi $(docker images | grep "none" | awk '/ / { print $3 }') remove docker containers $ docker ps $ docker ps -a $ docker rm $(docker ps -qa --no-trunc --filter "status=exited") Resize disk space for docker vm3 $ docker-machine create --driver virtualbox --virtualbox-disk-size "40000" default https://github.…
Read more ⟶