From owner-soc-status@FreeBSD.ORG Sun Aug 25 21:51:41 2013 Return-Path: Delivered-To: soc-status@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 95A3C8CD for ; Sun, 25 Aug 2013 21:51:41 +0000 (UTC) (envelope-from mbw500@york.ac.uk) Received: from mail-ie0-f169.google.com (mail-ie0-f169.google.com [209.85.223.169]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6832924AA for ; Sun, 25 Aug 2013 21:51:40 +0000 (UTC) Received: by mail-ie0-f169.google.com with SMTP id 10so3998920ied.28 for ; Sun, 25 Aug 2013 14:51:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to:cc :content-type; bh=+ehQRi8jLOrTjSKYvUi9ZxYe60T9/bF0vaowvDI9iAU=; b=Flt908eC+Z6x4ddKHH1ed0gunJhrZ1QJ8Q1HDHsAOOzWYwiGqV/qz/oI+h/4giLXqm ZXCv+6oDSBb0dby7JDHOkWHH618M4JhBbzto2LsKeso3dYiUwPEcMl0X3hMssiDxdYu8 8l9AT0pmjQm2UkweLt/zR7F7XhSxaDnAO0UtaAFHqXeTlQdjPEU88JCBdKy3jY/OYNfU G6Z9mjCvLWyRiP7rkA2eqpFAcku6iNTjTWcjxQnlXS8aWINNfoUO/17KC5w0UyYTXh9l 7Pq+BhhdFFnOk363qmyl5sG8yTpvLyTPPVI0sSGwJhM+3dLHFb3sQbCdDrJW+Q84483t I6Dg== X-Gm-Message-State: ALoCoQnDGDsPPG6BfB7KS4a9phgqPEwkL2yNCbZrXNUKb4paZziih/GmFv3oVCI4kF4i6heCLzSr MIME-Version: 1.0 X-Received: by 10.50.134.162 with SMTP id pl2mr4599703igb.55.1377467500332; Sun, 25 Aug 2013 14:51:40 -0700 (PDT) Received: by 10.43.102.193 with HTTP; Sun, 25 Aug 2013 14:51:40 -0700 (PDT) Date: Sun, 25 Aug 2013 21:51:40 +0000 Message-ID: Subject: Re: GSoC Status: Week 10 From: Matthew Windsor To: soc-status@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Justin Edward Muniz , Eitan Adler X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Aug 2013 21:51:41 -0000 Hi everyone, The query code refactor is now mostly done- it's there, but there are some bugs to be ironed out (more specifically, Resolve seems to have broken, so packages currently need to be specified by ID. I haven't tested jobs either, which now use some of the same code. GetDepends and GetRequires are now both in situ. Quick checks reveal that they are outputting packages, but the code I cooked up to check to see if a dependency is in the database seems to be failing as all of the packages are showing up as "no information available". I'll try fixing this tomorrow. I've had a quick go with ATF/kyua and I think it's a tool I could get used to. There are some ATF tests for the query ID parts of the new query code, and I'd like to get the ball rolling on testing with some more ATF for the various parts of the code that can be tested in isolation from the database. (This is a good incentive to separate things out into functions more!) I haven't tried implementing Cancel yet. I think this might end up being an if-time-left-at-the-end job. Finally, the changes to queries have knocked out some of the error and progress reporting, and I'm currently not certain as to the best way to reimplement this. I think I might introduce some new enumerations for error reporting to replace the current "succeeded?" true/false return value in places. ~Matt