[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Haskell job for jenkins.debian.org



Hi,

Am Samstag, den 18.05.2013, 18:27 +0200 schrieb Joachim Breitner:
> as discussed on IRC I’d like to contribute a Haskell job to Jenkins; see
> the attached patch.

and now with patch (I really need http://bugs.debian.org/701015
fixed)...

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata

From cbef9a856ebf584c27154d6f2b5a85f2af0d4b78 Mon Sep 17 00:00:00 2001
From: Joachim Breitner <mail@joachim-breitner.de>
Date: Sat, 18 May 2013 18:24:18 +0200
Subject: [PATCH] Add a job to check the co-installability of Haskell packages

and to ensure that the various hooks (ghc, ghc-doc, hoogle) work with
all packages.
---
 bin/chroot-installation.sh       |  2 ++
 job-cfg/chroot-installation.yaml | 24 ++++++++++++++++++++++++
 2 files changed, 26 insertions(+)

diff --git a/bin/chroot-installation.sh b/bin/chroot-installation.sh
index 11f562f..0baf3df 100755
--- a/bin/chroot-installation.sh
+++ b/bin/chroot-installation.sh
@@ -160,6 +160,8 @@ if [ "$2" != "" ] ; then
 				;;
 		full_desktop)	install_packages full_desktop $FULL_DESKTOP
 				;;
+		haskell)	install_packages 'haskell-platform.*' 'libghc-.*' hoogle
+				;;
 		developer)	install_build_depends developer $FULL_DESKTOP
 				;;
 		*)		echo "unsupported component."
diff --git a/job-cfg/chroot-installation.yaml b/job-cfg/chroot-installation.yaml
index 7443a8b..09f9b27 100644
--- a/job-cfg/chroot-installation.yaml
+++ b/job-cfg/chroot-installation.yaml
@@ -147,6 +147,10 @@
 
 - job-template:
     defaults: chroot-installation
+    name: '{name}_sid_install_haskell'
+
+- job-template:
+    defaults: chroot-installation
     name: '{name}_sid_install_developer'
 
 - job-template:
@@ -243,6 +247,10 @@
 
 - job-template:
     defaults: chroot-installation
+    name: '{name}_jessie_install_haskell'
+
+- job-template:
+    defaults: chroot-installation
     name: '{name}_jessie_install_developer'
 
 - job-template:
@@ -275,6 +283,10 @@
 
 - job-template:
     defaults: chroot-installation
+    name: '{name}_wheezy_install_haskell_upgrade_to_jessie'
+
+- job-template:
+    defaults: chroot-installation
     name: '{name}_wheezy_install_developer_upgrade_to_jessie'
 
 - job-template:
@@ -309,6 +321,10 @@
          installation_params: 'sid full_desktop'
          my_description: 'Debootstrap sid, then install four desktop environments and the most commonly used applications and packages.'
 
+      - '{name}_sid_install_haskell':
+         installation_params: 'sid haskell'
+         my_description: 'Debootstrap sid, then install all Haskell related packages.'
+
       - '{name}_sid_install_developer':
          installation_params: 'sid developer'
          my_description: 'Debootstrap sid, then install four desktop environments and the most commonly used applications and packages - and the build depends for all of these.'
@@ -408,6 +424,10 @@
          installation_params: 'jessie full_desktop'
          my_description: 'Debootstrap jessie, then install four desktop environments and the most commonly used applications and packages.'
 
+      - '{name}_jessie_install_haskell':
+         installation_params: 'jessie haskell'
+         my_description: 'Debootstrap jessie, then install all Haskell related packages.'
+
       - '{name}_jessie_install_developer':
          installation_params: 'jessie developer'
          my_description: 'Debootstrap jessie, then install four desktop environments and the most commonly used applications and packages - and the build depends for all of these.'
@@ -441,6 +461,10 @@
          installation_params: 'wheezy full_desktop jessie'
          my_description: 'Debootstrap wheezy, then install four desktop environments and the most commonly used applications and packages, then upgrade to jessie.'
 
+      - '{name}_wheezy_install_haskell_upgrade_to_jessie':
+         installation_params: 'wheezy haskell jessie'
+         my_description: 'Debootstrap wheezy, then install all Haskell related packages, then upgrade to jessie.'
+
       - '{name}_wheezy_install_developer_upgrade_to_jessie':
          installation_params: 'wheezy developer jessie'
          my_description: 'Debootstrap wheezy, then install four desktop environments and the most commonly used applications and packages - and the build depends for all of these, then upgrade to jessie.'
-- 
1.8.3.rc2

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: