Re: [9fans] git on plan9

2009-07-21 Thread james toy
==8<== > hmm... so the python-*.tgz files are the same as in > /n/sources/contrib/bichued? ==8<== yes they are; I deleted my local copy that had the added -D_SUSV2_SOURCE in the mkfiles. There are only 5 or so I believe... du -a | grep mkfile in the python-2.5.1-ape dir should reveal them. re

Re: [9fans] git on plan9

2009-07-21 Thread Federico G. Benavento
hmm... so the python-*.tgz files are the same as in /n/sources/contrib/bichued? On Tue, Jul 21, 2009 at 11:56 AM, james toy wrote: > I forgot one thing that is not blatantly apparent.. > > in python-2.5.1-ape you must modify ALL mkfiles and add > -D_SUSV2_SOURCE because of things like... > > #ifnd

Re: [9fans] git on plan9

2009-07-21 Thread james toy
I forgot one thing that is not blatantly apparent.. in python-2.5.1-ape you must modify ALL mkfiles and add -D_SUSV2_SOURCE because of things like... #ifndef _SUSV2_SOURCE #error "inttypes.h is SUSV2" #endif that > 1) install ape-chmod-dirbit and recompile and reinstall that portion of APE > 2)

Re: [9fans] git on plan9

2009-07-21 Thread james toy
all, ==8<== > I don't think the porter's contrib has been created yet; I will > happily host it on mine in the meantime, or other arrangements could > be made. ==8<== my contrib will be made when Geoff gets a chance and to be honest i'm not in a rush since I don't really have too much to contribu

Re: [9fans] git on plan9

2009-07-20 Thread John Floren
I don't think the porter's contrib has been created yet; I will happily host it on mine in the meantime, or other arrangements could be made. John On Mon, Jul 20, 2009 at 2:43 PM, Roman V Shaposhnik wrote: > On Mon, 2009-07-20 at 14:39 -0700, John Floren wrote: >> Hi >> Can I get a copy of your c

Re: [9fans] git on plan9

2009-07-20 Thread Roman V Shaposhnik
On Mon, 2009-07-20 at 14:39 -0700, John Floren wrote: > Hi > Can I get a copy of your code? In fact, can it put in contrib ? Thanks, Roman. > > Thanks > > John > > On Sat, Jul 18, 2009 at 3:46 PM, wrote: > >Phew finally got it. There was some hackery involved in the hg-git > > pyth

Re: [9fans] git on plan9

2009-07-20 Thread John Floren
Hi Can I get a copy of your code? Thanks John On Sat, Jul 18, 2009 at 3:46 PM, wrote: >        Phew finally got it.  There was some hackery involved in the hg-git > python code since mmap wasn't supported -- i basically just implemented them > with reads; however I was considering writing an

Re: [9fans] git on plan9

2009-07-20 Thread John Floren
That should have been a private reply, but I suck at using gmail. John On Mon, Jul 20, 2009 at 2:39 PM, John Floren wrote: > Hi > Can I get a copy of your code? > > Thanks > > John > > On Sat, Jul 18, 2009 at 3:46 PM, wrote: >>        Phew finally got it.  There was some hackery involved in the

Re: [9fans] git on plan9

2009-07-17 Thread drivers
Cinap recommended this and I am working on it right now :) -- any other suggestions are very welcome. Thanks Russ. respectfully ++james --- Begin Message --- You don't need mmap to implement this mmap. If it's just trying to map files into memory read-only, you could implement it by open, stat

Re: [9fans] git on plan9

2009-07-17 Thread Russ Cox
You don't need mmap to implement this mmap. If it's just trying to map files into memory read-only, you could implement it by open, stat to find length, malloc, readn, and return the pointer. This is what the original linuxemu did (and still does?). Russ

Re: [9fans] git on plan9

2009-07-17 Thread drivers
-- > From: "Federico G. Benavento" > To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> > Date: Thu, 16 Jul 2009 20:25:06 -0300 > Subject: Re: [9fans] git on plan9 > ok, I didn't get this the first time, so this is not the hg which is in > sources &

Re: [9fans] git on plan9

2009-07-16 Thread drivers
put a > few pieces together to get 1.3 and git working nicely together. > > hope everyone is doing well, > > respectfully, > > james toy > > > -- Forwarded message -- > From: "Federico G. Benavento" > To: Fans of the OS Plan 9 from Bell Labs

Re: [9fans] git on plan9

2009-07-16 Thread John Floren
ns of the OS Plan 9 from Bell Labs <9fans@9fans.net> > Date: Thu, 16 Jul 2009 20:25:06 -0300 > Subject: Re: [9fans] git on plan9 > ok, I didn't get this the first time, so this is not the hg which is in > sources > this is hg 1.3 > > cpu% hg clone --traceback h

Re: [9fans] git on plan9

