From owner-freebsd-ports@freebsd.org Fri Mar 3 04:01:43 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 72619CF4543 for ; Fri, 3 Mar 2017 04:01:43 +0000 (UTC) (envelope-from freebsd@chriswells.io) Received: from leaf101.mfilter.dimenoc.com (tree.mfilter.dimenoc.com [72.29.89.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3A5CD1A64 for ; Fri, 3 Mar 2017 04:01:42 +0000 (UTC) (envelope-from freebsd@chriswells.io) Received: from localhost (localhost [127.0.0.1]) by leaf101.mfilter.dimenoc.com (Postfix) with ESMTP id E74F322622B for ; Thu, 2 Mar 2017 23:01:43 -0500 (EST) X-Virus-Scanned: amavisd-new at leaf.mfilter.dimenoc.com Received: from leaf101.mfilter.dimenoc.com ([127.0.0.1]) by localhost (leaf101.mfilter.dimenoc.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yEM9LTICmm1v for ; Thu, 2 Mar 2017 23:01:42 -0500 (EST) Received: from pass98.dizinc.com (unknown [72.29.89.119]) by leaf101.mfilter.dimenoc.com (Postfix) with ESMTP for ; Thu, 2 Mar 2017 23:01:42 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=chriswells.io; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Date:Message-ID:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=VTal63CVvV9PItNiCvRQTxlhcjM3Q419rV9c0g8/Ejc=; b=RH7oE2/zInCX15kOKThT6Ireur uHUaKarIYAg7RYvAPylrQflas4g0h0SdpfpJp6hU8cqthZYK4/uMWRUcrJLO3Mul2x/f7BABXkrVI A1mHIl6YZN6vvVhes6y8OB5fkAa0hCC5CIt0nPwIFxR5jzukQ7U0FOxGum1Wk6IPZN7PIfBjimUWs INsX6p78m4BZSH44c3zygZ9JETZAxiVjTRLiGnpmarqezp2s20GX8yvtcgg+Q53aBa2T+X/O6RsWt Qs6i5WnN5QULhbmMSqN1DqLh2I5BN3WuBG16Av3NLpnEZh5M26QZRZxfcIEUcS5f6JyH3dr2wDrzV ybZUqJ6Q==; Received: from 96-32-199-2.dhcp.slid.la.charter.com ([96.32.199.2]:64355 helo=[192.168.1.135]) by pass98.dizinc.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87) (envelope-from ) id 1cjePT-0002jI-5e for freebsd-ports@freebsd.org; Thu, 02 Mar 2017 23:01:39 -0500 To: freebsd-ports@freebsd.org From: Chris Wells Subject: Using Quarterly Ports Branches Message-ID: Date: Thu, 2 Mar 2017 23:01:38 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - pass98.dizinc.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - chriswells.io X-Get-Message-Sender-Via: pass98.dizinc.com: authenticated_id: chris/from_h X-Authenticated-Sender: pass98.dizinc.com: freebsd@chriswells.io X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Mar 2017 04:01:43 -0000 Hi, Having upgraded to FreeBSD 11 a few months ago, I moved from latest packages and ports to the situation where packages are quarterly by default and ports are latest/current/HEAD. I absolutely LOVE the idea of a more stable and consistent quarterly package branch, but I'm sure most people still have to build a few ports from source. The fact that the labels/names are different between packages (latest/quarterly) and ports (HEAD/2017Q1) might make it more confusing than it needs to be. A few questions: If I switch from HEAD to a quarterly ports branch, should I "rm -r /usr/ports/*" before checking out the quarterly branch from SVN? If so, should I do the same every time I migrate to a newer branch (e.g., moving from 2017Q1 to 2017Q2)? I believe it makes sense when reverting to an older branch like HEAD to quarterly, but I'm hoping it's unnecessary when moving forward. Any other directories that should be cleaned for a first-time change to quarterly ports or subsequent quarterly migrations? Would it be possible to "simply" create a symlink at https://svn.freebsd.org/ports/branches/quarterly that always points to whatever the current quarterly branch is? That way, everyone who wants to use quarterly packages/ports wouldn't have to worry about constantly switching the ports branch on every system they manage. A side benefit would be that packages and ports can share the terminology and meaning for their quarterly branch. Bonus points: change pkg and ports to have a CURRENT symlink pointed to HEAD and a STABLE symlink pointed to the latest quarterly branch so the names are more in sync with the base system's branch names. If the symlink would work and easy enough to manage, it would be a great portsnap default in the base system to match pkg. The icing on the cake would be a persistent local setting to tell portsnap what branch to use so the commands to fetch/update the ports tree are consistent whether using HEAD or a branch. Thanks for all the work you do, Chris