From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Moritz Ulrich Newsgroups: gmane.emacs.devel Subject: Re: Continuous Integration for package.el Packages Date: Thu, 11 Jul 2013 09:43:31 +0200 Message-ID: <8738rlmti4.fsf@moritz-x230.lan> References: <8738rqk3i8.fsf@moritz-x230.lan>, NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1373528629 6428 80.91.229.3 (11 Jul 2013 07:43:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Jul 2013 07:43:49 +0000 (UTC) Cc: Emacs developers To: "Sebastian Wiesner" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 11 09:43:48 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UxBXW-0003c6-NQ for ged-emacs-devel@m.gmane.org; Thu, 11 Jul 2013 09:43:46 +0200 Original-Received: from localhost ([::1]:49339 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxBXW-0001Gd-9w for ged-emacs-devel@m.gmane.org; Thu, 11 Jul 2013 03:43:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54822) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxBXQ-0001Fy-EV for emacs-devel@gnu.org; Thu, 11 Jul 2013 03:43:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UxBXN-0004FA-1x for emacs-devel@gnu.org; Thu, 11 Jul 2013 03:43:40 -0400 Original-Received: from mail-bk0-f49.google.com ([209.85.214.49]:41080) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxBXM-0004Ew-PP for emacs-devel@gnu.org; Thu, 11 Jul 2013 03:43:36 -0400 Original-Received: by mail-bk0-f49.google.com with SMTP id mz10so3176126bkb.8 for ; Thu, 11 Jul 2013 00:43:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:references:user-agent:in-reply-to:date :message-id:mime-version:content-type:x-gm-message-state; bh=G09AfSIPjh43BUxfuLC4Sgqz9KFkcNmDK/fTxmrhtLw=; b=Y71fWeNRoUXIZvbFZMpFhi9irgy9mUeXREdGOEVmpIIzPyz4TKCnXQEi703SKyS0BP 8K+2cuYvok5g0hdgNMHzxGPJdyV6tSr/uwVQmRWhWoUohwoc3jMmkBpMAOTBM0ssjwvI WVZxKGagQiohgm719DguQhp5PSRpYAjXMEFkJ+0ZH37cosWhK9gn3GiGTeuHaYmWdlJY JJm7ed6tPEJ573RxJtEC1UDMHhLjU6a+gcClMR9yANsdvrRQHu0REpkaD4gqTX4pEAgw 8LvqLsyJnXcAobGWZdByE4ioeZaej3jyVkp8OHt9JPGkjjHRpaB4r02gmlp/7H2PmUtU Yq6w== X-Received: by 10.204.228.76 with SMTP id jd12mr5471238bkb.133.1373528615651; Thu, 11 Jul 2013 00:43:35 -0700 (PDT) Original-Received: from moritz-x230.lan (pd956ba09.dip0.t-ipconnect.de. [217.86.186.9]) by mx.google.com with ESMTPSA id fc7sm7731245bkc.3.2013.07.11.00.43.34 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 11 Jul 2013 00:43:34 -0700 (PDT) User-agent: mu4e 0.9.9; emacs 24.3.1 In-reply-to: X-Gm-Message-State: ALoCoQm2KZjOYSFWT7PtQnZI9IA4+IuercsS5Bqeq0wRnL41Hlo/gaTkNKRIt2mdtoC2BewzeWM5 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.214.49 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:161820 Archived-At: Sebastian Wiesner writes: > 2013/7/7 Moritz Ulrich : >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA256 >> >> >> Hello, >> >> During my efforts to integrate package.el packages into the Nix[1] >> package manager, I started running automatic builds on all packages >> available in GNU ELPA and Marmalade packages. > > Do you intend to test MELPA, too? It builds snapshot versions, which > are more interesting to test. I'll see if I find time to setup MELPA too. You're right - it's more interesting. >> The results are available on my Hydra instance[2]. Most build errors are >> caused by missing 'Version' headers. Some others fail because they >> depend on packages neither available in ELPA nor in Marmalade (visible >> in the 'Evaluation Errors' tab). >> >> The code implementing all this is available on Github[3]. A cronjob >> fetches new releases every four hours, Hydra starts building soon after. >> >> What do you think of this? Is it useful? Does your build fails, even if >> it works on your local Emacs instance? Please tell me! > > To be honest, it is not useful for me. > > I already have a more powerful setup for automatically build and test > my Flycheck package. It's based on Carton and Vagrant to create > automated and repeatable VMs for local unit testing and Travis CI to > build my package and run my ERT tests after every single push. > > As long as you do not run my ERT tests with all necessary dependencies > (beyond just package.el deps), you don't tell me anything I didn't > already know. The code currently loads all .el files with 'test' in their name and runs ert afterwards. This won't work with non-package.el dependencies though. Nix blocks access on environment which isn't explicitly listed in the buildInputs. To add native dependencies, package.el would need a new dependency field listing native dependencies. This won't be easy, but would make installations way more reproducible. -- Moritz Ulrich