Re: [Monotone-devel] Net sync with 0.47 server fails...

2010-05-06 Thread J Decker
Okay thanx - I usually read the release notes about what it takes to
upgrade, I guess I missed this note.   I had 0.45 running and it was
serving fine with the old rc

On Thu, May 6, 2010 at 4:03 AM, Stephen Leake
 wrote:
> J Decker  writes:
>
>> syncing with 0.47 server results on the client
>> mtn.EXE: warning: protocol error while processing peer :
>> 'received network error: denied
>> 'c64200903a4402fff7dcf6343d0290dfbecb5713' write permission for '*'
>> excluding '''
>>
>> doing a quick serch for 'monotone sync 0.47' comes up with
>>
>> http://osdir.com/ml/debian-bugs-dist/2010-03/msg06590.html
>>
>> I had to modify my server's monontonerc to return true for
>> get_netsync_read_permitted and get_netsync_write_permitted...
>> otherwise, even though the key is listed as
>>
>> if( identity == "u...@host.com" ) then return true end
>>
>> it doesn't allow the user read or write permission.
>
> See http://www.monotone.ca/docs/Hooks.html#Hooks section 6.1.1; it
> describes the format of a key_identity, which is now a table.
>
> So your test should be
>
> if( identity.given_name == "u...@host.com" ) then return true end
>
> or maybe identity.name
>
> This changed in 0.45
>
> --
> -- Stephe
>
>
> ___
> Monotone-devel mailing list
> Monotone-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/monotone-devel
>


___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


Re: [Monotone-devel] Net sync with 0.47 server fails...

2010-05-06 Thread Ludovic Brenta

J Decker wrote:
> syncing with 0.47 server results on the client
> mtn.EXE: warning: protocol error while processing peer :
> 'received network error: denied
> 'c64200903a4402fff7dcf6343d0290dfbecb5713' write permission for '*'
> excluding '''
> 
> doing a quick serch for 'monotone sync 0.47' comes up with
> 
> http://osdir.com/ml/debian-bugs-dist/2010-03/msg06590.html

I suppose you mean http://bugs.debian.org/574512

> I had to modify my server's monontonerc to return true for
> get_netsync_read_permitted and get_netsync_write_permitted...
> otherwise, even though the key is listed as
> 
> if( identity == "u...@host.com" ) then return true end
> 
> it doesn't allow the user read or write permission.

Your problem seems unrelated to the Debian bug you mentioned.
It also seems unknown to the Savannah bug tracking system.

-- 
Ludovic Brenta.




___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


Re: [Monotone-devel] Net sync with 0.47 server fails...

2010-05-06 Thread Stephen Leake
J Decker  writes:

> syncing with 0.47 server results on the client
> mtn.EXE: warning: protocol error while processing peer :
> 'received network error: denied
> 'c64200903a4402fff7dcf6343d0290dfbecb5713' write permission for '*'
> excluding '''
>
> doing a quick serch for 'monotone sync 0.47' comes up with
>
> http://osdir.com/ml/debian-bugs-dist/2010-03/msg06590.html
>
> I had to modify my server's monontonerc to return true for
> get_netsync_read_permitted and get_netsync_write_permitted...
> otherwise, even though the key is listed as
>
> if( identity == "u...@host.com" ) then return true end
>
> it doesn't allow the user read or write permission.

See http://www.monotone.ca/docs/Hooks.html#Hooks section 6.1.1; it
describes the format of a key_identity, which is now a table.

So your test should be 

if( identity.given_name == "u...@host.com" ) then return true end

or maybe identity.name

This changed in 0.45

-- 
-- Stephe


___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


[Monotone-devel] Net sync with 0.47 server fails...

2010-05-05 Thread J Decker
syncing with 0.47 server results on the client
mtn.EXE: warning: protocol error while processing peer :
'received network error: denied
'c64200903a4402fff7dcf6343d0290dfbecb5713' write permission for '*'
excluding '''

doing a quick serch for 'monotone sync 0.47' comes up with

http://osdir.com/ml/debian-bugs-dist/2010-03/msg06590.html

I had to modify my server's monontonerc to return true for
get_netsync_read_permitted and get_netsync_write_permitted...
otherwise, even though the key is listed as

if( identity == "u...@host.com" ) then return true end

it doesn't allow the user read or write permission.


___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel