Re: Review Board's SVN post-commit hook - post-review cannot write to the cookie file

2010-02-24 Thread Christian Hammond
Hi, Did you ever figure this out? I think what's generally done is just that, they preconfigure the environment before calling post-review. post-review is a useful tool for developers, and is written with that in mind. It's also useful for post-commit hooks, but isn't written solely for that. It

Review Board's SVN post-commit hook - post-review cannot write to the cookie file

2010-02-15 Thread Stodge
I installed the SVN post-commit from review board's contrib directory. I'm running into a problem that doesn't make sense. When the hook runs I get an error; [Errno 13] Permission denied: '.post-review-cookies.txt'#012 So initially it does make sense - it's trying to create the cookie file in my

Re: Review Board's SVN post-commit hook - post-review cannot write to the cookie file

2010-02-15 Thread Stodge
I know I can override the environment: data = execute([os.path.join(POSTREVIEW_PATH, 'post-review')] + args, env = { 'LANG': 'en_US.UTF-8', 'HOME': '/tmp',