Re: [gentoo-portage-dev] Try to specify how to get that a USE flag is present in current ebuild

2012-09-21 Thread Brian Harring
On Fri, Sep 21, 2012 at 12:45:30PM -0700, Zac Medico wrote: On 09/21/2012 12:08 PM, Pacho Ramos wrote: Hello This comes from this gentoo-dev thread: http://www.gossamer-threads.com/lists/gentoo/dev/260536 In that one, we try to use the following: has vala ${IUSE//+/} ! use vala

Re: [gentoo-portage-dev] Is there any short syntax for REQUIRED_USE when a lot of USE flags need another one enabled?

2011-12-17 Thread Brian Harring
On Sat, Dec 17, 2011 at 11:24:37AM +0100, Pacho Ramos wrote: I am referring in this case to abiword, it has a plugins USE flag that enables some minimal set of plugins and, then, a lot of USE flags for building extra plugins (with extra dependencies). All of this extra plugins need plugins USE

Re: [gentoo-portage-dev] [GLEP59v2 5/5] GLEP59: Change live Manifest2 hashes to SHA256, SHA512, WHIRLPOOL

2011-10-02 Thread Brian Harring
On Sun, Oct 02, 2011 at 02:10:09PM -0700, Zac Medico wrote: On 10/02/2011 01:54 PM, Robin H. Johnson wrote: On Sun, Oct 02, 2011 at 01:39:41PM -0700, Zac Medico wrote: On 10/02/2011 05:46 AM, Robin H. Johnson wrote: On Sat, Oct 01, 2011 at 09:40:13PM -0700, Zac Medico wrote: If we control

Re: [gentoo-portage-dev] [GLEP59v2 2/5] Manifest2 hash: Whirlpool

2011-10-01 Thread Brian Harring
On Sat, Oct 01, 2011 at 07:40:52AM +, Robin H. Johnson wrote: From: Robin H. Johnson robb...@gentoo.org Provide public-domain implementation of the Whirlpool hash algorithm to be used as new Manifest2 hash. Signed-off-by: Robin H. Johnson robb...@gentoo.org ---

Re: [gentoo-portage-dev] Re: [gentoo-commits] proj/portage:master commit in: bin/

2011-09-13 Thread Brian Harring
On Tue, Sep 13, 2011 at 04:38:35AM +, Robin H. Johnson wrote: On Tue, Sep 13, 2011 at 03:20:35AM +, Zac Medico wrote: commit: 677240f7b3db66bdcd403c214e5d3fa30e31a24a Author: Zac Medico zmedico AT gentoo DOT org AuthorDate: Tue Sep 13 03:20:00 2011 + Commit: Zac

[gentoo-portage-dev] [PATCH 0/3] thin manifest support

2011-09-01 Thread Brian Harring
of the RepoConfig api's likely would be beneficial (that's outside the scope of my intent however). Brian Harring (3): Bind all manifest access through repoconfigs add thin manifest support to the Manifest class add layout.conf awareness of thin-manifests bin/ebuild

[gentoo-portage-dev] [PATCH 2/3] add thin manifest support to the Manifest class

2011-09-01 Thread Brian Harring
'thin' is just distfiles. This is primarily useful when the ebuild lives in a vcs- git for example, which already has it's own checksums to rely on. --- pym/portage/manifest.py | 149 ++-- pym/portage/package/ebuild/digestcheck.py |2 +- 2 files

[gentoo-portage-dev] [PATCH 1/3] Bind all manifest access through repoconfigs

2011-09-01 Thread Brian Harring
This enables controling the behaviour (creation and validation) per repo, and while mildly ugly, refactors in the right direction. --- bin/ebuild|5 +++-- bin/repoman |8 ++-- pym/_emerge/EbuildFetcher.py |

Re: [gentoo-portage-dev] [API] First steps for creating an API for portage

2010-06-18 Thread Brian Harring
On Fri, Jun 18, 2010 at 08:35:13AM +0200, Fabian Groffen wrote: On 18-06-2010 02:08:04 +0200, René 'Necoro' Neumann wrote: In parallel (or thereafter), we build the C-bindings. The API for these bindings probably look different -- but I guess they should be implemented in terms of the

Re: [gentoo-portage-dev] [API] First steps for creating an API for portage

2010-06-18 Thread Brian Harring
On Fri, Jun 18, 2010 at 12:55:37PM +0200, Rennn 'Necoro' Neumann wrote: Am 18.06.2010 09:55, schrieb Brian Harring: While I'm not generally a fan of embedding python, in this case it's what makes sense. That said I'm not hugely convinced the proposal on the table is accurate- knocking

Re: [gentoo-portage-dev] [API] First steps for creating an API for portage

2010-06-18 Thread Brian Harring
On Fri, Jun 18, 2010 at 10:08 AM, Brian Harring ferri...@gmail.com wrote: On Fri, Jun 18, 2010 at 12:55:37PM +0200, Rennn 'Necoro' Neumann wrote: Am 18.06.2010 09:55, schrieb Brian Harring: While I'm not generally a fan of embedding python, in this case it's what makes sense.  That said

Re: [gentoo-portage-dev] Package compression header for binhosts

2010-06-01 Thread Brian Harring
On Tue, Jun 1, 2010 at 1:01 PM, Ned Ludd so...@gentoo.org wrote: On Mon, 2010-05-31 at 22:16 -0700, Brian Harring wrote: On Mon, May 31, 2010 at 08:32:34PM -0700, Zac Medico wrote: Hi, In order to support alternative compression types for binhost packages, I was thinking about

