In my article from 14 months ago when I introduced Gentoo Build Publisher I wrote "Next time I will write about how one can install one's own gbp instance." Well that didn't happen. It's not that I couldn't document it, but I first wanted to make installing GBP easy. I …
Python Cannot Return Multiple Values
It is often said that Python functions can return multiple values, but this isn't really true. Often the examples given to show Python returning multiple values is something like this:
def foo(): return 1, 3 a, b = foo()
But is that really returning multiple values? No. Well then how come …
Python: Comparing timestamp strings
This article discusses how you should (and shouldn't) compare string representations of timestamps in Python.
Often times when programmers process external data there are timestamps (date and time) and usually this data comes into Python as a string, although some times it could be an integer or float. The international …
Gentoo Build Publisher: Getting failure logs
When one is performing Gentoo builds inside a CI/CD container (inside another container) and a build fails it is sometimes desirable to create a bug report at bugs.gentoo.org. Often the Gentoo developers require that you include the error output and build logs. However getting the logs out …
Exploring the Gentoo Build Publisher Dashboard
Screenshots and explanation of the new Gentoo Build Publisher dashboard.
du and hard links
If, like me, you've ever been curious about if/how coreutil's
du
command handles hard links:$ mkdir test $ mkdir test/a test/b $ dd if=/dev/zero of=test/a/a bs=1M count=1 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 …
Gentoo Build Publisher: Updates/GraphQL
I am still working on a way to make Gentoo Build Publisher easy(er) to install and use. Initially I've wanted to create Docker images for the different components. However the main issue with that is that the Jenkins builds use buildah to build Gentoo machines in containers, and while …
Testing and (false) Confidence
It is often said that one of the advantages of testing is that it gives one confidence when refactoring. And I think this is true. However sometimes poorly-written tests or incomplete testing can have the ability to give someone too much confidence.
Take the case of Gentoo Build Publisher. It …
How to install a Gentoo Build Publisher
In my previous post I explained what Gentoo Build Publisher is and how it may benefit Gentoo users, especially those with multiple heterogeneous Gentoo systems. Here I will explain how I currently have a GBP instance running for my systems at home.
Firstly you'll need a Jenkins instance. GBP currently …
Introducing Gentoo Build Publisher
Gentoo Linux is a source-based rolling-release meta-distribution that one can twist and mold into pretty much anything one likes. That's just a verbose way of saying Gentoo is awesome.
Over the years I have been interested in mixing Gentoo's source-based DNA with continuous integration. For a while I've had most …