Re: [9fans] 9vx and replica/pull on OS X

2010-09-30 Thread Yaroslav
I use replica for several tasks besides usual system update, in
several different ways.
It (applylog) behaves very reliably when changes go to a tree hosted
by a native plan9 fs (fossil in my case), yet many glitches may arise
(like those reported by Paul) if  the destination is a *nix tree over
9P (in my case it is u9fs on AIX). Problems aren't with replica but
with 9P servers on *nix.

I saw replica failing on older 9vx #Z but it went just fine when I
tried with fresh libvx32 pull some months ago.

- Yaroslav

2010/9/11 Eric Van Hensbergen eri...@gmail.com:
 On Fri, Sep 10, 2010 at 10:32 PM, erik quanstrom quans...@quanstro.net 
 wrote:
  What am I doing wrong?

 I would argue that, while it is quite cool in principle, replica is
 the wrong way to solve the source distribution problem. I gave up on
 replica a year ago because I got tired of the kinds of problems you're
 having.

 while some much-needed patches have been slow in
 being applied, i don't think bugs (or a broken 9vx #Z)
 imply that replica is just wrong way to replicate changes
 to sources.


 While that may be true, my experiences with replica have been pretty
 dreadful.  I'm just not smart enough to use it properly I guess.  The
 other aspect with using it with 9vx is that it gives me easy rollbacks
 since my 9vx bits on my mac aren't currently protected by Venti.

        -eric





Re: [9fans] 9vx and replica/pull on OS X

2010-09-11 Thread ron minnich
Hi, I just did a fresh pull for my sysfromiso tree from bitbucket, mk
nuke etc. and it built fine.

It's a lot of fun to look at, e.g.,
http://bitbucket.org/rminnich/sysfromiso/changeset/147b5c83d6f4

and see all the good stuff still being done on this kernel :-)

ron



Re: [9fans] 9vx and replica/pull on OS X

2010-09-11 Thread yy
2010/9/11 Paul Lalonde paul.a.lalo...@gmail.com:
 I'm getting essentially every file tagged as locally modified; will not
 update.

The option -s for replica could help you with that. I have used
replica from 9vx and it works (yes, a lot of warnings, but it works).
However, what I usually do is to keep a sysfromiso hg repository at
the root of the plan9 tree I'm using with 9vx and bind /sysfromiso to
/ in my profile.

If you really want to use replica, you better use 9vx with a plan9
filesystem. If you don't have a real fossil server you can run one
with  qemu (or download mycroftiv's gridtoolsplus from 9gridchan.org,
which includes ready to use images) and then, with my 9vx version (I
think this should work with ron's tree too), you can boot running:

$ cat /tmp/127.ini EOF
nobootprompt=tcp
fs=127.0.0.1
auth=127.0.0.1
user=glenda
EOF
$ 9vx -p /tmp/127.ini

-- 
- yiyus || JGL . 4l77.com



Re: [9fans] 9vx and replica/pull on OS X

2010-09-11 Thread ron minnich
OK, just checked, and my vx32 repo at  bitbucket.org has the cld
patch. I guess yiyus committed it?

ron



[9fans] 9vx and replica/pull on OS X

2010-09-10 Thread Paul Lalonde
I want to build a kw kernel, which caused me to want to update my 9vx
installation.
Have my file system on a case-sensitive remote mounted drive.
I'm getting essentially every file tagged as locally modified; will not
update.
When a file is good, I get a warning that I can't set the uid; I can
probably live with that.
So I grabbed a fresh plan9.tar.bz2 from Russ's site, and tried it.  Same
thing.
What am I doing wrong?

Paul
-- 
I'm migrating my email.  plalo...@telus.net will soon be disconnected.
 Please use paul.a.lalo...@gmail.com from now on.


Re: [9fans] 9vx and replica/pull on OS X

2010-09-10 Thread Eric Van Hensbergen
FWIW, Ron's got a regularly updated snapshot of the source tree in
mercurial -- he and I have been using that to keep our 9vx plan 9
directories up to date -- works faster, better, and is more reliable
than replica.  Using floren's python installation you can even use it
under Plan 9.

-eric


On Fri, Sep 10, 2010 at 8:24 PM, Paul Lalonde paul.a.lalo...@gmail.com wrote:
 I want to build a kw kernel, which caused me to want to update my 9vx
 installation.
 Have my file system on a case-sensitive remote mounted drive.
 I'm getting essentially every file tagged as locally modified; will not
 update.
 When a file is good, I get a warning that I can't set the uid; I can
 probably live with that.
 So I grabbed a fresh plan9.tar.bz2 from Russ's site, and tried it.  Same
 thing.
 What am I doing wrong?

 Paul
 --
 I'm migrating my email.  plalo...@telus.net will soon be disconnected.
  Please use paul.a.lalo...@gmail.com from now on.





Re: [9fans] 9vx and replica/pull on OS X

2010-09-10 Thread ron minnich
On Fri, Sep 10, 2010 at 6:24 PM, Paul Lalonde paul.a.lalo...@gmail.com wrote:

 What am I doing wrong?

I would argue that, while it is quite cool in principle, replica is
the wrong way to solve the source distribution problem. I gave up on
replica a year ago because I got tired of the kinds of problems you're
having.

sysfromiso is pretty up-to-date and it's pretty darn fast to pull
down. I build arm kernels on it.

http://bitbucket.org/rminnich/sysfromiso

If you have questions let me know.

ron



Re: [9fans] 9vx and replica/pull on OS X

2010-09-10 Thread erik quanstrom
  What am I doing wrong?
 
 I would argue that, while it is quite cool in principle, replica is
 the wrong way to solve the source distribution problem. I gave up on
 replica a year ago because I got tired of the kinds of problems you're
 having.

while some much-needed patches have been slow in
being applied, i don't think bugs (or a broken 9vx #Z)
imply that replica is just wrong way to replicate changes
to sources.

i was able to migrate 8 years of dumps from old 32-bit
filesytems with nothing (not a byte) lost in translation
with replica.  contrib quanstro/replica has the modest
changes i made.  i belive some of the change have been
applied to sources.

- erik