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

2006-03-03 Thread Donnie Berkholz
Brian Harring wrote:
> If y'all want to mirror it, might I suggest poking marienz for his 
> tailorization knowledge?  Afaik, he had a bzr->svn push working, or at 
> least has investigated it.

From what I've heard, tailor has absolutely no knowledge of branches. So
if you use branches, might want to tread carefully with tailor.

Donnie



signature.asc
Description: OpenPGP digital signature


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] 
> >> wrote:
> >
> >- Is one of these svn-web-repository up to date?
> >  * http://sources.gentoo.org/viewcvs.py/portage/main/branches/savior/
> >  * http://mzz.mine.nu/bzr/savior-svn/portage/
> >
> >
> >
> >I switched over to bzr about 2 months back; svn doesn't allow for 
> >offline committing, nor does gentoo's vcs allow for anon*... bzr 
> >natively allows for those capabilities, so that's what I'm using. :)
> >
> >http://gentooexperimental.org/~ferringb/bzr/saviour
> >Is where I'll be updating the code  for at least the near future.
> >
> 
> Does that mean we should drop the SVN branch?

Realistically... I have no intention of going back to SVN, haven't for 
a while.  Can't even access the darn thing now a days anyways, thus 
the branch has fallen further in usefulness to me :)

If y'all want to mirror it, might I suggest poking marienz for his 
tailorization knowledge?  Afaik, he had a bzr->svn push working, or at 
least has investigated it.

~harring


pgpp4WaacDO2M.pgp
Description: PGP signature


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.


signature.asc
Description: OpenPGP digital signature


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

2006-03-02 Thread Donnie Berkholz
Brian Harring wrote:
> I switched over to bzr about 2 months back; svn doesn't allow for
> offline committing, nor does gentoo's vcs allow for anon*... bzr
> natively allows for those capabilities, so that's what I'm using. :)
> 
> http://gentooexperimental.org/~ferringb/bzr/saviour
> Is where I'll be updating the code  for at least the near future.

Oh c'mon, be trendy and use git. bzr is so last year.

Donnie



signature.asc
Description: OpenPGP digital signature


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

2006-03-02 Thread Marius Mauch

Brian Harring wrote:
On 2/28/06, *Michael Schilling* <[EMAIL PROTECTED] 
> wrote:


- Is one of these svn-web-repository up to date?
  * http://sources.gentoo.org/viewcvs.py/portage/main/branches/savior/
  * http://mzz.mine.nu/bzr/savior-svn/portage/



I switched over to bzr about 2 months back; svn doesn't allow for 
offline committing, nor does gentoo's vcs allow for anon*... bzr 
natively allows for those capabilities, so that's what I'm using. :)


http://gentooexperimental.org/~ferringb/bzr/saviour
Is where I'll be updating the code  for at least the near future.



Does that mean we should drop the SVN branch?

Marius

--
gentoo-portage-dev@gentoo.org mailing list



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 /usr/lib/python2.4/urllib2.py line 480
> >   in http_error_default
> > [EMAIL PROTECTED] ~ $
> > 
> > After getting 156 items in saviour/.bzr/revision-store (219 items in weaves)
> 
> I'm getting exactly the same error after a few minutes and 285 of 384
> packages.

See... I always have a helluva time transitioning the repository since 
I keep forgetting simple things like "upload the repo, not an export" 
or "reset perms due to umask"...

Either way, bzr repo should be fine, and a tarball is up there (might 
be quickest grabbing that and just doing a pull afterwards)

~harring


pgpmkLn1TQrvP.pgp
Description: PGP signature


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

2006-03-02 Thread Michael Schilling
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 /usr/lib/python2.4/urllib2.py line 480
>   in http_error_default
> [EMAIL PROTECTED] ~ $
> 
> After getting 156 items in saviour/.bzr/revision-store (219 items in weaves)

I'm getting exactly the same error after a few minutes and 285 of 384
packages.


Bye,
Michael

-- 
Michael Schilling  

eMail : [EMAIL PROTECTED]
 URL  : http://glcu.sf.net/
 IRC  : Zerwas on #sfg(IRCnet) and #gentoo.de(freenode)

"Change my name I remain the same." - Moloko
-- 
gentoo-portage-dev@gentoo.org mailing list



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

2006-03-02 Thread Brian
On Thu, 2006-02-03 at 00:41 -0800, Brian Harring wrote:
> 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://gentooexperimental.org/~ferringb/bzr/saviour
> > bzr: ERROR: Not a branch: 
> > http://gentooexperimental.org/~ferringb/bzr/saviour
> > [EMAIL PROTECTED] ~ $ 
> 
> Try again :)
> 
> ~harring

