[gentoo-portage-dev] Re: [gentoo-dev] Re: Proposal: pre-emerge advisories

2005-07-22 Thread Alec Warner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 R Hill wrote: Craig Lawson wrote: Comments? This subject has also been brought up on the forum[1] very recently. There have been some interesting ideas and alternatives posed that seem workable. I was hoping some of the developers, if

[gentoo-portage-dev] Re: [gentoo-dev] digest + manifest = new file format

2005-08-04 Thread Alec Warner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Whoopse, should have gone to gentoo-portage-dev, my bad ;) Alec Warner wrote: This is basically a resubmission of Genone's file format merger [1]. The code to handle digests and manifests is currently being designed and rewritten. As such we

Re: [gentoo-portage-dev] PATCH: refactor emerge spinner (#102073)

2005-08-11 Thread Alec Warner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Zac Medico wrote: http://bugs.gentoo.org/show_bug.cgi?id=102073 Author: Zac Medico Some refactoring could help make the emerge code more maintainable. I have written a trivial patch that encapsulates the spinner code into an object. This

Re: [gentoo-portage-dev] Next major version

2005-08-11 Thread Alec Warner
Christopher Korn wrote: Hi Jason and other folks, I saw your last comment on http://bugs.gentoo.org/show_bug.cgi?id=73350 about most the these feature to be present in the next major version. That is really great to read. On that subject, I'd like to have an idea about when we should expect

Re: [gentoo-portage-dev] PATCH: gentoolkit: Make portage.config object a global object

2005-09-16 Thread Alec Warner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jason Stubbs wrote: On Saturday 17 September 2005 01:59, Paul Varner wrote: http://bugs.gentoo.org/show_bug.cgi?id=90680 Author: Paul Varner The current implementation of gentoolkit creates a portage.config object for every package object that it

Re: [gentoo-portage-dev] Questions about CVS locations and GID...

2005-10-05 Thread Alec Warner
Brian Harring wrote: On Wed, Oct 05, 2005 at 11:31:32PM +0100, Ciaran McCreesh wrote: On Wed, 5 Oct 2005 16:13:06 -0500 Brian Harring [EMAIL PROTECTED] wrote: | A) would like to hear what you think is required planning wise | compared to the previous haubi prototype patch. There has been

Re: [gentoo-portage-dev] Questions about CVS locations and GID...

2005-10-05 Thread Alec Warner
is bound to run into. If it's so hard that's it's impossible then maybe I should just give up now What sort of plan do you suggest? On 10/5/05, Alec Warner [EMAIL PROTECTED] wrote: Brian Harring wrote: On Wed, Oct 05, 2005 at 11:31:32PM +0100, Ciaran McCreesh wrote: On Wed

Re: [gentoo-portage-dev] Questions about CVS locations and GID...

2005-10-06 Thread Alec Warner
Ciaran McCreesh wrote: On Wed, 5 Oct 2005 21:39:49 -0500 Brian Harring [EMAIL PROTECTED] wrote: | So bluntly, shut up and let those who you think are being retarded, | be retarded. Discussions on this list regarding those attempts | shouldn't be heckled unless you're contributing to those

Re: [gentoo-portage-dev] branches/2.0 moved to trunk

2005-11-06 Thread Alec Warner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike Frysinger wrote: On Sun, Nov 06, 2005 at 05:40:26PM +0900, Jason Stubbs wrote: I've moved trunk/ to branches/2.1-experimental/ and branches/2.0 to trunk/. Make sure to update before doing any changes... i thought 2.1 / trunk was dead ?

Re: [gentoo-portage-dev] Savior Wiki

2005-11-13 Thread Alec Warner
in it. This is not meant to be official documentation, although my hope is that the wiki may later help to fluff up the docs, kind of like the User Comments section in php documentation :) Alec Warner (antarus) Marco Morales wrote: where in the page is the savior portage code related stuff?... On Sat, Nov

[gentoo-portage-dev] Savior Plugins Backport

2005-11-15 Thread Alec Warner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This patch should cover the backport of 3.0's plugin framework. Mostly needed to backport a few utils, which were stuck in portage_util.py. A few extra files ( portage_plugins and portage_modules ) were taken wholesale. Also a small addition to

[gentoo-portage-dev] Plugin backport PATCH (1/2)/(2/2)

2005-11-15 Thread Alec Warner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian asked me to split this up, and the first patch had some cruft...and I broke things, both from old messing around. So I started with a clean installed of rc7, hopefully these are a bit better. One patch is for the backend stuff,

Re: [gentoo-portage-dev] .53, .54 and beyond...

2005-11-25 Thread Alec Warner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ciaran McCreesh wrote: On Fri, 25 Nov 2005 19:00:07 -0500 Ned Ludd [EMAIL PROTECTED] wrote: | Why introduce a feature which is crippled? It would be almost as | easy to allow ebuilds to mess with their 'real' runtime dependency | value as