Re: [gentoo-portage-dev] Package compression header for binhosts

2010-06-01 Thread Brian Harring
On Tue, Jun 1, 2010 at 2:37 PM, Zac Medico zmed...@gentoo.org wrote: On 06/01/2010 02:22 PM, Brian Harring wrote: As for zacs tool to try and generate new views of a repository via hardlinking/recreating the tree... frankly it's a bit of a hack. Via DEFAULT_URI and relying on the hash

Re: [gentoo-portage-dev] Package compression header for binhosts

2010-06-01 Thread Brian Harring
On Tue, Jun 01, 2010 at 04:53:31PM -0700, Zac Medico wrote: On 06/01/2010 02:52 PM, Brian Harring wrote: That bug isn't about a collision, it's about files being replaced underneath Packages feet. Even with the tricks you've leveled the issue of things changing under foot still is possible

Re: [gentoo-portage-dev] [RFC] Store [,R,P]DEPEND with unevaluated use conditionals in vdb

2010-04-24 Thread Brian Harring
On Sat, Apr 24, 2010 at 11:27:49AM -0700, Zac Medico wrote: On 04/24/2010 11:00 AM, Sebastian Luther wrote: Am 24.04.2010 13:32, schrieb Gentoo: On Fri, 2010-04-23 at 22:31 -0700, Zac Medico wrote: On 04/23/2010 05:43 AM, Sebastian Luther wrote: Someone might come up with some logic to

Re: [gentoo-portage-dev] Composite exceptions?

2010-02-26 Thread Brian Harring
On Sat, Feb 27, 2010 at 05:02:18AM +0100, Sebastian Pipping wrote: On 02/27/10 04:20, Zac Medico wrote: Do you have an example case where you want to use this? Multiple defects in metadata.xml are such a case. At some point all the exceptions will have to collected, e.g. two invalid herds

Re: [gentoo-portage-dev] add UUID for comparison of installed package to binary package?

2010-02-14 Thread Brian Harring
On Fri, Feb 12, 2010 at 04:24:05PM -0800, Zac Medico wrote: On 02/12/2010 01:38 PM, Brian Harring wrote: On Fri, Feb 12, 2010 at 12:54:21PM -0800, Zac Medico wrote: Hi, I'm thinking about adding a UUID file in /var/db/pkg, for comparing installed packages to binary packages. We already

Re: [gentoo-portage-dev] add UUID for comparison of installed package to binary package?

2010-02-14 Thread Brian Harring
On Sun, Feb 14, 2010 at 06:02:28PM -0800, Ned Ludd wrote: On Sun, 2010-02-14 at 12:11 -0800, Zac Medico wrote: On 02/14/2010 04:36 AM, Brian Harring wrote: This gets nasty... you're basically talking about the rpm equivalent of EPOCH. Not a fan of an adhoc UUID (especially since

Re: [gentoo-portage-dev] add UUID for comparison of installed package to binary package?

2010-02-12 Thread Brian Harring
On Fri, Feb 12, 2010 at 12:54:21PM -0800, Zac Medico wrote: Hi, I'm thinking about adding a UUID file in /var/db/pkg, for comparing installed packages to binary packages. We already have BINPKGMD5, but the problem with that is that the MD5 of a binary package changes when it's updated for

Re: [gentoo-portage-dev] Re: [PATCH] Add support to Mercurial SCM in bin/repoman

2010-01-17 Thread Brian Harring
On Sun, Jan 17, 2010 at 08:46:24PM -0200, Rafael Martins wrote: I'm re-sending the patch, with a small fix. Please disregard the previous patch. Might I suggest breaking classes out for each syncer rather then continuing the huge and nasty giant if/elif ? Certainly would make it easier to

Re: [gentoo-portage-dev] Re: forcing a USE flag if another is on

2009-12-30 Thread Brian Harring
On Wed, Dec 30, 2009 at 04:20:45PM +, Duncan wrote: Amit Dor-Shifer posted on Wed, 30 Dec 2009 16:45:40 +0200 as excerpted: Is there some method of specifing if USE flag X is enabled, enable USE flag y as-well? Something like a conditional use.force file in profiles/. Amit That

Re: [gentoo-portage-dev] rsync support for fetching binary packages

2009-05-21 Thread Brian Harring
On Tue, May 19, 2009 at 02:47:45PM +0300, Amit Dor-Shifer wrote: Hi. Looking at getbinpkg.py, I see that BINPKGs can be retrieved using http/s s/ftp. I'm wondering about rsync, as it is mostly supported across portage (and also in layman). Is there some design reasoning behind this lack of

Re: [gentoo-portage-dev] equery: deprecate --category filtering in belongs

2009-02-07 Thread Brian Harring
On Sun, Feb 08, 2009 at 02:07:08PM +0900, Douglas Anderson wrote: Hi, does anyone use --category filtering in equery belongs? I want to get rid of it, or at least deprecate it. My reasoning: * We use 'equery belongs' when don't know to what package a file belongs. Even if we have a

Re: [gentoo-portage-dev] equery: deprecate --category filtering in belongs

2009-02-07 Thread Brian Harring
patch attached against 0.2.4.2-r1; rough stats follow; full cold cache [ Searching for file(s) /usr/bin/equery in *... ] app-portage/gentoolkit-0.2.4.2-r1 (/usr/bin/equery) real0m10.320s user0m0.733s sys 0m0.162s [ Searching for file(s) /usr/bin/equery in app-portage... ]

