From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Lkc60-00068j-U7 for garchives@archives.gentoo.org; Fri, 20 Mar 2009 10:37:01 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B0219E041A; Fri, 20 Mar 2009 10:36:59 +0000 (UTC) Received: from sauxb.salomon.at (smtp.salomon.at [193.186.16.13]) by pigeon.gentoo.org (Postfix) with ESMTP id 5BAFDE041A for ; Fri, 20 Mar 2009 10:36:59 +0000 (UTC) Received: from servex01.wamas.com (servex01.salomon.at [172.28.2.2]) by sauxb.salomon.at (8.12.10/8.12.10) with ESMTP id n2KAWcCu017586 for ; Fri, 20 Mar 2009 11:36:13 +0100 (MET) Received: from pc312005 ([172.28.10.38]) by servex01.wamas.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 20 Mar 2009 11:35:19 +0100 From: "Markus Duft" To: Subject: [gentoo-portage-dev] prefix portage chaining Date: Fri, 20 Mar 2009 11:35:09 +0100 Message-ID: <000001c9a947$8acf66b0$a06e3410$@org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcmpR4qE2SWNJB/VQ0ad8b76LKr5nA== Content-Language: de-at X-OriginalArrivalTime: 20 Mar 2009 10:35:19.0779 (UTC) FILETIME=[91086B30:01C9A947] X-Spam-Info: -1.799 () ALL_TRUSTED,BAYES_50 X-Scanned-By: MIMEDefang 2.54 on 172.28.2.13 X-Archives-Salt: 1df5e3de-0ec4-4983-9b38-1a297820e1e1 X-Archives-Hash: 2c104810be331767053dd4cca6b51afe Hey guys :) Just wanted to stop by and get some opinions on a patch i wrote for the prefix branch. i'll try and explain what i want in the first place: i'm porting things to native windows. since windows isn't too cooperative, i'm unable to merge most things (and with other things, i simply don't want to), and thus i need to take those things from somewhere else (more or less the complete @system). I _am_ able to build all those things for interix (which is the host system in the windows case). So what i want is a setup of two prefix instances with a certain relation to each other: the native windows prefix should be able to recognize installed packages from the other instance, and resolve dependencies by eventually using the other .../var/db/... This could be (and is) quite usefull for all other platforms too. For exmaple i could use prefix chaining on a linux box. I could create a prefix containing a base system, and then for testing of i-don't-know-whatever, i could create another small prefix inheriting all installed packages from the other one. this way new prefixes can stay very slim, but still the "parent" prefix is not altered on merges. one issue not handled by the current patch is, that prefixes can have different CHOST/ARCH/... (which is the case with x86-interix and x86-winnt for example). another thing is, that i plan to add some output in the merge list, telling the user, which packages have been readonly-resolved from another portage instance. right now the dependency is treated as if it didn't exist. all together, i'm pretty sure i did the one or the other forbidden thing in my patch, but that's why i'm asking the guys-who-know :) it was hard enough to read the portage source and get where i am, so i'm happy with the result ;) Waiting for comments, suggestions, etc. Thanks in advance, Cheers, Markus