Re: [gentoo-portage-dev] .53, .54 and beyond...

2005-11-25 Thread Alec Warner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ciaran McCreesh wrote: On Fri, 25 Nov 2005 19:42:14 -0500 Alec Warner [EMAIL PROTECTED] wrote: | Ciaran McCreesh wrote: | On Fri, 25 Nov 2005 19:00:07 -0500 Ned Ludd [EMAIL PROTECTED] | wrote: | | Why introduce a feature which is crippled

Re: [gentoo-portage-dev] .53, .54 and beyond...

2005-12-06 Thread Alec Warner
to refer people to :p - -Alec Warner (Antarus) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iQIVAwUBQ5WGIGzglR5RwbyYAQKUyw/8DzLWhxIUX8fwp0UdbGq1nlX7PQw/InBx GZxA9xZOEMdIff72vZCWEbJBkIQVC5eHS

[gentoo-portage-dev] ACCEPT_KEYWORDS depreciation

2005-12-14 Thread Alec Warner
people using ACCEPT_KEYWORDS and yell at them? :) zmedico if ACCEPT_KEYWORDS in os.environ: print dumbass Any reasons/opinions against adding something like this? - -Alec Warner (antarus) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http

[gentoo-portage-dev] default USE flags in IUSE

2006-01-02 Thread Alec Warner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Disclaimer: This is nowhere near done, mostly looking to start a conversation with people about stuff it's missing, and ways to improve, mostly it was a proof of concept. However please try it out and play with it a bit, find issues, etc.. included

[gentoo-portage-dev] r2522 commit

2006-01-04 Thread Alec Warner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 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 || ( a () ) the main

[gentoo-portage-dev] /etc/portage/profile/{pmask,arch.list, categories}

2006-01-09 Thread Alec Warner
it wouldn't nuke existing entries in the pmask file. Comments welcome as usual. Alec Warner (antarus) pgpe9C7P88z5H.pgp Description: PGP signature

[gentoo-portage-dev] Fwd: /etc/portage/profile/{pmask,arch.list, categories}

2006-01-09 Thread Alec Warner
My Apologies, KMail died, and when I restarted it it had the mail but stripped the attachment ;) -- Forwarded Message -- Subject: /etc/portage/profile/{pmask,arch.list, categories} Date: Monday 09 January 2006 09:59 From: Alec Warner [EMAIL PROTECTED] To: gentoo-portage-dev

[gentoo-portage-dev] [PATCH] portage config cleanup bits

2006-01-14 Thread Alec Warner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 config has two sets of environment + use stuff. one is called configlist, the other configdict. They are essentially copies of each other, and since for me dicts with named keys are easier, plus the old code was written crappily and is hard for me

Re: [gentoo-portage-dev] first pass at --debug-build

2006-01-23 Thread Alec Warner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike Frysinger wrote: On Thursday 19 January 2006 19:39, Mike Frysinger wrote: here's what i was talking about when i mentioned the mutate() idea tested and it works for me ... binary is built properly and environment.bz2 contains the correct

Re: [gentoo-portage-dev] confcache integration

2006-01-24 Thread Alec Warner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian Harring wrote: 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

[gentoo-portage-dev] RDEPEND = DEPEND

2006-01-27 Thread Alec Warner
]. Then Swegener came out and said it was going away[3]. So I ask, which is it, and if the behavior is going away, why not the check in repoman now ;) - -Alec Warner [1] http://bugs.gentoo.org/show_bug.cgi?id=79337 [2] http://marc.theaimsgroup.com/?l=gentoo-devm=111750102823602w=2 [3] http

Re: [gentoo-portage-dev] --nospinner in emerge_default_opts

2006-01-28 Thread Alec Warner
to allow this option? If in doubt, file one and if it isn't one we can always close it later. Just double check that you can reproduce the outcome. Is there a reason you can't just alias it? Er, if it's a bug it's a bug ;) Although that is probably a solution in the meantime :) - -Alec

Re: [gentoo-portage-dev] IUSE_DEFAULTS-v0.1

2006-02-15 Thread Alec Warner
Paul de Vrieze wrote: On Tuesday 14 February 2006 13:44, Alec Warner wrote: Well that problem would be, no one wants to modify everything in app-portage/ :). If my portage EAPI is 1, but my tools don't support processing +- in IUSE, how does EAPI help me here? The support check is only

[gentoo-portage-dev] Portage-2.1_pre5

2006-02-21 Thread Alec Warner
Zac Medico has graciously done a pre5 release of the 2.1 tree and placed it in his dev space and on the mirrors. The ebuild is not currently in the portage tree, but please feel free to test it prior to it's actual release. The intent here is to hopefully catch any show stopping bug prior to

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

