Configuring SVN in CloudForge

SVN Settings

Your SVN repositories come ready to roll in CloudForge. But you might want to fine tune, here's is how.

Global Settings

Screen_Shot_2012-11-28_at_2.54.36_PM.png

  • Allow DAV writes: This allows you to connect to your repository as a network drive (ie: via Windows Explorer, or Finder), and simply drag and drop files to it. It will disable the need for commit messages.
  • Quick path authentication: It will make interacting with your repository faster. However, it will disable folder-specific permissions - It's ok if you manage your users by project, but not good if you manage permissions by folders inside your repo.
  • Allow anonymous access: This will allow Read access to ALL your repositories to anyone with the URL. Not recommended, but there are cases (OpenSource projects) where this could be useful.

Commit Hooks

 

Screen_Shot_2012-11-12_at_5.52.44_PM.png

  • Case Insensitive Filenames: This will prevent file conflicts if a developer commits a file foo.c  and another commits FOO.c to the same location
  • Block Empty Log Messages: This will force everyone to type a commit message for each commit - The "Allow DAV write" setting above will overwrite this setting.
  • Block Merge Conflicts: This will prevent commits that contain text files with commit conflicts. (>>>>>)
  • Post-Commit Web Hook: You can enter a URL where you are hosting your web hook. We will POST the commit details to that, so you can trigger builds, deployments, etc.. as you wish after a commit. See here for script examples.
  • Pre-Commit Web Hook: You can also enter a URL where you are hosting a web hook for a pre-commit check. We will POST the commit details, and wait for your script's response before allowing the commit. See here for script examples.
Have more questions? Submit a request

0 Comments

Article is closed for comments.