[gentoo-portage-dev] Portage API questions

2009-06-28 Thread Sebastian Pipping
Hello! As part of my Gentoo Google Summer of Code activities I am making use of the Portage Python API. As some of you can tell much quicker than me - if the API can answer question X, and - where to find functionality for task Y I come here to ask for precise pointers related to

Re: [gentoo-portage-dev] Portage API questions

2009-07-05 Thread Sebastian Pipping
Thanks guys, very helpful! More questions later. Sebastian

Re: [gentoo-portage-dev] Portage API questions

2009-07-10 Thread Sebastian Pipping
in case anybody wants to have a look what i made of that you can find my current sources over here: http://git.goodpoint.de/?p=smolt-gentoo.git;a=tree;f=client/distros/gentoo;hb=refs/heads/gentoo thanks again to andy for his code and zac for help on IRC. any feedback and code review is very

[gentoo-portage-dev] portage.settings.profiles

2009-07-10 Thread Sebastian Pipping
Hello! In my current code for GSoC/Gentoo/Smolt I access the list of folders that /etc/make.profile and parents are resolved to: portage.settings.profiles I do this to be able access - profile package.mask, - user package.mask, and - user package.unmask independently, which

[gentoo-portage-dev] [PATCH] Move regex creation out of PhaseCheck constructor (Revision: 15458)

2010-02-26 Thread Sebastian Pipping
From a07a07166354e328711d1574eb06f7d357f21907 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping sebast...@pipping.org Date: Fri, 26 Feb 2010 21:19:06 +0100 Subject: [PATCH] Move regex creation out of PhaseCheck constructor --- pym/repoman/checks.py | 16 +--- 1 files changed, 9

[gentoo-portage-dev] Composite exceptions?

2010-02-26 Thread Sebastian Pipping
Hello! I was wondering how to best handle a case with functions that I would like to collect several exceptions from. Is there an existing standard way to solve this? I was thinking of using the composite pattern for this allowing to throw a tree of exceptions with the option to flatten it for

[gentoo-portage-dev] VCS used for development of portage

2010-02-26 Thread Sebastian Pipping
Hello! Is moving portage development over to Git planned anytime soon? Anything keeping you from the move? Anything I can do to speed it up? Sebastian

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

2010-02-26 Thread Sebastian Pipping
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 are mentioned. In that case a single exception with a list of invalid

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

2010-02-27 Thread Sebastian Pipping
Good idea, thank you! Sebastian

Re: [gentoo-portage-dev] VCS used for development of portage

2010-03-02 Thread Sebastian Pipping
Hello! I've been playing with Git conversions of the portage repository. The current demo conversion from anon SVN is up here: http://git.goodpoint.de/?p=portage.git;a=summary NOTE: Do not use it for development, yet - it's a demo! At the end you can find the script I made for the

Re: [gentoo-portage-dev] VCS used for development of portage

2010-03-05 Thread Sebastian Pipping
On 03/05/10 04:58, Zac Medico wrote: http://git.goodpoint.de/?p=portage.git;a=summary NOTE: Do not use it for development, yet - it's a demo! It looks very nice to me. I noticed that it preserved continuity when branches got moved around, so the history seems like it will be fully

Re: [gentoo-portage-dev] portage sources have moved from SVN to GIT

2010-03-24 Thread Sebastian Pipping
FAQ https://git.wiki.kernel.org/index.php/GitFaq Questions? == - Check #git on Freenode -- very helpful - Mail me - Call me: +49 177 / 460 46 17 Thanks for reading! Sebastian Pipping

[gentoo-portage-dev] Handling merge issues (on the case of prefix)

2010-03-25 Thread Sebastian Pipping
Hello! As the prefix branch is not the last case where people may run into problems with merging due to the conversion from SVN to Git I feel like writing about it here. In this mail - The problem - Merges in SVN - Merges in Git - Consequences - Dealing with it - The

Re: [gentoo-portage-dev] Handling merge issues (on the case of prefix)

2010-03-26 Thread Sebastian Pipping
On 03/26/10 06:23, Sebastian Pipping wrote: Consequences So Git relies on the existence of merge commits to detect what has been merged already. Creating all these merge commits is a tough job for a conversion tool (like svn2git) as it would have to distinguish between cases

Re: [gentoo-portage-dev] Google Summer of Code: Bash AST and grammar

2010-07-21 Thread Sebastian Pipping
On 07/21/10 15:49, Nathan Eloe wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello portage developers My name is Nathan Eloe, and I'm working on a Google Summer of Code project in which I'm writing a library that will create an Abstract Syntax Tree of the bash grammar. In essence I am

Re: [gentoo-portage-dev] Google Summer of Code: Bash AST and grammar

2010-07-21 Thread Sebastian Pipping
On 07/21/10 16:56, Sebastian Pipping wrote: A few things I haven't seen, yet: # Adjacent changes in quotation echo abc''def # Makes abcdef # Escape sequences like .. echo abc\def # Invocation from ibnside strings echo foo $(echo foo), bar `echo bar` # Heredocs (and their variations ..) cat

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

2010-11-27 Thread Sebastian Pipping
On 11/27/10 13:27, Lionel Orry wrote: [Lionel] In fact you can customize the toc level with a 'toclevel' attribute on the command-line, see the Makefile. I did several tries but you can get the same level as the original doc with '-a toclevels=4' if I remember well. In short, it's not a