Git commit signing in kde overlay

Recently with 1.7.9 release git gets support for git commit signing. This was one of the last show stoppers to migrate gentoo-x86 tree from cvs to git. In recent portage versions like 2.1.10.45 and 2.2.0_alpha85 support for git gpg signed commits was also added. So in kde overlay we decided to test with feature with thin manifests.

New repoman can use git gpg signed commits if you do the following thing

  1. Enable special tag in metadata/layout.conf
    sign-commits = true
  2. Install git >=1.7.9
  3. Configure your gpg sign key for git via
    git config --global user.signingkey $KEYID

After first commit you can chek that gpg signature was added to special field in commit via

git log --show-signature

It will look like this

commit 9b3cafc7efb2c17b0f2baffae530196014967921
gpg: enabled debug flags: memstat
gpg: Signature made Sun Feb 5 21:06:06 2012 MSK using RSA key ID F82F92E6
gpg: Good signature from “Alexey Shvetsov ”
gpg: aka “Alexey ‘alexxy’ Shvetsov ”
gpg: aka “Alexey ‘alexxy’ Shvetsov ”
gpg: aka “Alexey Shvetsov ”
random usage: poolsize=600 mixed=0 polls=0/0 added=0/0
outmix=0 getlvl1=0/0 getlvl2=0/0
secmem usage: 0/32768 bytes in 0 blocks
Author: Alexey Shvetsov
Date: Sun Feb 5 21:05:48 2012 +0400

[metadata] Enable git signed commits by default

Signed-off-by: Alexey Shvetsov

OFED in gentoo

Most recent HPC envirements usualy uses Infiniband hw. Today I moved full OFED stack from science overlay to main tree. So now gentoo support Infiniband and iWARP rdma devices out of the box =)

delta-force ~ # ibstatus
Infiniband device 'mlx4_0' port 1 status:
default gid: fe80:0000:0000:0000:001e:0bff:ff4c:7db9
base lid: 0x2
sm lid: 0x4
state: 4: ACTIVE
phys state: 5: LinkUp
rate: 20 Gb/sec (4X DDR)
link_layer: InfiniBand

Infiniband device 'mlx4_0' port 2 status:
default gid: fe80:0000:0000:0000:001e:0bff:ff4c:7dba
base lid: 0x0
sm lid: 0x0
state: 1: DOWN
phys state: 2: Polling
rate: 10 Gb/sec (4X)
link_layer: InfiniBand

PS: infiniband stuff lives under sys-infiniband category
PPS: seems in current time gentoo is only distro which support infiniband hw out of the box

Some interesting stats about gentoo portage tree

There is interesting question: How old are ebuilds in tree? (in term when they were touched last time)

So using simple oneliner we can gather ebuilds by year

# for i in `seq 2004 2010`; do echo -n "${i} "; qgrep -e "\-${i} Gentoo" | wc -l; done

Ebuild distribution by year

Since we currently has 4 active EAPI’s in tree another interesting question was: How EAPI’s are distributed across tree?

EAPI distribution