2009-07-16 Thread drivers
I currently have hg and this bookmarks git module working on plan9. Russ, thanks for the clue -- i have this packaged up now (my first package but doesn't seem like rocket science. Please let me know if you are interested. Also to be honest 98% of this was Filipe and FGB i just put a f

Re: [9fans] git on plan9

2009-07-16 Thread Federico G. Benavento
ok, I didn't get this the first time, so this is not the hg which is in sources this is hg 1.3 cpu% hg clone --traceback http://bitbucket.org/jespern/django-piston/ destination directory: django-piston requesting all changes adding changesets adding manifests adding file changes added 161 changese

Re: [9fans] git on plan9

2009-07-16 Thread Federico G. Benavento
and my reply to that was: my patch behaves exactly like chmod(1), so those bits are inherited I think this is the right thing to do as posix doesn't support those bits. http://www.opengroup.org/onlinepubs/95399/basedefs/sys/stat.h.html On Thu, Jul 16, 2009 at 8:08 PM, Federico G. Benavento

Re: [9fans] git on plan9

2009-07-16 Thread Federico G. Benavento
it was loosing the dir bit, from the readme: Fixed chmod and fchmod, they were ignoring the dir bit. federico from the notes: Fri May 30 00:04:19 EDT 2008 geoff should append-only and exclusive-access be cleared, inherited or settable via the mode argument? On Thu, Jul 16, 2009 at 6:

Re: [9fans] git on plan9

2009-07-16 Thread erik quanstrom
On Thu Jul 16 17:33:14 EDT 2009, bich...@gmail.com wrote: > python's posix module uses ape. > > On Thu, Jul 16, 2009 at 6:20 PM, erik quanstrom wrote: > > On Thu Jul 16 17:19:52 EDT 2009, bich...@gmail.com wrote: > >> you have to rebuild ape, and then python. it should work after that. > >> > > >

Re: [9fans] git on plan9

2009-07-16 Thread Felipe Bichued
python's posix module uses ape. On Thu, Jul 16, 2009 at 6:20 PM, erik quanstrom wrote: > On Thu Jul 16 17:19:52 EDT 2009, bich...@gmail.com wrote: >> you have to rebuild ape, and then python. it should work after that. >> > > why? > > - erik > >

Re: [9fans] git on plan9

2009-07-16 Thread Felipe Bichued
ape's chmod doesn't work for directories. ape-chmod-dirbit patch is supposed to fix it. On Thu, Jul 16, 2009 at 6:17 PM, ron minnich wrote: > I may be missing it, but what particular thing in the chmod failed? > What was it trying to set? > > ron > >

Re: [9fans] git on plan9

2009-07-16 Thread erik quanstrom
On Thu Jul 16 17:19:52 EDT 2009, bich...@gmail.com wrote: > you have to rebuild ape, and then python. it should work after that. > why? - erik

Re: [9fans] git on plan9

2009-07-16 Thread drivers
Filipe, This has fixed the os.chmod error, I had rebuild ape; however, i had not rebuilt python. I am now running into this traceback even though the .hg dir is being instantiated. rator_gade% hg clone http://bitbucket.org/jespern/django-piston real URL is http://bitbucket.org/jespern

Re: [9fans] git on plan9

2009-07-16 Thread ron minnich
I may be missing it, but what particular thing in the chmod failed? What was it trying to set? ron

Re: [9fans] git on plan9

2009-07-16 Thread Felipe Bichued
you have to rebuild ape, and then python. it should work after that. On Thu, Jul 16, 2009 at 5:51 PM, wrote: > hi, >        Ok, so I have hg compiled and it will run via hg cmd; however, i'm > running into a chmod error.  There was a proposed change in > /n/sources/patch/ape-chmod-dirbit which

Re: [9fans] git on plan9

2009-07-16 Thread drivers
hi, Ok, so I have hg compiled and it will run via hg cmd; however, i'm running into a chmod error. There was a proposed change in /n/sources/patch/ape-chmod-dirbit which can be seen here: http://www.kix.in/plan9/mirror/sources/patch/. I've taken the chmod.c.new file and replaced the o

Re: [9fans] git on plan9

2009-07-15 Thread drivers
John, I think I might be 3/4 the way there with 1.3 :). I'll update you when its done. Too bad geoff is away until the 25th -- he is making me a contrib then. respectfully, jamest --- Begin Message --- On Wed, Jul 15, 2009 at 4:01 PM, Russ Cox wrote: > On Wed, Jul 15, 2009 at 3:38

Re: [9fans] git on plan9

2009-07-15 Thread Federico G. Benavento
not much, just put the C files where they should go /sys/src/cmd/python/Extra and the .py where in the library directory, check how the current hg port was done. On Wed, Jul 15, 2009 at 8:44 PM, John Floren wrote: > On Wed, Jul 15, 2009 at 4:01 PM, Russ Cox wrote: >> On Wed, Jul 15, 2009 at 3:38

Re: [9fans] git on plan9

2009-07-15 Thread Russ Cox
> does the git extension *require* bookmarks? yes. and it wouldn't surprise me if the extension uses API functions new since 1.0.2. if you're going to bother bringing in a new version, you might as well pull in 1.3. but 1.2 would have worked. russ

Re: [9fans] git on plan9

2009-07-15 Thread John Floren
On Wed, Jul 15, 2009 at 4:01 PM, Russ Cox wrote: > On Wed, Jul 15, 2009 at 3:38 PM, wrote: >> Thats good to hear HG is working well, I am really hoping for git >> as it is hosting my current repo of works.  If git does not exist >> and there is no plan to do it in the future I can migrate over my

Re: [9fans] git on plan9

2009-07-15 Thread Russ Cox
On Wed, Jul 15, 2009 at 3:38 PM, wrote: > Thats good to hear HG is working well, I am really hoping for git > as it is hosting my current repo of works.  If git does not exist > and there is no plan to do it in the future I can migrate over my > stuff (i'd prefer to do actual new work than porting