2006-02-22 Thread Alec Warner
Paul Varner wrote: On Tue, 2006-02-21 at 20:07 -0500, Alec Warner wrote: Your testing is appreciated. I'll file a bug for this one, once I investigate further. 'genlop -t' doesn't get along with it very well. # genlop -t screen * app-misc/screen snip Thu Dec 15 23:10:28 2005 app

[gentoo-portage-dev] Config Cleanup Last Call

2006-02-24 Thread Alec Warner
Please review for badness, otherwise I'll commit this soon ;) --- portage.py 2006-01-15 00:08:06.170717008 -0500 +++ - 2006-01-15 00:22:00.597106000 -0500 @@ -931,17 +931,8 @@ self.use_defs = copy.deepcopy(clone.use_defs) self.usemask =

Re: [gentoo-portage-dev] Config Cleanup Last Call

2006-02-25 Thread Alec Warner
Jason Stubbs wrote: On Saturday 25 February 2006 10:40, Alec Warner wrote: Please review for badness, otherwise I'll commit this soon ;) - self.backupenv = os.environ.copy() - self.configlist.append(self.backupenv) # XXX Why though? - self.configdict[backupenv]=self.configlist[-1

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

2006-03-02 Thread Alec Warner
Marius Mauch wrote: Does that mean we should drop the SVN branch? Marius I've already removed it from the documentation and added links to Brian's current work on ge.org. As far as the actual repo, I think keeping it around a bit longer might be beneficial, but who knows.

[gentoo-portage-dev] ExtractKernelVersion

2006-03-07 Thread Alec Warner
The kernel ( along with QA ) has reported that the portage generated $KV is sometimes quite horribly wrong. They would like us to retire the kernel generated $KV, ebuilds that need $KV should inherit linux-info, unless they are themselves a kernel-module, in which case they should inherit

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

2006-03-14 Thread Alec Warner
? Normalizing does two things, reduces redundant data, and increases database speed as tables are designed in a manner that minimalizes merging time. Running with a schema you pulled out of your ass is likely to give poor database performance. -Alec Warner signature.asc Description: OpenPGP digital

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

2006-03-23 Thread Alec Warner
tvali wrote: Can someone tell me, which portage python commands should be used or which kind of file created, if i'm going to test this idea? -- in beginning, i would like to just add simple deps - are ebuilds the only place to change and is there any clear doc of them [as i wouldnt like to

[gentoo-portage-dev] Repoman Help Extraction

2006-04-03 Thread Alec Warner
+# Alec Warner [EMAIL PROTECTED] 2006 + +from output import * +import string + +allowed_filename_chars=a-zA-Z0-9._-+: +version=1.2 + + Repoman's short action modes +shortmodes={ci:commit} + + Help for each of Repoman's action modes +modeshelp={ +scan : Scan directory tree for QA issues (default), +fix

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

2006-04-06 Thread Alec Warner
Sorry, send with wrong address earlier. Original Message Subject: Re: [gentoo-portage-dev] 2.1 release candidate soon? Date: Thu, 06 Apr 2006 20:09:06 -0400 From: Alec Warner [EMAIL PROTECTED] To: gentoo-portage-dev@lists.gentoo.org References: [EMAIL PROTECTED] -BEGIN

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

2006-04-07 Thread Alec Warner
Zac Medico wrote: This kind of thing will be less of a problem if we shorten the period of the release cycle. If we shorted it to 2 months or so, then it won't matter much when something gets bumped to the next cycle. Also this isn't exactly news to you all as I sent my intentions

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

2006-04-14 Thread Alec Warner
Brian Harring wrote: 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

Re: [gentoo-portage-dev] Outstanding decisions

2006-04-16 Thread Alec Warner
Simon Stelling wrote: Hey all, I'm just wading through a list of ~200 bugs of which some need decisions what should be done, whether it should be done at all or simply whether it is a bug or not. Bug: SRC_URI: spaces not supported http://bugs.gentoo.org/show_bug.cgi?id=102607 Is this a

Re: [gentoo-portage-dev] Outstanding decisions

2006-04-17 Thread Alec Warner
Simon Stelling wrote: Next bunch of bugs that need a decision: Bug: portage: emerge unmerge ... should stop in case of an error http://bugs.gentoo.org/show_bug.cgi?id=118515 Another WONTFIX/WILLFIX issue Bug: need a way to package.unmask packages in profiles

Portage Features That Depend on Binaries [WAS: Re: [gentoo-portage-dev] Re: Re: 2.1 release candidate soon? ]

