SVN Integration

Evening,

I am currently working on a SVN browser for ProjectPier, I just wanted to get peoples ideas and comments on what they would like to see with it.

I also have a couple questions regarding permissions, configuration options, etc that I hope someone might be able to help me out with. I would like to add the SVN browser to the permissions so that administrators can choose whether or not to allow people to view the browser, I also want a place to set the repository path, not sure where the best place is to do this, etc.

Any help would be appreciated.

Regards,

-Erik

I would like to see a file explorer like browser for the repository as part of the SVN integration. The other parts I would like to see is the commit logs be included in the activity log. It would probably be ideal to include a unified diff in the details of that log message. Basically like using the log message as the title and the diff as the body.

Something else that might be necessary, would be to also have a place to put the users SVN username in case its different from projectpier's username. If permissions are right, I think it would also be useful to have a link near the bottom that would provide details about connecting to the repository (for people that aren't familiar with it) with a regular client.

The place to put the svn repository details is in the project settings I think. That also brings up a point though - I know we're looking at just doing basic integration at this point - but what credentials do you include in the settings since different users could have different permissions on the repository.

Are you using opensource already made svn classes? Or custom made svn classes?

I'm also "hacking" some quick 'n dirty svn browser, because i need one for my personal installation of PP.
But I use the VersionControl_SVN Pear package for svn communication.

Repository name could be set in the "edit project details" screen, that's where i've put my "Subversion Repository Name" input box. And the path ( on my server it's "svn://localhost/svn/{project_reposname}" ) could be set in the configuration page? Or maybee zet the complete path in the project detail screen, so that users can use an external svn sever too

Things i'd like to see in an svn browser?

Browse the repository :) Possible to browse back in revisions, show revision differences, file revision logs ( with comments etc ).

I'd love to see svn integration into project pier :)

I think the idea of having commits show up in the activity log is great, clicking on these should give you a diff (like the timeline in Trac).

Some kind of control of permissions would also be necessary. Would it use your pp username and password to log into the svn server? I guess there are security implication in keeping the password in plain text as you'd need to to be able to log in?

You could look at the sourcecode of websvn ( http://websvn.tigris.org/ ) which might be borrowable for integration in project pier...

Hope these suggestions help,

Kelvin :)

Or it could be handled like ohloh.net, where you associate an svn username (or alias as they call it) with an account.

I think this is a good feature for PP, however it will only really be useful for developers, so maybe it should be an addon to the core as opposed to being built in?

I'd argue that it is useful for more than just developers. Maybe "only useful on development projects" would be more accurate. I've just worked on a large project where after an initial learning curve the project managers were all using Trac and loving the fact that it was integrated with what the developers were doing...

Anyway - I'd be happy with it being some sort of plugin or add on if the general consensus is that it doesn't belong in the core. It's an extension I'd definitely install if it was available though!