Re: [gentoo-portage-dev] How to extract the version/revision of an installed package?

2008-11-26 Thread Brian Harring
On Tue, Nov 25, 2008 at 08:54:29PM -0800, Zac Medico wrote: Ned Ludd wrote: On Tue, 2008-11-25 at 14:03 -0800, Brian Harring wrote: On Tue, Nov 25, 2008 at 06:05:21PM +0200, Amit Dor-Shifer wrote: Given the following: # qlist -Iv sys-apps/portage sys-apps/portage-2.1.4.5 How do I

Re: [gentoo-portage-dev] How to extract the version/revision of an installed package?

2008-11-25 Thread Brian Harring
On Tue, Nov 25, 2008 at 06:05:21PM +0200, Amit Dor-Shifer wrote: Given the following: # qlist -Iv sys-apps/portage sys-apps/portage-2.1.4.5 How do I safely extract the 2.1.4.5? (I don't necessarily need to use qlist. Just want to get the version of an installed package within a bash

Re: [gentoo-portage-dev] How to extract the version/revision of an installed package?

2008-11-25 Thread Brian Harring
On Tue, Nov 25, 2008 at 04:18:22PM -0800, Ned Ludd wrote: On Tue, 2008-11-25 at 14:03 -0800, Brian Harring wrote: On Tue, Nov 25, 2008 at 06:05:21PM +0200, Amit Dor-Shifer wrote: Given the following: # qlist -Iv sys-apps/portage sys-apps/portage-2.1.4.5 How do I safely extract

Re: [gentoo-portage-dev] relying on vdb only

2008-02-12 Thread Brian Harring
On Mon, Feb 11, 2008 at 12:58:51PM +0100, Selckin wrote: On Monday 11 February 2008 12:50:39 Brian Harring wrote: On Mon, Feb 11, 2008 at 09:48:01AM +0100, Vlastimil Babka wrote: Well, the idea that devs will have to revbump packages just for RDEPEND version restrictions so that portage

Re: [gentoo-portage-dev] relying on vdb only

2008-02-11 Thread Brian Harring
On Mon, Feb 11, 2008 at 09:48:01AM +0100, Vlastimil Babka wrote: Hi, reading comments on bug 209538, I've seen this dangerous thing from Zac: Once these issues are solved it will be nice if we can rely exclusively on the dependencies from /var/db/pkg. Well, the idea that devs will have

Re: [gentoo-portage-dev] [RFC] Properties of package sets

2007-06-30 Thread Brian Harring
On Thu, Jun 28, 2007 at 09:03:54PM -0700, Ned Ludd wrote: On Fri, 2007-06-29 at 05:07 +0200, Marius Mauch wrote: - should sets be supported everywhere, or only in selected use cases? (everywhere would include depstrings for example) Please NO. emerge.py should know about sets but ebuild.py

Re: [gentoo-portage-dev] Improvement suggestion for emerge: Not using a new connection for every file

2007-02-24 Thread Brian Harring
On Sat, Feb 24, 2007 at 05:55:47PM -0800, Robin H. Johnson wrote: On Sat, Feb 24, 2007 at 10:00:29PM +0100, Beginner wrote: I recommend not to use wget and not to reconnect to the server for every single packet, but to hold the connection therefore spare traffic and download more fast. If

[gentoo-portage-dev] Re: r5993 - main/trunk/pym/portage/dbapi

2007-02-18 Thread Brian Harring
round two of the patch, still is missing... On Sun, Feb 18, 2007 at 06:27:59PM +, Marius Mauch wrote: Author: genone Date: 2007-02-18 18:27:59 + (Sun, 18 Feb 2007) New Revision: 5993 Modified: main/trunk/pym/portage/dbapi/vartree.py Log: extend check for internal references,

Re: [gentoo-portage-dev] Re: r5993 - main/trunk/pym/portage/dbapi

2007-02-18 Thread Brian Harring
Bleh, pardon; left out a bit accidentally- On Sun, Feb 18, 2007 at 11:03:33AM -0800, Brian Harring wrote: On Sun, Feb 18, 2007 at 06:27:59PM +, Marius Mauch wrote: - for lib in preserve_libs.copy(): - old_contents_without_libs = [x for x

[gentoo-portage-dev] Re: r5975 - FEATURES=preserve-libs

2007-02-17 Thread Brian Harring
Realize you didn't want comments upon the implementation, but tough cookies, already reviewed it; suckers in svn mainline anyways, thus it's fair game. Modified: main/trunk/pym/portage/dbapi/vartree.py === ---

Re: [gentoo-portage-dev] New preserve-libs feature

2007-02-17 Thread Brian Harring
On Sat, Feb 17, 2007 at 09:39:58AM -0500, Mike Frysinger wrote: On Saturday 17 February 2007, Brian Harring wrote: Security impact is from a pkg potentially dragging along old libs; if you've got a stable pkg that gets an update once every blue moon, it can hold onto the lib for a *long

Re: [gentoo-portage-dev] New preserve-libs feature

2007-02-17 Thread Brian Harring
On Sat, Feb 17, 2007 at 10:09:35AM -0500, Mike Frysinger wrote: On Saturday 17 February 2007, Brian Harring wrote: On Sat, Feb 17, 2007 at 09:39:58AM -0500, Mike Frysinger wrote: On Saturday 17 February 2007, Brian Harring wrote: Security impact is from a pkg potentially dragging along

Re: [gentoo-portage-dev] [RFC] Depending on active version

2007-01-30 Thread Brian Harring
On Tue, Jan 30, 2007 at 05:06:51PM +0100, Marius Mauch wrote: Sometimes a package has to depend on a specific version of a slotted package being the active one to build correctly, like in the current tr1 discussion on -dev [1] or with packages that depend on the running kernel. tr1 is

[gentoo-portage-dev] Max parallelization setting

2006-10-10 Thread Brian Harring
;) - Date: Sun, 1 Oct 2006 12:27:13 -0700 To: gentoo-dev@lists.gentoo.org From: Brian Harring [EMAIL PROTECTED] Subject: Re: [gentoo-dev] Setting number of parallel builds for other build-systems than 'make' On Sun, Oct 01, 2006 at 09:52:14AM -0700, Donnie