2006-04-19 Thread Alec Warner
Philipp Riegger wrote: On Apr 15, 2006, at 6:10 PM, Duncan wrote: But i really think this is not about helping but about confusion. If i post my emerge --info you don't know if i really use confcache even if i have FEATURES=confcache, because emerge --info does not say if i have emerged

Re: [gentoo-portage-dev] Re: r3200 - main/trunk/bin

2006-04-23 Thread Alec Warner
Mike Frysinger wrote: On Sunday 23 April 2006 12:36, Alec Warner wrote: Modified: main/trunk/bin/sed Log: Make sed wrapper not executable. why ? it isnt hurting anything to be set executable -mike At present it is not in the pre9 tarball. However it is in SVN, so it will make

Re: [gentoo-portage-dev] Re: Refactoring of emerge code

2006-04-29 Thread Alec Warner
Is there any chance you can break this up? Mostly one patch for each * below? OTherwise it's rather large ( 1000 lines ) and is difficult to figure out what/when/where happened m h wrote: Upon further testing, I'm updating a line in the patch On 4/28/06, m h [EMAIL PROTECTED] wrote:

Re: [gentoo-portage-dev] Re: Refactoring of emerge code

2006-04-30 Thread Alec Warner
. I noticed that this patch won't apply to the new portage (pre10 broke it). Should I be working against that or different code (from the cvs tree perhaps)? (I'd like to get a patch in that people can try before it becomes outdated). On 4/29/06, Alec Warner [EMAIL PROTECTED] wrote

[gentoo-portage-dev] Breakout etc-update, dispatch-conf

2006-04-30 Thread Alec Warner
A bunch of bugs have been fixed with both of these lately, anyone against splitting them out, please speak up now, otherwise I will split them out later this week and portage will depend on some nasty virtual whose name I have not come up with yet ( new style virtual ). -Antarus --

[gentoo-portage-dev] Stablizing portage 2.1

2006-05-01 Thread Alec Warner
Per some discussion on IRC, I am bring stablizing 2.1 at the pre9 or pre10 branch to the table. Reasons for doing so include: 2006.1 - They say if 2.1 is to be in 2006.1, mid-july Xorg Modular - They cannot stable xorg modular until 2.1 is stable FreeBSD - Their entire port depends on features

Re: [gentoo-portage-dev] Stablizing portage 2.1

2006-05-01 Thread Alec Warner
Zac Medico wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alec Warner wrote: Marius Mauch wrote: Alec Warner schrieb: Why Branch at 2.1_pre9? Manifest2 is already in the tree and needs refinement. Branching at pre7 is also a canidate, but i would rather press for keeping manifest2

[gentoo-portage-dev] secpass=1 and wheel

2006-05-13 Thread Alec Warner
# Portage has 3 security levels that depend on the uid and gid of the main # process and are assigned according to the following table: # # Privileges secpass uidgid # normal 0anyany # group 1anyportage_gid # super 20 any # # If the

Re: [gentoo-portage-dev] [PATCH] Update www-apache/mod_jk to 1.2.15

2006-06-07 Thread Alec Warner
Paul Dlug wrote: On 6/6/06, *Grant Goodyear* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Paul Dlug wrote: The following patch upgrades www-apache/mod_jk to 1.2.15 (current latest available version in portage is 1.2.13 which has numerous evil bugs). This is my

Re: [gentoo-portage-dev] Manifest verification

2006-06-18 Thread Alec Warner
Now I get it. So could somebody add a line to make.conf.example that says which features are on by default? I didn't notice strict was on. We can't tell you that, FEATURES are stacked, first make.defaults, and then from your profile setting; aka the default FEATURES are only known at runtime

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

2006-08-04 Thread Alec Warner
Since you're sliding this in, why not slide it in using use dep syntax? No, not going to fight over this not being in package.mask, what I'm saying is this _is_ masking of a use dep atom, just use use dep syntax in the file instead. If y'all get use deps, it'll be a bit simpler for folks

Re: [gentoo-portage-dev] has_version and built_with_use ignore package.provided

2006-08-06 Thread Alec Warner
Paul Bredbury wrote: Hi, I was directed to this list after my Portage patches were rejected. I'm hoping that someone *other* than the rejecter will look at the bug, and: See it as a valid bug, reopen it, and take SpanKY's keyboard away so he can't reject it again. The bug is:

Re: [gentoo-portage-dev] has_version and built_with_use ignore package.provided

2006-08-06 Thread Alec Warner
Paul Bredbury wrote: There is a third option. Reporting an error. But it is not an error. The answer is known to be False, through the application of logic. There are really 3 states here Either you have enough information to prove something true; OR you have enough information to prove

