From owner-soc-status@FreeBSD.ORG Sun Jul 14 16:53:23 2013 Return-Path: Delivered-To: soc-status@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3129B706 for ; Sun, 14 Jul 2013 16:53:23 +0000 (UTC) (envelope-from mbw500@york.ac.uk) Received: from mail-ea0-f175.google.com (mail-ea0-f175.google.com [209.85.215.175]) by mx1.freebsd.org (Postfix) with ESMTP id B63C193E for ; Sun, 14 Jul 2013 16:53:22 +0000 (UTC) Received: by mail-ea0-f175.google.com with SMTP id z7so7281055eaf.34 for ; Sun, 14 Jul 2013 09:53:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:x-x-sender:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version:content-type:x-gm-message-state; bh=Nle6XWXlx6vUf/1K1xpw3b6JRN3CR4+RJHYMi8gmLbs=; b=ofPPl1iWt3dg8809ED99Wo8uFIM2/mfyo95Qgl8lhTe2Zi9qM413HT9Fc+39iH3wQO T5ImV5cb8DAyWjoFpGeqxlIj4GarXA/F9auJUVC+rlP6kwFdIamyoOI51cZ2tVWWltx1 ew9A4nU+cyvho0Asu2UaodCqr+x2xAif5rcxVsTOyNe9SwoHWUdemSi068ZwqshSEX19 pYFmP4t9zqnU/XS8i1gOGRYzgmkRGCpkyFrlTiOXAF8lhgS/4c/+Z3WkJGz2SC4NkY6+ QT6TdpetflqvrVALzR5MNCMukDI9T0kvEw8lazfetZmsJ6uY0K15+hkNUAW2j9P3432J Imuw== X-Received: by 10.15.50.132 with SMTP id l4mr54196501eew.122.1373820795985; Sun, 14 Jul 2013 09:53:15 -0700 (PDT) Received: from [192.168.0.120] (cpc9-harg5-2-0-cust65.7-1.cable.virginmedia.com. [81.102.218.66]) by mx.google.com with ESMTPSA id b3sm95866148eev.10.2013.07.14.09.53.13 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 14 Jul 2013 09:53:15 -0700 (PDT) Date: Sun, 14 Jul 2013 17:53:13 +0100 (BST) From: Matt Windsor X-X-Sender: mattbw@cavalier To: soc-status@freebsd.org Subject: GSoC status - Week 4 In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Gm-Message-State: ALoCoQmf25dPkOofvKC2+o2WsO5nl1EaMdIPU6KzrQ9idskqJ3JWQk/hL4GO/nwU7x0WG0iP9/IJ Cc: jmuniz@freebsd.org, eadler@freebsd.org 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, 14 Jul 2013 16:53:23 -0000 Hi again, A slightly less productive week this time, in that RemovePackages has been implemented in its most basic form (none of the flags sent to the backend_remove_packages function work yet). I'll probably investigate how to provide or properly step around the other functionality when the week I earmarked for remote updates comes up, as that was implemented last week. Most of the work this week has been, as ever, shuffling what already exists to accommodate more functionality. Jobs and searches are now somewhat abstracted (indeed, currently the main difference between installing and removing is changing around the job type and failure error enums, and the difference between group and name search is mainly passing a different match string and field requirements to the same "search and emit package matches via PackageKit" function. Another notable changeset this week is the way group matches to port categories work: - When matching against packages, the first pkg_category will be used if available, with a fallback to the old behaviour of snipping the port directory off the origin and matching that; (To be tested) - The group-category mapping is now stored in a whitespace-delimited text file, backends/groups, as opposed to living in C source. Currently, this is massaged by a sort/awk pipeline into becoming a C array; if I can figure out where to place the file in the filesystem, this could become a runtime read instead; - The mapping is now bsearch'd instead of linearly searched, which probably saves precious nanoseconds of time =D All in all, not an amazingly eventful week. Here's to next week being hopefully more productive... (Story so far: the PackageKit backend can currently search groups and names, retrieve details of packages by ID or name, install some packages with a few bugs, remove packages with no autoremove/other features implemented yet, list repositories, and list files of installed packages. Very little formal testing yet and lots of bugs and deficiencies here and there, hopefully the second term of GSoC will see a lot of testing and bug squashing.) ~Matt