Page MenuHomePhabricator

Best practices for repository creation
Closed, ResolvedPublic

Description

I read through all the docs I could find, but was unable to determine the best practices for how phabricator is designed to work with larger subversion repositories.

Unlike with git, it is common that svn administrators create one huge svn repository across the entire organisation. That helps later on with copying and moving files between projects and is just easier to organise. For example http://svn.apache.org/viewvc/ has close to 2 million commits in one project.

My instinct is to set up diffusion with a single repository rather than one per project. And the 'owners' module seems to be able to create a relationship between users and paths within a repository. However I am not clear what the relationship is between projects and repositories... I couldn't find one, but clearly it would be useful (for example to show all commits related to one project).

So, could you please clarify in the documentation as to what the best practices approach is here for how to set up phabicrator diffusion. git will tend to force you to one repository per project (since that's the only way to do access control), but svn will naturally go the other way.

Also, clarify around how arcanist will relate actions to projects when operating against a working copy would be useful in the documentation.

I hope you don't mind me putting this request for documentation as a new task since I could not find a better place to raise this issue. Thanks.

Event Timeline

aristedes raised the priority of this task from to Needs Triage.
aristedes updated the task description. (Show Details)
aristedes added a project: Diffusion.
aristedes added a subscriber: aristedes.
chad triaged this task as Wishlist priority.EditedJan 20 2015, 4:20 AM
chad added a subscriber: chad.

If you have pressing questions, IRC is the best place to converse with other installs/admins. We're not likely to pursue this level of documentation for some time. irc://chat.freenode.net/phabricator

epriestley claimed this task.
epriestley added a subscriber: epriestley.

Importing SVN repositories as single repositories is recommended (Facebook's had several million commits in 2011, IIRC).

Projects now have documentation here: https://secure.phabricator.com/book/phabricator/article/projects/