Re: [gentoo-portage-dev] [PATCH] use.force and package.use.force (bug #142853)

2006-08-07 Thread Alec Warner
Zac Medico wrote: Users can unforce them via /etc/portage/profile/{use.force,package.use.force} in the usual -flag way. Why new files? Why isn't this just pushed into the use stacking order over-ridable by the user (default USE flags, and not forcing)? Then they can over-ride it in

Re: [gentoo-portage-dev] [PATCH] use.force and package.use.force (bug #142853)

2006-08-07 Thread Alec Warner
Zac Medico wrote: Alec Warner wrote: Zac Medico wrote: Users can unforce them via /etc/portage/profile/{use.force,package.use.force} in the usual -flag way. Why new files? Why isn't this just pushed into the use stacking order over-ridable by the user (default USE flags, and not forcing

[gentoo-portage-dev] Portage Sets

2006-08-29 Thread Alec Warner
So I have implemented merging of sets (more or less) in a local portage branch. However there are some use cases for which the appopriate action is ambiguous. Use Case #1: Set1 = { postfix, gentoolkit, lsof, bind-utils, vixie-cron } A set of standard tools to be on a machine. Assume a new

Re: [gentoo-portage-dev] [PATCH] Repoman SVN support

2006-11-25 Thread Alec Warner
excludes GIT, since it's a huge non-standard piece of crap./bias I may work on fixing that code up and putting it into HEAD before I retire. -Alec Warner [EMAIL PROTECTED] -- gentoo-portage-dev@gentoo.org mailing list

Re: [gentoo-portage-dev] [PATCH] Repoman SVN support

2006-11-25 Thread Alec Warner
Fabian Groffen wrote: On 25-11-2006 03:00:10 -0500, Alec Warner wrote: Fabian Groffen wrote: Hi all, Please find attached the patch of the prefix repoman sources against the current trunk. I hope I removed all hunks that have prefix-only changes. You realize I wrote generic SCM support

Re: [gentoo-portage-dev] [PATCH] keyword anti-match (foo/-foo) overrides other matches

2006-11-29 Thread Alec Warner
Zac Medico wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel Barkalow wrote: If the configuration has keywords foo bar, and a package has -foo bar, mask the package (masked by -bar keyword). This is the sensible behavior if we ever make use of listing multiple keywords in the

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

2007-01-30 Thread Alec Warner
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. Currently this isn't really possible, however I while

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

2007-01-31 Thread Alec Warner
Hmm; one could get the same benefit by introducing a new interface (e.g. pkg_env_check()) which is defined to return true if the environment is ok, false otherwise (with some text to stdout, perhaps). The package manager would then run this function, after building the depgraph and

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

2007-01-31 Thread Alec Warner
Stephen Bennett wrote: On Tue, 30 Jan 2007 17:06:51 +0100 Marius Mauch [EMAIL PROTECTED] wrote: The idea is to add a special category (let's call it active for now) that has the following properties: - this category doesn't exist in portdir or vdb (= no ebuilds) - when portage

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

2007-01-31 Thread Alec Warner
Kevin F. Quinn wrote: On Wed, 31 Jan 2007 12:27:10 -0500 Alec Warner [EMAIL PROTECTED] wrote: Hmm; one could get the same benefit by introducing a new interface (e.g. pkg_env_check()) which is defined to return true if the environment is ok, false otherwise (with some text to stdout

[gentoo-portage-dev] Default Phase Hooks

2007-02-08 Thread Alec Warner
In order to facilitate better ease of use with phase hooks, I propose a paludis-style default phase hook. Basically ebuild.sh provides a default hook that looks in PORTAGE_HOOKS_DIR/{pre,post}_${EBUILD_PHASE}/ for shell scripts and sources them. The patch to ebuild.sh only generates hooks 1

Re: [gentoo-portage-dev] Add a couple new warnings to QA check

2007-03-18 Thread Alec Warner
Ryan Hill wrote: Hey all. I'd like to add two warnings to the QA GCC warning message reporter for GCC 4.2. The first is a new warning that is given when GCC makes an optimization assuming that overflow for operations on signed ints is undefined, as per the standard. Apparently a lot of

[gentoo-portage-dev] Gentoolkit cleanup

2007-03-31 Thread Alec Warner
I've gone ahead and ported the namespace changes for HEAD into gentoolkit so it can now import modules properly. If the new-style modules fail it will fall back to the old-n-busted import style, keeping backwards compatability for people with different portage versions. I also removed the string

Re: [gentoo-portage-dev] localization.py

2007-10-20 Thread Alec Warner
There have been various efforts to add localization for errors and other portage messages. The codebase is not well designed for it though, and the people who want it done keep getting busy with other tasks, so it mostly lies unused. On 10/19/07, Arfrever Frehtes Taifersar Arahesis [EMAIL

Re: [gentoo-portage-dev] RFC: replacing packages

2007-10-25 Thread Alec Warner
On 10/24/07, Marius Mauch [EMAIL PROTECTED] wrote: As package sets are mostly done now, I'm starting to think about something else. One of my pet peeves with portage is the packages file in profiles, for several reasons: 1) it has two completely independent purposes ok 2) it implements a

[gentoo-portage-dev] Re: [gentoo-dev] Re: More general interface to use flags

2007-11-04 Thread Alec Warner
On 11/4/07, Steve Long [EMAIL PROTECTED] wrote: Marijn Schouten (hkBst) wrote: the current interface to use flags, useq, usev, use_with, use_enable, as defined in /usr/lib/portage/bin/ebuild.sh lacks generality. The common thing is testing a use flag and possibly echoing a string, but there

[gentoo-portage-dev] Re: [gentoo-qa] splitting up package.mask

2008-03-15 Thread Alec Warner
On 3/14/08, Mike Frysinger [EMAIL PROTECTED] wrote: On Friday 14 March 2008, Alec Warner wrote: On 3/14/08, Mike Frysinger [EMAIL PROTECTED] wrote: On Thursday 13 March 2008, Steve Dibb wrote: Because package.mask in CVS for profiles is so huge, I think it might help it to get

Re: [gentoo-portage-dev] [RFC] Label profiles with EAPI for compatibility checks

2008-10-04 Thread Alec Warner
On Fri, Oct 3, 2008 at 5:09 PM, Zac Medico [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi everyone, Please consider a new eapi profile configuration file that will designate the EAPI to which any package atoms within a given layer of the profile stack must

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

2008-11-26 Thread Alec Warner
On Wed, Nov 26, 2008 at 3:13 AM, Amit Dor-Shifer [EMAIL PROTECTED] wrote: Is there syntax in eix for querying: is package X installed with a version X.Y or higher? Amit portageq has_version / ATOM René 'Necoro' Neumann wrote: Amit Dor-Shifer schrieb: Thanks :) Reason I thought this

Re: [gentoo-portage-dev] Re: search functionality in emerge

2008-12-02 Thread Alec Warner
On Mon, Dec 1, 2008 at 4:20 PM, Tambet [EMAIL PROTECTED] wrote: 2008/12/2 Emma Strubell [EMAIL PROTECTED] True, true. Like I said, I don't really use overlays, so excuse my igonrance. Do you know an order of doing things: Rules of Optimization: Rule 1: Don't do it. Rule 2 (for experts

Re: [gentoo-portage-dev] Re: search functionality in emerge

2008-12-02 Thread Alec Warner
Alec Warner [EMAIL PROTECTED] On Mon, Dec 1, 2008 at 4:20 PM, Tambet [EMAIL PROTECTED] wrote: 2008/12/2 Emma Strubell [EMAIL PROTECTED] True, true. Like I said, I don't really use overlays, so excuse my igonrance. Do you know an order of doing things: Rules of Optimization

Re: [gentoo-portage-dev] Re: equery refactorization

2008-12-03 Thread Alec Warner
On Wed, Dec 3, 2008 at 1:03 AM, Douglas Anderson [EMAIL PROTECTED] wrote: On Wed, Dec 3, 2008 at 7:21 AM, Michael Smith [EMAIL PROTECTED] wrote: I had the same idea and even began working on a roadmap for it. Step 1: move gentoolkit to site-packages Step 2: move individual command classes to

Re: [gentoo-portage-dev] equery: RFC and code review

2009-02-11 Thread Alec Warner
On Tue, Feb 10, 2009 at 2:53 AM, Douglas Anderson d...@gendja.com wrote: Hi all, It's been a few months since we first discussed refactoring equery on this list and I think made pretty good time and I'm reasonably happy with it. So I'm throwing out to you all. I've tried to keep a running

Re: [gentoo-portage-dev] [PATCH] missing-rebuild package set

2009-02-17 Thread Alec Warner
On Fri, Aug 8, 2008 at 2:10 PM, Zac Medico zmed...@gentoo.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lucian Poston wrote: The following patchs add a library dependency rebuilder as a package set, @missing-rebuild, to portage-2.2_rc6. Similar to the --library flag in

Re: [gentoo-portage-dev] Who's maintaining the Eclass HOWTO page nowdays?

2009-03-11 Thread Alec Warner
My first guess is 'no one.' I'd try devmanual.gentoo.org over anything in /proj/en/devrel/, however developer relations owns stuff in /proj/en/devrel, so if there are incorrect things in it you probably want to file bugs at bugs.gentoo.org against devrel for changes. On Wed, Mar 11, 2009 at

Re: [gentoo-portage-dev] qfile assumes category names contain a hyphen

2009-03-16 Thread Alec Warner
On Mon, Mar 16, 2009 at 9:34 AM, Amit Dor-Shifer ami...@oversi.com wrote: Hi all. While working on my overlay, I stumbled on an issue where qfile refused to acknowledge an installed file as being part of my package. Looking into q's implementation (portage-utils-0.1.29), I see: amit0

Re: [gentoo-portage-dev] Conflicting RDEPENDS

2009-05-29 Thread Alec Warner
On Fri, May 29, 2009 at 2:33 AM, René 'Necoro' Neumann li...@necoro.eu wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Patrick Börjesson schrieb: # emerge -1av bacon These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild

Re: [gentoo-portage-dev] Re: Conflicting RDEPENDS

2009-05-31 Thread Alec Warner
On Sun, May 31, 2009 at 4:21 AM, Marijn Schouten (hkBst) hk...@gentoo.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Duncan wrote: Patrick Börjesson psychoti...@lavabit.com posted 20090529201741.gb11...@nexon.nexus, excerpted below, on Fri, 29 May 2009 22:17:41 +0200: Why

Re: [gentoo-portage-dev] Re: Conflicting RDEPENDS

2009-06-07 Thread Alec Warner
On Wed, Jun 3, 2009 at 4:05 AM, Marijn Schouten (hkBst)hk...@gentoo.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alec Warner wrote: On Sun, May 31, 2009 at 4:21 AM, Marijn Schouten (hkBst) hk...@gentoo.org wrote: Duncan wrote: Patrick Börjesson psychoti...@lavabit.com posted

Re: [gentoo-portage-dev] portageq doesn't clean-up generated tmp/ and var/

2009-07-07 Thread Alec Warner
On Tue, Jul 7, 2009 at 1:40 AM, Amit Dor-Shiferami...@oversi.com wrote: amit0 ~ # ls -la /var/db/pkg/var ls: cannot access /var/db/pkg/var: No such file or directory amit0 ~ # ls -la /var/db/pkg/tmp ls: cannot access /var/db/pkg/tmp: No such file or directory amit0 ~ # portageq match

[gentoo-portage-dev] Fwd: Random patch

2009-10-19 Thread Alec Warner
Ugh I hate this list name ;p -- Forwarded message -- From: Alec Warner anta...@gentoo.org Date: Mon, Oct 19, 2009 at 12:38 AM Subject: Random patch To: gentoo-dev-port...@gentoo.org Get rid of if True...True is always true in CPython. replace icky:  'foo' + \  'bar' constructs

Re: [gentoo-portage-dev] A question regarding portage GFS2

2010-03-15 Thread Alec Warner
On Mon, Mar 15, 2010 at 2:44 AM, Mikko Rinne mikko.ri...@tnnet.fi wrote: Hey, It's my first time I'm mailing to this list so be warned. I have a problem with GFS2. In the past there's been sys-fs/gfs2 ebuild available in the portage, but for now it's been removed as one of it's dependencies

Re: [gentoo-portage-dev] portage docbook documentation - why not asciidoc ?

2010-11-27 Thread Alec Warner
On Sat, Nov 27, 2010 at 6:53 AM, Zac Medico zmed...@gentoo.org wrote: On 11/27/2010 01:25 AM, Sebastian Pipping wrote: On 11/26/10 21:18, Zac Medico wrote: The asciidoc format seems nice, but personally, I think I prefer docbook since the SGML/XML approach seems more flexible and extensible.

Re: [gentoo-portage-dev] portage docbook documentation - why not asciidoc ?

2010-11-27 Thread Alec Warner
On Sat, Nov 27, 2010 at 1:50 PM, Mike Frysinger vap...@gentoo.org wrote: On Saturday, November 27, 2010 16:39:04 Alec Warner wrote: On Sat, Nov 27, 2010 at 6:53 AM, Zac Medico wrote: As it is, I'm fairly comfortable with docbook. Now you want me to learn a new format, with possible drawbacks

Re: [gentoo-portage-dev] [PATCH 1/4] Manifest2 hash: Whirlpool

2011-10-01 Thread Alec Warner
On Sat, Oct 1, 2011 at 11:08 AM, Mike Frysinger vap...@gentoo.org wrote: On Thursday, September 29, 2011 21:27:39 Robin H. Johnson wrote: 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] [GLEP59v2 5/5] GLEP59: Change live Manifest2 hashes to SHA256, SHA512, WHIRLPOOL

2011-10-02 Thread Alec Warner
On Sun, Oct 2, 2011 at 1:39 PM, Zac Medico zmed...@gentoo.org 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 these hashes via metadata/layout.conf, then we can toggle it atomically for all commiters. Otherwise,

Re: [gentoo-portage-dev] [PATCH] portageq: add colormap helper

2012-03-10 Thread Alec Warner
On Sat, Mar 10, 2012 at 8:15 PM, Mike Frysinger vap...@gentoo.org wrote: Signed-off-by: Mike Frysinger vap...@gentoo.org ---  bin/isolated-functions.sh              |    2 +-  bin/portageq                           |    8  pym/portage/output.py                  |    6 ++  

Re: [gentoo-portage-dev] tools-portage packages

2012-07-18 Thread Alec Warner
On Tue, Jul 17, 2012 at 10:48 PM, Paul Varner fuzzy...@gentoo.org wrote: All: (Apologies if you get this twice. I never saw my initial send of the message hit the mailing list) Sending this here before I send to the gentoo-dev list. Below is the list of packages that are managed by the

Re: [gentoo-portage-dev] tools-portage packages

2012-07-18 Thread Alec Warner
On Wed, Jul 18, 2012 at 8:09 PM, Christian Ruppert id...@gentoo.org wrote: On 07/17/12 at 03:48PM -0500, Paul Varner wrote: All: (Apologies if you get this twice. I never saw my initial send of the message hit the mailing list) Sending this here before I send to the gentoo-dev list. Below

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

2012-09-23 Thread Alec Warner
On Sat, Sep 22, 2012 at 7:22 PM, Pacho Ramos pa...@gentoo.org wrote: El sáb, 22-09-2012 a las 13:54 -0400, Mike Frysinger escribió: On Friday 21 September 2012 15:08:20 Pacho Ramos wrote: In that one, we try to use the following: has vala ${IUSE//+/} ! use vala return 0 inherit eutils

Re: [gentoo-portage-dev] [PATCH] econf: update configure/config.{sub,guess} atomically to avoid races

2013-12-17 Thread Alec Warner
LGTM On Tue, Dec 17, 2013 at 4:26 PM, Brian Dolbec dol...@gentoo.org wrote: On Tue, 2013-12-17 at 18:28 -0500, Mike Frysinger wrote: Use $BASHPID which will be unique even in subshells. URL: https://bugs.gentoo.org/487478 --- bin/phase-helpers.sh | 17 +++-- 1 file

Re: [gentoo-portage-dev] [PATCH] econf: update configure/config.{sub,guess} atomically to avoid races

2013-12-17 Thread Alec Warner
On Tue, Dec 17, 2013 at 5:41 PM, Greg Turner g...@malth.us wrote: On Tue, Dec 17, 2013 at 3:28 PM, Mike Frysinger vap...@gentoo.org wrote: + sed -i \ + -e 1s:^#![[:space:]]*/bin/sh:#!$CONFIG_SHELL: \ +

Re: [gentoo-portage-dev] [PATCH] econf: update configure/config.{sub,guess} atomically to avoid races

2013-12-17 Thread Alec Warner
On Tue, Dec 17, 2013 at 6:53 PM, Greg Turner g...@malth.us wrote: On Tue, Dec 17, 2013 at 5:58 PM, Alec Warner anta...@gentoo.org wrote: Sed is already atomic antarus@goats5 /tmp/test $ cat foo Debian Rocks! antarus@goats5 /tmp/test $ strace -e trace=file sed -i -e 's/Debian/Gentoo/g

Re: [gentoo-portage-dev] New proposed modular sync system

2014-01-09 Thread Alec Warner
On Thu, Jan 9, 2014 at 9:33 AM, Brian Dolbec dol...@gentoo.org wrote: First off, I know many of you think portage needs to do everything on it's own. NO outside dependencies. BUT! Please hear me out. While working on many of gentoo's tools gentoolkit's equery, eclean, enalyze, Layman,

Re: [gentoo-portage-dev] [PATCH 1/3] Have repoman check if the packages to unpack rare archive formats from SRC_URI are present in DEPEND (bug #205909).

2014-01-15 Thread Alec Warner
On Wed, Jan 15, 2014 at 4:07 PM, Tom Wijsman tom...@gentoo.org wrote: --- bin/repoman | 53 + man/repoman.1 | 4 2 files changed, 57 insertions(+) I urge you to not author new checks like this. /usr/bin/repoman is already a mess.

Re: [gentoo-portage-dev] Signing off patches

2014-01-16 Thread Alec Warner
On Thu, Jan 16, 2014 at 5:20 AM, Alexander Berntsen alexan...@plaimi.netwrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 We have quite a few dedicated developers now. To ensure that good taste is exercised, and that best practices are followed, patches should be signed. I'm

Re: [gentoo-portage-dev] [PATCH 3/3] pym/portage/package/ebuild/fetch.py: Factor out _get_uris

2014-01-19 Thread Alec Warner
On Sat, Jan 18, 2014 at 7:07 PM, W. Trevor King wk...@tremily.us wrote: The current fetch() function is quite long, which makes it hard to know what I can change without adverse side effects. By pulling this logic out of the main function, we get clearer logic in fetch() and more explicit

  1   2   >