I'm trying to get a better workflow with bzr between deploy server and local development machine.
Web server running as www-user and bzr-login with local account, wdev. at server groups are setup, www-user: www-user,wdev and vice versa.
For simplicity, urgent bugfixes are fixed in trunk at server through ssh.
What would be the recommended setup? Trunk in /home/wdev?
Should the deployment be a trunk or branch?
Currently, I have to su root to commit, which puzzels me.. I can "su www-data" and have read/write access. Still, the webserver still doesn't have write permissions with php. Current solution is chown:ing everything to www-data, a dislikable solutions since any merge would blur new files with wdev-ownership.
Thankful for any basic howto regarding prefered setup
(this is more or less a x-post from https://serverfault.com/questions/299436/directory-rights-with-webserver-and-bzr but didn't get much response there).
regards,