From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E1Y6y-0005nK-Bs for garchives@archives.gentoo.org; Sat, 06 Aug 2005 23:29:52 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j76NTFGR028721; Sat, 6 Aug 2005 23:29:15 GMT Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.198]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j76NTEga014185 for ; Sat, 6 Aug 2005 23:29:15 GMT Received: by wproxy.gmail.com with SMTP id i1so365403wra for ; Sat, 06 Aug 2005 16:29:17 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=SHJgKj8kAHe0pY+wdKuXrab/27VYvTPr00mMOLNoC5Xotroul/RbIYMmu11vRxI3oJ2mBfIIgVh+SHZofQFkkAU6dbyJksmSyPk4ow65CiZVjrIjploJVeyvnVUVPqI286T005407o9cQoRTeh/4Ug1p9L3TV5e1hGgIa5i3G74= Received: by 10.54.57.44 with SMTP id f44mr3802536wra; Sat, 06 Aug 2005 16:29:17 -0700 (PDT) Received: from ?192.168.1.10? ([24.30.171.44]) by mx.gmail.com with ESMTP id 44sm5996089wri.2005.08.06.16.29.16; Sat, 06 Aug 2005 16:29:17 -0700 (PDT) Message-ID: <42F5480A.1090706@gmail.com> Date: Sat, 06 Aug 2005 16:30:18 -0700 From: Zac Medico User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050804) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-portage-dev@lists.gentoo.org Subject: Re: [gentoo-portage-dev] PATCH: properly handle metadata transfer on first sync of an empty tree (#96410) References: <200507212313.36804.jstubbs@gentoo.org> <20050721171701.GA27660@exodus> <200507220849.43700.jstubbs@gentoo.org> <20050805033118.GM21865@exodus> In-Reply-To: <20050805033118.GM21865@exodus> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: a6bc6e30-fac3-4352-b891-7042375482cc X-Archives-Hash: 7acb98b8483cf87b2023f02806fa57c6 Brian D. Harring wrote: > Hola all, patch (incvs now) to fix up a traceback on first sync with > an empty tree; bug #96410 > http://bugs.gentoo.org/show_bug.cgi?id=96410 > > The fix isn't exactly what I'd call pretty (creating an intermediate > portdbapi and config instance to do the updates), but it's a corner > case; config's categories is a bit of a hack, and tearing it out in > stable is more work then worth... so this. > > Either way, it's attached, poke at it kindly :) > ~harring > This patch seems good to me. I tested it a few times with things like "emerge metadata" and "rm -r /var/cache/edb/dep". I didn't do any rigorous testing but there were no noticeable problems. Zac -- gentoo-portage-dev@gentoo.org mailing list