Re: [gentoo-portage-dev] Max parallelization setting

2006-10-10 Thread Brian Harring
On Tue, Oct 10, 2006 at 03:20:55AM -0700, Zac Medico wrote: Brian Harring wrote: I might be daft (likely), but why not just introduce a var indicating max parallelization instead? Tweak portage to push that setting into MAKEOPTS=${MAKEOPTS+${MAKEOPTS} } -j${PARALLELIZATION}. The idea

Re: [gentoo-portage-dev] Moving ebuild-related where they belong

2006-09-07 Thread Brian Harring
On Thu, Sep 07, 2006 at 09:32:04AM -0700, Zac Medico wrote: Simon Stelling wrote: repo-level profile, we move parts of the EAPI out into the tree, which is a bad idea because we are unable to support multiple versions. As the EAPI needed for the ebuild is unknown when sourcing

Re: [gentoo-portage-dev] Moving ebuild-related where they belong

2006-09-07 Thread Brian Harring
On Thu, Sep 07, 2006 at 07:11:01PM +0200, Simon Stelling wrote: Brian Harring wrote: Make this change, and it means that all overlays that can function as standalone, must bundle the eapi helpers themselves. Standalone-repos will have that problem, but there is none yet to my knowledge

Re: [gentoo-portage-dev] Moving ebuild-related where they belong

2006-09-07 Thread Brian Harring
On Thu, Sep 07, 2006 at 10:22:38AM -0700, Zac Medico wrote: Simon Stelling wrote: Zac Medico wrote: Well, if the metadata generation step is viewed as being separate from the rest, and the helpers aren't needed during that step, then it's possible to get the EAPI from the ebuild

Re: [gentoo-portage-dev] Refactoring ebuild.sh

2006-08-27 Thread Brian Harring
On Sun, Aug 27, 2006 at 10:26:28AM +0200, Simon Stelling wrote: Brian Harring wrote: diefunc() dump_trace() these are general utility, not debugging. Where would you stick them? 'die' to 'ebuild helpers' and 'dump_trace' to 'internals'? util, same for hasq. If you're going

Re: [gentoo-portage-dev] Refactoring ebuild.sh

2006-08-26 Thread Brian Harring
On Sat, Aug 26, 2006 at 07:54:41PM +0200, Simon Stelling wrote: Hi all, ebuild.sh is a mess. There are a lot of functions scattered to the four winds. Searching for a function in ebuild.sh takes a lot of time, and it is very tiring to scroll down huge chunks of totally unrelated functions

Re: [gentoo-portage-dev] [PATCH] per-package use.mask (bug 96368)

2006-08-06 Thread Brian Harring
On Fri, Aug 04, 2006 at 08:46:34PM -0700, Zac Medico wrote: Brian Harring wrote: On Fri, Aug 04, 2006 at 12:38:39PM -0700, Zac Medico wrote: I haven't seen a specification for use dependencies yet, so I'm not quite sure how they'd work. cat/pkg-ver[use1,use2,-use3,use4] cat/pkg-ver[use

Re: [gentoo-portage-dev] [PATCH] per-package use.mask (bug 96368)

2006-08-06 Thread Brian Harring
On Sun, Aug 06, 2006 at 02:54:36AM -0700, Zac Medico wrote: Brian Harring wrote: On Fri, Aug 04, 2006 at 08:46:34PM -0700, Zac Medico wrote: Brian Harring wrote: On Fri, Aug 04, 2006 at 12:38:39PM -0700, Zac Medico wrote: I haven't seen a specification for use dependencies yet, so I'm

Re: [gentoo-portage-dev] [PATCH] per-package use.mask (bug 96368)

2006-08-04 Thread Brian Harring
On Thu, Aug 03, 2006 at 12:23:58PM -0700, Zac Medico wrote: Hi everyone, I've written a patch [1] that adds support for package.use.mask in the profile. It should behave exactly as use.mask currently does except that it allows USE flags to be masked for specific packages rather than for

Re: [gentoo-portage-dev] [PATCH] per-package use.mask (bug 96368)

2006-08-04 Thread Brian Harring
On Fri, Aug 04, 2006 at 12:38:39PM -0700, Zac Medico wrote: Brian Harring wrote: On Thu, Aug 03, 2006 at 12:23:58PM -0700, Zac Medico wrote: Hi everyone, I've written a patch [1] that adds support for package.use.mask in the profile. It should behave exactly as use.mask currently does

Re: [gentoo-portage-dev] Atom matching behavior

2006-07-31 Thread Brian Harring
On Mon, Jul 31, 2006 at 07:42:23PM +0200, Marius Mauch wrote: Was just brought to my attention that the =* operator doesn't work as I thought, as for example =foo-1.2* matches foo-1.20 as well as foo-1.2.3. This wouldn't be a bug problem if it could be used as a general glob operator like with

