From owner-freebsd-ports@FreeBSD.ORG Sun Mar 6 17:35:13 2011 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FCEE106567C for ; Sun, 6 Mar 2011 17:35:13 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5DFBC8FC0C for ; Sun, 6 Mar 2011 17:35:12 +0000 (UTC) Received: by ywf9 with SMTP id 9so1547207ywf.13 for ; Sun, 06 Mar 2011 09:35:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:date:message-id:subject :from:to:cc:content-type; bh=mnzcEhj4w1CDIQWV/vZNHXQxDwLs4DJwzMoc2cHIGhg=; b=uLVmXo2fFjcWf10FtKfVJF21XjW8WSEBjDmHxiCtlC/MqS81uRiUKaKDNvde2kFCRl Kk1SXTO283rRub87NNKReCWcL/cxh11izmEWYWv8DohnYuFvsTvU1PFT81rUMI8hAOnY Xyih7Ua4PdoAvJ4MnTMl5/jtyGDrJGPdMeUCE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:cc :content-type; b=VZdM/hInctFm7vm6dRRWDThP297hLr2ZmLdcFgl5S9GpIXhPTjJJkr4sCccgZJSNPJ EZvZuCmUT8ZHeb5ppou7cEpiZP52YxaQTjRpz+P2j/xVP+pTcR2uvW4M5PdobLaK+ryW qmHHWZbo08N+oo7HdN1fMiqPueSTPBL+OCzts= MIME-Version: 1.0 Received: by 10.236.125.226 with SMTP id z62mr841430yhh.24.1299432910587; Sun, 06 Mar 2011 09:35:10 -0800 (PST) Received: by 10.236.108.44 with HTTP; Sun, 6 Mar 2011 09:35:10 -0800 (PST) Date: Sun, 6 Mar 2011 17:35:10 +0000 Message-ID: From: "b. f." To: Grzegorz Blach Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-ports@FreeBSD.org Subject: Re: FreeBSD needs fresh Blood! X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2011 17:35:13 -0000 > I read last post Martin Wilke's blog called "FreeBSD needs fresh Blood!" > > First of all, I think it's difficult to testing ports. > > I'm using testing release of VirtualBox, > but for build this port I must download patches, > apply its on my own tree and merge its with official ports > using portshaker. > > It's possible to build testing ports outside tree, > but I must build every port separately, since `Make` don't known how to > track dependencies. There is always going to be some added work involved in testing. Have you considered using multiple trees, if you have sufficient disk space? Or using a version control system? > > Another possibility is replace ports in disk, but after upgrade tree eg. > with portsnap I lose my changes, and portmaster want to rebuild these > ports to stable release. > It sounds like you are using the wrong tools. Although portsnap (which is not best suited for this purpose) has path arguments and an -l flag that can be used to add or preserve local changes, and both portmaster and portupgrade have options to ignore certain ports or to substitute alternative dependencies, you shouldn't have to make use of them. Instead, you should probably be using CVS (or another version control system that can import CVS), which will make merging and reverting changes easier. And naturally you shouldn't run updating tools until you've modified your tree. > If testing will be simpler, I think more people will do this. > Maybe we must create two trees, eg: ports-stable and ports-current > First we publish changes to current tree and after week or two without > pr, we publish updates to stable tree too. This has often been proposed, but since it would require more work from the already-overstretched committers, and the benefits are questionable, I don't think it is likely to happen soon. > > Merging trees is another huge problem. > Portshaker do this very well, but after merge I must rebuild INDEX file, > which takes long time. This should be faster or even shouldn't be > required (hard to do). Do you really need to rebuild the INDEX? You can often avoid using it. If you do need to modify it, you can use some improved method, like http://www.lpthe.jussieu.fr/~talon/build_index.py or modify it incrementally, with something like ports-mgmt/p5-FreeBSD-Portindex, http://www.lpthe.jussieu.fr/~talon/portindex-18_1.tgz , or your own script. b.