From owner-soc-status@FreeBSD.ORG Tue Jun 8 23:48:02 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 25A061065678; Tue, 8 Jun 2010 23:48:02 +0000 (UTC) (envelope-from julien.laffaye@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7F8DD8FC13; Tue, 8 Jun 2010 23:48:01 +0000 (UTC) Received: by bwz2 with SMTP id 2so2154288bwz.13 for ; Tue, 08 Jun 2010 16:48:00 -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:cc:content-type; bh=Hp12BEV/Ak6zdpKdRNnoc2IneUQuIUXZSEJdYV7oE7M=; b=FZ6dBaWVJtvq3/VVykAOcGjpvuDhMR7QvgNr5wM70nWicSHph4h+xHZqthluL5MtF9 xvnsnY9PGVBaL78NllwcbDBmY5vu4Z5DcxUPww6EnPIFmezdpAv6SXMYF7R7AWQ9QhGR D3TAlr5ocE7PvQ+j7Rd32EqAYEIP9LX+HfqWQ= 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:cc:content-type; b=mtoPevUuL10H/2o4lUKdTjuS0QWGOtM0HOxOG01pMB9x4BHYNGQ1ECl+kcutqn7kpg Zxq7i5o5kIpVMpc4421CdFzUve57lOpqPfSzM9WXc/zyfuzoNprzPd4AUe0xeX6MdAyG r4IpnRueVPuVU8M5pX+GjERXE9OVLwiGIgPEI= MIME-Version: 1.0 Received: by 10.204.83.204 with SMTP id g12mr233583bkl.25.1276040880283; Tue, 08 Jun 2010 16:48:00 -0700 (PDT) Sender: julien.laffaye@gmail.com Received: by 10.204.66.132 with HTTP; Tue, 8 Jun 2010 16:48:00 -0700 (PDT) Date: Tue, 8 Jun 2010 16:48:00 -0700 X-Google-Sender-Auth: v-r9biS9msIGLBukhj5uMRQQ_C8 Message-ID: From: Julien LAFFAYE To: soc-status@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: emaste@freebsd.org Subject: [pkg_complete] report #2 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: Tue, 08 Jun 2010 23:48:02 -0000 Hello, The last week, I worked on an utility to create a complete package. I chose to create a new bin called `pkg_complete` for the time being because the options of the `pkg_create` utility doesn't make sense for the creation of a complete package. What works: * Given a package file, get its dependencies (and the deps of the deps, recursively) * Ordering of the dependencies, in such a way that the packages without deps are in the top of the list * Creation of a tar file containing the packages in the proper order : this is the complete package. Open tasks: * More errors checking/handling * Add a "special file" in the complete package to identify it from a regular package. * Tests, tests, ... :) Best regards, Julien