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 1Pp0kX-0006Q5-2s for garchives@archives.gentoo.org; Mon, 14 Feb 2011 15:54:05 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7E147E0B97; Mon, 14 Feb 2011 15:53:56 +0000 (UTC) Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 5C7A0E0976 for ; Mon, 14 Feb 2011 15:53:28 +0000 (UTC) Received: by wwi18 with SMTP id 18so4699711wwi.10 for ; Mon, 14 Feb 2011 07:53:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; bh=PC2BRNVS3abFmesIMfVsv7NnsutRcyfyNZYE/HqeBSw=; b=sVc6EWq0Xbv4Yc/6Rshq3VclojaLaBwekrowkMKGZopr1WtotPD8e0L4g16hnYZDws h6Zrqsb4IBC5Xg4oFxV4sJL/rk4q5k5mT4YXtu1kf9odIEcCZy2NCFFddSlzOFeYWr95 gnBO65OXRJmuRLm7qfkY4Wuy4bb0tK13Dseg4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; b=r9iq7EbNyIL1JOYZ2MgaWcvT0bNR8hTa2nOCpKtOoV6oi5LgyF/xSZpmgCJodm9RPS Au65CbLqs5rb2xBG9PI8UMp1DzAwFVhoAIBLMFn9dSv8vUvBVkbCNldRDTqP34SAOa97 9+VuBS1oHMUxgABmv8pr7vFfDW4zOpzV1ZVpw= Received: by 10.216.179.140 with SMTP id h12mr3381394wem.40.1297698807373; Mon, 14 Feb 2011 07:53:27 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Sender: nirbheek.chauhan@gmail.com Received: by 10.216.18.19 with HTTP; Mon, 14 Feb 2011 07:52:54 -0800 (PST) In-Reply-To: <4D59372E.7000201@gentoo.org> References: <4D592068.6020900@gentoo.org> <1297691385.16086.13.camel@gdartigu.lan.rep.sj> <4D59372E.7000201@gentoo.org> From: Nirbheek Chauhan Date: Mon, 14 Feb 2011 21:22:54 +0530 X-Google-Sender-Auth: YKeD2DzYPR1tmszAM3HbMOZ8R68 Message-ID: Subject: Re: [gentoo-dev] RFC: package.keywords-compatible snippets when stabilizing multiple packages To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: eb814b6f2da27ec84cc19f4e040790ca 2011/2/14 Tom=C3=A1=C5=A1 Chv=C3=A1tal : > Dne 14.2.2011 14:49, Gilles Dartiguelongue napsal(a): > Same does x11 team... > Example: > http://bugs.gentoo.org/show_bug.cgi?id=3D354237 > > I think this does not need any policy, most teams can use brains and > fill the bugs quite conveniently :) > In related news, there's a nice script to generate such a list: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/gnome.git;a=3Dblob;f=3Dscri= pts/gen_archlist.py It will assign a stable keyword for an arch if and only if an earlier version was stable for that package. Usage: ./gen_archlist.py to check the dependencies recursively and generate a list: CHECK_DEPS=3D1 ./gen_archlist.py Examples of files with atoms: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/gnome.git;a=3Dtree;f=3Dscri= pts/test-data Bugs: * Only works for generating STABLEREQ lists. KEYWORDREQ is broken (and I'm too lazy to fix it) CHECK_DEPS bugs: * If there's an || dep, selects both for stabilization * Does not handle the case where use-flags are package.use.masked on some arch other than the one you're running the script on - Script logic is fundamentally broken for this * Can duplicate atoms sometimes (happens when more than one version gets pulled in by a dependency) Patches for fixing these bugs are welcome :p PS: yes, I know the script's logic is extremely spaghetti. It works for most cases, so I never rewrote it. --=20 ~Nirbheek Chauhan Gentoo GNOME+Mozilla Team