From owner-soc-status@FreeBSD.ORG Sat Jul 24 04:31:19 2010 Return-Path: Delivered-To: soc-status@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D0C6106566C for ; Sat, 24 Jul 2010 04:31:19 +0000 (UTC) (envelope-from dforsythe@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 67E208FC08 for ; Sat, 24 Jul 2010 04:31:19 +0000 (UTC) Received: by iwn35 with SMTP id 35so1102113iwn.13 for ; Fri, 23 Jul 2010 21:31:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=M/nUn/ZsOD14qvJqkpnbcvRDry0Irf7N9zIiJ8qXSFs=; b=lHj6xJ9VeRrGO6815temznATF6M5knUxDnW5PlBPVDadWOZXKRkK+cyHCsSQmFCagf 8jK3Y19PRvi9ZMBZgMuk/N4bqcZ/ySwrDcJam76M4L8+P9Q32NxRZrNmSRVuFULulPHv UEAeRaKKjPecYji1HVSgo9DPYp/Ss+dx4e2kY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=lQLLkmRPU5/8xJctwYctoYZ3Y3OvzNueX33xIv2GtqXWHo8KpZijSf3H4/MM9kMIew 4XRFIkJY4cRlFWjv1p8dUw8kgXVj+oXZNT5cqYSzEa8AI01BIvQM1bw32rtaG2GFGy0x MFZUWylEIn++pm5kzh7gnZNmmHOt+FhHa4KT4= MIME-Version: 1.0 Received: by 10.231.149.12 with SMTP id r12mr270241ibv.185.1279945878279; Fri, 23 Jul 2010 21:31:18 -0700 (PDT) Sender: dforsythe@gmail.com Received: by 10.231.62.199 with HTTP; Fri, 23 Jul 2010 21:31:18 -0700 (PDT) Date: Sat, 24 Jul 2010 00:31:18 -0400 X-Google-Sender-Auth: whCNfNojP39eHUoU3uohp_AVm9Q Message-ID: From: David Forsythe To: soc-status@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: [libpkg] - report #8 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 24 Jul 2010 04:31:19 -0000 This week I pretty much just worked on the proof of concept pkg_info and pkg_delete tools I've built with the library. I ran into an issue with the way I'm handling iteration through a package database and had to spend some time considering whether or not I would modify the library. Currently databases don't support a cursor (there's an internal cursor, but none available to the client), it looks like I might need to add one to make recursion a bit easier (which is helpful for resolving dependencies, conflicts, etc). Right now I rely heavily on a rewind function, so search time can get pretty huge for no good reason. I spent the rest of my time adding basic write support for packing lists. At this point the library can dump all properties for FreeBSD packages, and I expect to have write-to-database support in place in a day or two. Once that's in place, a pkg_add tool will pop up pretty quickly.