Re: [gentoo-portage-dev] Atom matching behavior

2006-07-31 Thread Brian Harring
On Mon, Jul 31, 2006 at 11:53:42PM +0200, Simon Stelling wrote: Marius Mauch wrote: Opinions? I'd never expect it to match 1.20, so this is a bug to me. Not a bug; it has been that way for a long tim (at least through .50 last time I checked), iow it's standard now (since cruft in the

Re: [gentoo-portage-dev] Re: Atom matching behavior

2006-07-31 Thread Brian Harring
On Mon, Jul 31, 2006 at 04:55:09PM -0700, Drake Wyrm wrote: Brian Harring [EMAIL PROTECTED] wrote: On Mon, Jul 31, 2006 at 07:42:23PM +0200, Marius Mauch wrote: Was just brought to my attention that the =* operator doesn't work as I thought, as for example =foo-1.2* matches foo-1.20

Re: [gentoo-portage-dev] Re: Atom matching behavior

2006-07-31 Thread Brian Harring
On Mon, Jul 31, 2006 at 06:12:46PM -0700, Drake Wyrm wrote: Brian Harring [EMAIL PROTECTED] wrote: On Mon, Jul 31, 2006 at 04:55:09PM -0700, Drake Wyrm wrote: Brian Harring [EMAIL PROTECTED] wrote: On Mon, Jul 31, 2006 at 07:42:23PM +0200, Marius Mauch wrote: Was just brought to my

Re: [gentoo-portage-dev] Atom matching behavior

2006-07-31 Thread Brian Harring
On Mon, Jul 31, 2006 at 10:11:06PM -0400, Mike Frysinger wrote: On Monday 31 July 2006 21:30, Brian Harring wrote: On Mon, Jul 31, 2006 at 09:11:35PM -0400, Mike Frysinger wrote: On Monday 31 July 2006 18:48, Brian Harring wrote: Should be discussed on -dev, not here imo; why

Re: [gentoo-portage-dev] [RFC] Naming Conventions

2006-07-22 Thread Brian Harring
On Sat, Jul 22, 2006 at 04:25:01PM -0700, Zac Medico wrote: Chris White wrote: 1) Create aliases to the new functions, then at some yet-to-be-determined point, kill the aliases and bomb on the scripts (this suffers from procrastination). 2) Make an official release with the new

Re: [gentoo-portage-dev] Porage API Documentation Proposal

2006-07-16 Thread Brian Harring
On Mon, Jul 17, 2006 at 03:12:25AM +0900, Chris White wrote: This document is meant to serve as a proposal for the documentation of portage code using epydoc[1] and custom doc blocks. epytext actually- that's what relies on, and is supported by other doc manglers. 2. Other portage API

Re: [gentoo-portage-dev] support for registering pre/post phase hooks?

2006-07-05 Thread Brian Harring
On Tue, Jul 04, 2006 at 11:04:07PM -0700, Zac Medico wrote: Hi everyone, Has anyone noticed that java-pkg-2.eclass makes it difficult to use pre/post phase hooks in /etc/portage/bashrc? Yep, they were greenlighted _only_ because it's a workaround for bug #56408, bad environment handling by

Re: [gentoo-portage-dev] QA Notice: ECLASS 'foo' inherited illegally

2006-04-24 Thread Brian Harring
On Mon, Apr 24, 2006 at 04:10:50AM -0700, Duncan wrote: I continue to see way more of these than I'm comfortable with. Illegally implies the functionality will eventually go away, and stuff will quit working. That what's making me uncomfortable. Some time ago this came up on the dev list

Re: [gentoo-portage-dev] 2.1 release candidate soon?

2006-04-14 Thread Brian Harring
On Fri, Apr 14, 2006 at 05:15:53PM +0200, Philipp Riegger wrote: On Apr 7, 2006, at 5:26 PM, Alec Warner wrote: We have a new cache format, confcache, parallel fetch, etc... The bonus is these features are already mature and relatively old ( a year + as of now ). Reading about

Re: [gentoo-portage-dev] 2.1 release candidate soon?

2006-04-14 Thread Brian Harring
On Fri, Apr 14, 2006 at 02:10:27PM -0400, Alec Warner wrote: Brian Harring wrote: it. But it did not work because i had not emerged confcache. I think this check should be stricter, if i want confcache and have FEATURES=confcache and confcache is not emerged, i think emerge ... should

Re: [gentoo-portage-dev] 2.1 release candidate soon?