getting there.  It is extremely slow for a first check-out.  It ran
about 30 mins. last night... got 219 weaves, at 52 revision-store items
when I went to bed. When I awoke this morning I found:

[EMAIL PROTECTED] ~ $ bzr get 
http://gentooexperimental.org/~ferringb/bzr/saviour
bzr: ERROR: urllib2.HTTPError: HTTP Error 403: Forbidden
  at /usr/lib/python2.4/urllib2.py line 480
  in http_error_default
[EMAIL PROTECTED] ~ $


After getting 156 items in saviour/.bzr/revision-store (219 items in weaves)

trying:

[EMAIL PROTECTED] ~ $ cd saviour
[EMAIL PROTECTED] ~/saviour $ bzr pull
bzr: ERROR: No pull location known or specified.
[EMAIL PROTECTED] ~/saviour $


Perhaps a permissions thing on some files?

-- 
Brian <[EMAIL PROTECTED]>

-- 
gentoo-portage-dev@gentoo.org mailing list



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://gentooexperimental.org/~ferringb/bzr/saviour
> bzr: ERROR: Not a branch: http://gentooexperimental.org/~ferringb/bzr/saviour
> [EMAIL PROTECTED] ~ $ 

Try again :)

~harring


pgpJVERABoPLh.pgp
Description: PGP signature


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

2006-03-01 Thread Brian
On Wed, 2006-01-03 at 17:39 -0800, Brian Harring wrote:
> On 2/28/06, Michael Schilling <[EMAIL PROTECTED]> wrote:
> - Is one of these svn-web-repository up to date?
>   *
> http://sources.gentoo.org/viewcvs.py/portage/main/branches/savior/
>   * http://mzz.mine.nu/bzr/savior-svn/portage/
> 
> I switched over to bzr about 2 months back; svn doesn't allow for
> offline committing, nor does gentoo's vcs allow for anon*... bzr
> natively allows for those capabilities, so that's what I'm using. :)
> 
> http://gentooexperimental.org/~ferringb/bzr/saviour
> Is where I'll be updating the code  for at least the near future.
> 
> 
> emerge bzr
> bzr get http://gentooexperimental.org/~ferringb/bzr/saviour
> cd saviour
> bzr pull
> 
> ...roughly. ;)

> Thanks,
> ~harring

a little too rough :)

[EMAIL PROTECTED] ~ $ bzr get 
http://gentooexperimental.org/~ferringb/bzr/saviour
bzr: ERROR: Not a branch: http://gentooexperimental.org/~ferringb/bzr/saviour
[EMAIL PROTECTED] ~ $ 
-- 
Brian <[EMAIL PROTECTED]>

-- 
gentoo-portage-dev@gentoo.org mailing list



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

2006-03-01 Thread Brian Harring
On 2/28/06, Michael Schilling <[EMAIL PROTECTED]> wrote:
- Is one of these svn-web-repository up to date?
  * http://sources.gentoo.org/viewcvs.py/portage/main/branches/savior/  * http://mzz.mine.nu/bzr/savior-svn/portage/

I switched over to bzr about 2 months back; svn doesn't allow for
offline committing, nor does gentoo's vcs allow for anon*... bzr
natively allows for those capabilities, so that's what I'm using. :)

http://gentooexperimental.org/~ferringb/bzr/saviour
Is where I'll be updating the code  for at least the near future.

emerge bzr
bzr get http://gentooexperimental.org/~ferringb/bzr/saviour
cd saviour
bzr pull

...roughly. ;)
- Where can I find general ideas about the functionality of the planned  new portage API. (TODO files, anything about the general structure)

http://gentooexperimental.org/~ferringb/bzr/saviour/dev-notes/framework
probably is of interest; What's needed right now (eg, something I'm not
currently working on) is functionality to inspect restriction
groups.  Might now make sense, but after reading through
layout.txt and restrictions in the framework directory, ought to make a
bit more sense ;)

Basically... need the ability to descend through a restriction set and
identify all restrictions that are a PackageRestriction checking the
category attribute (fex); it's required for making repo.match a fair
sight faster, and for part of the resolver work.
- Is any API functionality already implemented (so that I can learn how  it is meant to work). Where can I find the corresponding files?

Functionality is implemented for searching (pretty much can search via
whatever you want with any insane combination of criteria), full
building/fetching of an ebuild, merging/installing to a vdb,
unmerging/uninstalling from a vdb.

I've got a crappy replace operation I'm fixing up which will be pushed
to ge.o sometime this week also, although the trigger work is dragging
out.
- When is the best time to find some people of the savior branch in  #gentoo-portage (I don't have time to lure in the # all the time, but
  it's probably the best and quickest way to get more informations)
UTC 03-08 roughly, although I'm occasionally online during UTC 18->01

Thanks,
~harring