[Nix-dev] tests with meta section

Joachim Schiele js at lastlog.de
Wed Jun 3 17:57:04 CEST 2015


On 03.06.2015 12:24, Jascha Geerds wrote:
> Great idea!

i'm ready to contribute this:
@niksnut: you are mentioned pretty often, is this ok if i add you? any
advice how we can implement this on hydra?

best wishes,
qknight




#!/run/current-system/sw/bin/bash
list=$(cat ../../lib/maintainers.nix | grep @)
for i in `ls`; do
  echo "------------- $i -------------";
  contribs=$(git log --format="%aE" $i | sort | uniq)
  for c in $contribs; do
    m=$(cat ../../lib/maintainers.nix | grep @ | grep $c | awk '{print
$1}' | sort | uniq)
    #echo $m
    array+=$m
    con+=$m
    con+=" "
  done
  echo "  meta = with stdenv.lib; {"
  echo -n "    maintainers = with maintainers; [ "
  echo -n $con
  echo " ];"
  echo "    platforms = platforms.linux;"
  echo "  };"
  con=""
done




------------- avahi.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ eelco chaoflow wizeman ];
    platforms = platforms.linux;
  };
------------- bittorrent.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ iElectric eelco chaoflow rob
wkennington ];
    platforms = platforms.linux;
  };
------------- blivet.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ aszlig ];
    platforms = platforms.linux;
  };
------------- boot.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ bobvanderlinden ];
    platforms = platforms.linux;
  };
------------- cadvisor.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ offline ];
    platforms = platforms.linux;
  };
------------- check-filesystems.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ eelco chaoflow ];
    platforms = platforms.linux;
  };
------------- chromium.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ aszlig ];
    platforms = platforms.linux;
  };
------------- cjdns.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ emery ];
    platforms = platforms.linux;
  };
------------- common -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ iElectric eelco ];
    platforms = platforms.linux;
  };
------------- containers.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ aristid aszlig eelco chaoflow ];
    platforms = platforms.linux;
  };
------------- convert.sh -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [  ];
    platforms = platforms.linux;
  };
------------- docker.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ offline ];
    platforms = platforms.linux;
  };
------------- docker-registry.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ offline ];
    platforms = platforms.linux;
  };
------------- etcd.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ offline ];
    platforms = platforms.linux;
  };
------------- firefox.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ eelco chaoflow shlevy ];
    platforms = platforms.linux;
  };
------------- firewall.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ eelco chaoflow ];
    platforms = platforms.linux;
  };
------------- fleet.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ offline ];
    platforms = platforms.linux;
  };
------------- gitlab.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ iElectric offline ];
    platforms = platforms.linux;
  };
------------- gnome3.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ iElectric eelco chaoflow lethalman ];
    platforms = platforms.linux;
  };
------------- i3wm.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ aszlig ];
    platforms = platforms.linux;
  };
------------- influxdb.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ chaoflow offline ];
    platforms = platforms.linux;
  };
------------- installer.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ raskin aszlig iElectric eelco
chaoflow wizeman shlevy wkennington ];
    platforms = platforms.linux;
  };
------------- ipv6.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ eelco chaoflow ];
    platforms = platforms.linux;
  };
------------- jenkins.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ bjornfor coconnor iElectric eelco
chaoflow ];
    platforms = platforms.linux;
  };
------------- kde4.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ iElectric eelco chaoflow ];
    platforms = platforms.linux;
  };
------------- kexec.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ eelco chaoflow ];
    platforms = platforms.linux;
  };
------------- kubernetes.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ offline ];
    platforms = platforms.linux;
  };
------------- lightdm.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ aszlig ];
    platforms = platforms.linux;
  };
------------- login.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ eelco chaoflow ];
    platforms = platforms.linux;
  };
------------- logstash.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ eelco chaoflow offline ];
    platforms = platforms.linux;
  };
------------- make-test.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ eelco ];
    platforms = platforms.linux;
  };
------------- mesos.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ offline ];
    platforms = platforms.linux;
  };
------------- misc.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ eelco chaoflow ];
    platforms = platforms.linux;
  };
------------- mpich-example.c -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ eelco ];
    platforms = platforms.linux;
  };
------------- mpich.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ eelco chaoflow ];
    platforms = platforms.linux;
  };
------------- mumble.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ thoughtpolice eelco chaoflow ];
    platforms = platforms.linux;
  };
------------- munin.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ iElectric eelco chaoflow ];
    platforms = platforms.linux;
  };
------------- mysql.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ eelco chaoflow shlevy ];
    platforms = platforms.linux;
  };
------------- mysql-replication.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ eelco chaoflow shlevy ];
    platforms = platforms.linux;
  };
------------- nat.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ eelco chaoflow rob wkennington ];
    platforms = platforms.linux;
  };
------------- networking.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ wkennington ];
    platforms = platforms.linux;
  };
------------- networking-proxy.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [  ];
    platforms = platforms.linux;
  };
------------- nfs.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ eelco chaoflow wkennington ];
    platforms = platforms.linux;
  };
------------- nsd.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ aszlig ];
    platforms = platforms.linux;
  };
------------- openssh.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ aszlig eelco chaoflow ];
    platforms = platforms.linux;
  };
------------- panamax.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ offline ];
    platforms = platforms.linux;
  };
------------- partition.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ aszlig eelco emery chaoflow ];
    platforms = platforms.linux;
  };
------------- peerflix.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ offline ];
    platforms = platforms.linux;
  };
------------- phabricator.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ chaoflow ];
    platforms = platforms.linux;
  };
------------- printing.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ iElectric eelco chaoflow jgeerds
vcunat ];
    platforms = platforms.linux;
  };
------------- proxy.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ eelco chaoflow ];
    platforms = platforms.linux;
  };
------------- quake3.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ iElectric eelco chaoflow ];
    platforms = platforms.linux;
  };
------------- rabbitmq.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ eelco chaoflow offline ];
    platforms = platforms.linux;
  };
------------- run-in-machine.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ eelco ];
    platforms = platforms.linux;
  };
------------- simple.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ eelco chaoflow ];
    platforms = platforms.linux;
  };
------------- subversion.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ eelco chaoflow ];
    platforms = platforms.linux;
  };
------------- test-config-examples.sh -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ eelco ];
    platforms = platforms.linux;
  };
------------- testdb.sql -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ eelco ];
    platforms = platforms.linux;
  };
------------- tomcat.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ eelco chaoflow ];
    platforms = platforms.linux;
  };
------------- trac.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ eelco chaoflow ];
    platforms = platforms.linux;
  };
------------- udisks2.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ eelco chaoflow ];
    platforms = platforms.linux;
  };
------------- virtualbox.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ aszlig wkennington ];
    platforms = platforms.linux;
  };
------------- xfce.nix -------------
  meta = with stdenv.lib; {
    maintainers = with maintainers; [ eelco chaoflow shlevy ];
    platforms = platforms.linux;
  };




More information about the nix-dev mailing list