2006-04-14 Thread Brian Harring
On Sat, Apr 15, 2006 at 11:01:56AM +0900, Jason Stubbs wrote: On Saturday 15 April 2006 03:31, Brian Harring wrote: cache backend selection (failed import == defaults to sys default) This is incorrect. It displays an error message and quits. Still leaves the other features then (and raises

Re: [gentoo-portage-dev] spring cleaning.

2006-04-10 Thread Brian Harring
On Sun, Apr 09, 2006 at 01:40:13PM -0700, Mark Pagano wrote: On 4/9/06, Brian Harring [EMAIL PROTECTED] wrote: Attached is a buttload of patches cleaning modules for the following things- snip ~harring These are super helpful. Would you consider a 'best

Re: [gentoo-portage-dev] tree dependency check

2006-03-29 Thread Brian Harring
On Wed, Mar 29, 2006 at 07:21:15PM +0300, Marius Mauch wrote: Marius Mauch schrieb: So after manifest2 is in, I'll revive the other issue that IMO is a requirement for 2.1: enforcing dependencies needed to use the tree (see old threads or glep44 for reasoning). A patch for that is available

Re: [gentoo-portage-dev] tree dependency check

2006-03-29 Thread Brian Harring
On 3/29/06, Marius Mauch [EMAIL PROTECTED] wrote: On Thu, 30 Mar 2006 08:30:17 +0900 Jason Stubbs [EMAIL PROTECTED] wrote: On Thursday 30 March 2006 01:21, Marius Mauch wrote: Marius Mauch schrieb: So after manifest2 is in, I'll revive the other issue that IMO is a requirement for

Re: [gentoo-portage-dev] DB and binary dependency

2006-03-24 Thread Brian Harring
On Fri, Mar 24, 2006 at 01:40:01PM +0200, tvali wrote: On 24/03/06, Paul de Vrieze [EMAIL PROTECTED] wrote: On Thursday 23 March 2006 21:38, Gustavo Sverzut Barbieri wrote: Cons: - it's not the final solution to the problem, as said, interfaces would be better... but interfaces would

Re: [gentoo-portage-dev] Wildcards in package.keywords

2006-03-16 Thread Brian Harring
On Thu, Mar 16, 2006 at 11:57:06AM +0100, Simon Stelling wrote: Pingveno wrote: kde-base/* ~x86 or, to apply it to a single version, this: =kde-base/*-3.5.1 ~x86 Regular expressions would, of course, work too. They might be a little bit of overkill, though. Bug 57153, was RESOLVED

Re: [gentoo-portage-dev] DB and binary dependency

2006-03-16 Thread Brian Harring
On Thu, Mar 16, 2006 at 02:58:00PM +0100, Paul de Vrieze wrote: On Wednesday 15 March 2006 16:13, Gustavo Sverzut Barbieri wrote: Hello, There is any provision for binary dependency on Gentoo/Portage? The way it works now is quite messy with things like revdep-rebuild. Solving this is

Re: [gentoo-portage-dev] [PATCH] Manifest2 reloaded

2006-03-15 Thread Brian Harring
On Wed, Mar 15, 2006 at 09:53:24PM -0800, Zac Medico wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marius Mauch wrote: Marius Mauch schrieb: The first should be delayed until there is some consensus how the gpg stuff should work in the future, the others I don't see the use for.

esearch integration [was Re: [gentoo-portage-dev] Few things, which imho would make portage better]

2006-03-14 Thread Brian Harring
On Tue, Mar 14, 2006 at 04:33:06PM +0200, tvali wrote: I did think about it now and it seems to me that probably it would be much faster if esearch is not just another package, but part of portage. I mean -- functions of portage, which query db, should use esearch index wherever they need

sync suggestions [was Re: [gentoo-portage-dev] Few things, which imho would make portage better]

2006-03-14 Thread Brian Harring
On Tue, Mar 14, 2006 at 03:50:18PM +0200, tvali wrote: Another question now is about sync. I did read somewhere, that this is not good user behavior to sync more than once per day. I understand that as if this is a huge download even if there is nothing changed. Isnt it nice idea to have

Re: [gentoo-portage-dev] Questions regarding the new portage API (savior branch)

2006-03-02 Thread Brian Harring
On Wed, Mar 01, 2006 at 08:15:19PM -0800, Brian wrote: On Wed, 2006-01-03 at 17:39 -0800, Brian Harring wrote: emerge bzr bzr get http://gentooexperimental.org/~ferringb/bzr/saviour cd saviour bzr pull ...roughly. ;) a little too rough :) [EMAIL PROTECTED] ~ $ bzr get http

Re: [gentoo-portage-dev] Questions regarding the new portage API (savior branch)

2006-03-02 Thread Brian Harring
On Thu, Mar 02, 2006 at 06:54:45PM +0100, Michael Schilling wrote: Hi, Brian wrote on Thursday the 2nd of March 2006: [EMAIL PROTECTED] ~ $ bzr get http://gentooexperimental.org/~ferringb/bzr/saviour bzr: ERROR: urllib2.HTTPError: HTTP Error 403: Forbidden at

Re: [gentoo-portage-dev] Questions regarding the new portage API (savior branch)

2006-03-02 Thread Brian Harring
On Thu, Mar 02, 2006 at 10:44:58PM +0200, Marius Mauch wrote: Brian Harring wrote: On 2/28/06, *Michael Schilling* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: - Is one of these svn-web-repository up to date? * http://sources.gentoo.org/viewcvs.py/portage/main/branches

Re: [gentoo-portage-dev] Portage-2.1_pre5

2006-02-22 Thread Brian Harring
upgrade to 0.4.2 ... On Wed, Feb 22, 2006 at 12:32:19AM -0800, Zac Medico wrote: updating cache config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating doc/stylesheets/fcron-doc.dsl config.status:

Re: [gentoo-portage-dev] Re: confcache, final chance to ixnay it

2006-02-15 Thread Brian Harring
On Tue, Feb 14, 2006 at 04:56:06PM -0600, R Hill wrote: agree here. i would go as far as to maybe print a message to that effect if the build fails while FEATURES=confcache. EBUILD_DEATH_HOOKS comes to mind :) Meanwhile, if you're getting failures up the ying yang and it's not tracked

Re: [gentoo-portage-dev] Re: confcache, final chance to ixnay it

2006-02-15 Thread Brian Harring
On Wed, Feb 15, 2006 at 10:40:09AM +0100, Nagatoro wrote: Brian Harring wrote: On Tue, Feb 14, 2006 at 12:25:34PM +0100, Nagatoro wrote: Brian Harring wrote: Specific merge list would be wonderful... ;) Just had one fail on me: media-libs/libsndfile-1.0.12-r1 It hung right after

Re: [gentoo-portage-dev] [patch] emaint: check/fix package.{keywords,unmask}

2006-02-15 Thread Brian Harring
On Tue, Feb 14, 2006 at 11:26:16AM +0100, Christian Hoenig wrote: Hi, attached is a patch for emaint contained in the sys-apps/portage-2.1_pre4-r1 package that adds support for checking and fixing redundant entries in package.keywords and package.unmask. Fixing those files is done by

Re: [gentoo-portage-dev] Re: confcache, final chance to ixnay it

2006-02-14 Thread Brian Harring
On Mon, Feb 13, 2006 at 08:06:24PM -0600, R Hill wrote: (sorry if this double posts) Brian Harring wrote: Yo... attached is a patch enabling confcache support for portage. Lots of testing, plus fixups from comments from folks prior. So... giving it a few days, nows the time to bitch

Re: [gentoo-portage-dev] Re: confcache, final chance to ixnay it

2006-02-14 Thread Brian Harring
On Tue, Feb 14, 2006 at 12:25:34PM +0100, Nagatoro wrote: Brian Harring wrote: On Mon, Feb 13, 2006 at 08:06:24PM -0600, R Hill wrote: Well, i've been testing this on an x86 laptop and an x86_64 box over the weekend. Good news is that when it works, it works well. Bad news is I've

Re: [gentoo-portage-dev] Re: [gentoo-dev-portage] [PATCH] prevent world file corruption by writing atomically

2006-02-05 Thread Brian Harring
On Mon, Jan 30, 2006 at 10:21:22AM -0800, Zac Medico wrote: Zac Medico wrote: Okay, I've created a file-like class called atomic_ostream and it is now used for both write_atomic() and writedict(). I've been using this patch locally with no problems. Do we have any more feedback or are

Re: [gentoo-portage-dev] should CATEGORY be properly documented in ebuild.5 and declared readonly in ebuild.sh?

2006-02-05 Thread Brian Harring
On Mon, Jan 30, 2006 at 12:36:42PM -0800, Zac Medico wrote: Hi everyone, The subject says it all. What do y'all think? Go for it. ~harring pgpJ5TEihqeyZ.pgp Description: PGP signature

Re: [gentoo-portage-dev] emerge-webrsync patch

2006-02-02 Thread Brian Harring
On Thu, Feb 02, 2006 at 08:16:14AM +0100, Johannes Fahrenkrug wrote: Brian, I just want to make sure this is still on your agenda :) InSVN, and in the tree... :) ~harring pgpcmhNYyu2R8.pgp Description: PGP signature

[gentoo-portage-dev] confcache, final chance to ixnay it

2006-02-02 Thread Brian Harring
Yo... attached is a patch enabling confcache support for portage. Lots of testing, plus fixups from comments from folks prior. So... giving it a few days, nows the time to bitch if you dislike the implementation (and no, I'm not rewriting all of doebuild just for this :) ~harring Index:

Re: [gentoo-portage-dev] emerge-webrsync patch

2006-02-02 Thread Brian Harring
On Thu, Feb 02, 2006 at 01:30:58PM +0100, Johannes Fahrenkrug wrote: Brian Harring wrote: On Thu, Feb 02, 2006 at 08:16:14AM +0100, Johannes Fahrenkrug wrote: Brian, I just want to make sure this is still on your agenda :) InSVN, and in the tree... :) Great! Thanks

Re: [gentoo-portage-dev] [PATCH] rsync metadata cache patch (obsoletes metadata transfer on sync)

2006-01-28 Thread Brian Harring
On Sat, Jan 28, 2006 at 02:39:42AM -0800, Zac Medico wrote: def _delitem(self, cpv): try: del self.db_rw[cpv] except KeyError, ke: if not self.db_ro.has_key(cpv): raise ke You need

Re: [gentoo-portage-dev] [PATCH] rsync metadata cache patch (obsoletes metadata transfer on sync)

2006-01-28 Thread Brian Harring
On Sat, Jan 28, 2006 at 11:24:18AM -0600, Andrew Gaffney wrote: Zac Medico wrote: I have reimplemented the previous patch as a normal cache module that adds a writable layer on top of the pre-generated metadata. If you'd like to try this out (with portage-2.1_preX), simply copy

Re: [gentoo-portage-dev] http-replicator: error: invalid directory '/var/cache/http-replicator' [ ok ]

2006-01-27 Thread Brian Harring
On Fri, Jan 27, 2006 at 12:11:13PM -0600, Dan Sheffner wrote: I'm trying to get the http replicator working. Wrong ml- try gentoo-user ml or bugs.gentoo.org. gentoo-portage-dev == sys-apps/portage development only, ebuilds within the distributed gentoo tree is a seperate issue :) ~harring

Re: [gentoo-portage-dev] making aux_get more usable for vardbapi

2006-01-27 Thread Brian Harring
On Fri, Jan 27, 2006 at 10:19:50AM -0800, Brian Harring wrote: #!/bin/sh eval $(bzcat environment.bz2 | filter-env -f '.*' -v 'BASH.*' ) for __x in $@; do echo __x=$(echo ${__x} | tr '\n,\r,\t' ' , , ') echo ${__x}=$(echo ${!__x} | tr '\n,\r,\t' ' , , ') done Change above would

Re: [gentoo-portage-dev] http-replicator: error: invalid directory '/var/cache/http-replicator' [ ok ]

2006-01-27 Thread Brian Harring
On Fri, Jan 27, 2006 at 01:35:25PM -0600, Dan Sheffner wrote: which group should I send this to? If you're asking about bugs.g.o, just file it without a group, the wrangler will redirect it (although if you look in the metadata.xml, it'll list the group to assign it to if there is a specific

Re: [gentoo-portage-dev] update portage cache progress patch

2006-01-26 Thread Brian Harring
On Wed, Jan 25, 2006 at 10:05:31PM -0600, Jason Pepas wrote: Hi Guys, I cobbled together a quick little hack to have a little bit more interactivity during the Updating Portage cache phase. It prints out the name of the package it is updating, along with the percentage progress. Err...

Re: [gentoo-portage-dev] confcache integration

2006-01-25 Thread Brian Harring
On Tue, Jan 24, 2006 at 03:37:07PM -0500, solar wrote: On Wed, 2006-01-25 at 00:30 +0900, Jason Stubbs wrote: On Tuesday 24 January 2006 21:50, Brian Harring wrote: +os.makedirs(mysettings[CONFCACHE_DIR], mode=0775) +os.chown(mysettings[CONFCACHE_DIR], portage_uid, -1

Re: [gentoo-portage-dev] confcache integration

2006-01-25 Thread Brian Harring
On Wed, Jan 25, 2006 at 12:30:22AM +0900, Jason Stubbs wrote: it seems there's an external confcache binary but I can't tell much beyond that. Yes, it's external (standalone) now- dev-util/confcache. ~harring pgp4K5t0iJcYM.pgp Description: PGP signature

[gentoo-portage-dev] confcache integration

2006-01-24 Thread Brian Harring
Yo. Looking to integrate confcache support into trunk some time in the near future- had users testing it for about 2 months (give or take), so far it's behaved pretty decently. A few packages eat themselves when ran with --cache (bad autotooling), hence the addition of restrict=confcache

Re: [gentoo-portage-dev] making aux_get more usable for vardbapi

2006-01-23 Thread Brian Harring
On Mon, Jan 23, 2006 at 11:16:03AM +0100, Marius Mauch wrote: On Wed, 11 Jan 2006 12:39:03 -0800 Brian Harring [EMAIL PROTECTED] wrote: Regex you've got there allows for pulling the wrong text- recall, ebd originally was doing grep based filtering (regex). Had to rewrite

Re: [gentoo-portage-dev] SQLite backend?

2006-01-18 Thread Brian Harring
On Tue, Jan 17, 2006 at 02:01:29AM -0200, Gustavo Sverzut Barbieri wrote: Hello, I admit I have not followed last threads about cache and new infrastructure (plugins and stuff). Might suggest you take a look at the cache rewrite- it already has a sqlite backend in it, although that's not

Re: [gentoo-portage-dev] making aux_get more usable for vardbapi

2006-01-11 Thread Brian Harring
On Tue, Jan 10, 2006 at 07:53:04PM +0100, Marius Mauch wrote: Currently vardbapi.aux_get only works for a subset of all auxdbkeys, as some like KEYWORDS or DESCRIPTIOn aren't stored in vdb directly. They are however stored in environment.bz2, but not accessible there. This is unintuitive and

Re: [gentoo-portage-dev] emerge-webrsync patch

2006-01-11 Thread Brian Harring
On Wed, Jan 11, 2006 at 10:15:00AM +0100, Johannes Fahrenkrug wrote: if [[ -n $PORTAGE_NICENESS ]] ! [[ -z $WE_ARE_NICED ]]; then Haven't looked at the patch yet, but a bit of bash fu for ya- [[ -n $VAR ]] == ! [[ -z $VAR ]] -z is zero length or unset, -n is length = 1 (thus must be set).

Re: [gentoo-portage-dev] r2522 commit

2006-01-04 Thread Brian Harring
On Wed, Jan 04, 2006 at 09:33:07PM -0500, Alec Warner wrote: Author: ferringb Date: 2006-01-04 08:57:07 + (Wed, 04 Jan 2006) New Revision: 2522 Modified: main/trunk/pym/portage_dep.py Log: el buggo pointed out via spyderous. || ( a ( x? ( b ) y? ( c ) ) ) -x -y , was resulting in

Re: [gentoo-portage-dev] emerge-webrsync patch

2005-12-29 Thread Brian Harring
On Thu, Dec 29, 2005 at 03:51:03PM +0100, Johannes Fahrenkrug wrote: Brian Harring wrote: snip I'd also raid the tarsync call- this is something I was intending on doing but have't yet. /snip I don't have a very deep knowledge of all the portage internals. Are you suggesting

Re: [gentoo-portage-dev] emerge-webrsync patch

2005-12-28 Thread Brian Harring
On Wed, Dec 28, 2005 at 05:38:02PM +0100, Johannes Fahrenkrug wrote: Paul Varner wrote: Instead of hardcoding the nice value, use PORTAGE_NICENESS. Here is how it is done in revdep-rebuild # Obey PORTAGE_NICENESS PORTAGE_NICENESS=$(portageq envvar PORTAGE_NICENESS) [ ! -z

[gentoo-portage-dev] minimal python version required

2005-12-26 Thread Brian Harring
Yo. So I'm getting antsy, and looking to start using fun features like sets, generator expressions, etc. Not a 2.2 thing however. So the question is, when are we going to give the finger to 2.2 and move forward? :) ~harring pgpjw5zAtLPH9.pgp Description: PGP signature

  1   2   >