Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. [SOLVED] community edition subversion issues (and probable pull request)

[SOLVED] community edition subversion issues (and probable pull request)

Added by AJ SA about 10 years ago

Last February I installed two OpenProjects instances for two large “multi-projects” I am managing for two institutions.
I chose your openproject-ce on Ubuntu 14.04 OpenStack instances. I configured openproject-ce serving thru HTTPS

A week ago the teams of one of them finally started developing code and so I activate the subversion built-in support.
I discovered that subversion is served as WEBDAV https thru https://server/svn/projectid
We started testing checking, commits, etc. All well.

But we have got stuck at tagging and branching.

I read a lot about it and discovered that there must be additional directives in svn_dav.conf for managing three issues:

1) O (n) svn COPY operations due to authorization/locking tree crawling.

This is referenced in:
http://subversion.apache.org/faq.html#dav-slow-copy

With a workaround as these directives in /svn location

SetEnvIf Request_Method COPY method_is_copy
RequestHeader set Depth 0 env=method_is_copy

Or an alternative for Apache >2.4 as

<If “%{REQUEST_METHOD} == ‘COPY’”>
RequestHeader set Depth 0

2) COPY WEBDAV about locking
Here you can see: https://bz.apache.org/bugzilla/show_bug.cgi?id=55306

The problem is that the “If:” header is sent in some place in the chain
No idea how to resolv it!

3) Finally it seems that tagging / branching operations thru COPY thru HTTPS needs another directive

In the github openproject repositories the file: doc/subversion_and_git_integration.md
says that the following directive must be added

RequestHeader edit Destination ^https: http: early

But doen’t work in community edition

I have tried several combinations, no success, no tagging

My question is: Have you seen those issues before?
Any tips?

Thanks,
AJSA


Replies (3)

RE: community edition subversion issues - Added by AJ SA about 10 years ago

Resolved !!!!

In the file

/etc/openproject-ce/addons/apache2/includes/vhost/svn_dav.conf

you need to put this directive inside <Location /svn>

SVNPathAuthz off

and then reload apache

The info is referenced in

http://www.redmine.org/projects/redmine/wiki/Repositories_access_control_with_apache_mod_dav_svn_and_mod_perl

All in all OpenProject is a fork of a fork of Redmine

Furthermore it is advisable to put another one:

LimitXMLRequestBody 0

for heavy load subversion commits

Can somebody explain this to addon-svn-dav maintainer Cyril Rohr
I do not know how to prepare a pull request.

RE: [SOLVED] community edition subversion issues (and probable pull request) - Added by AJ SA about 10 years ago

I have learnt how to do a pull request

https://github.com/aj-opensource/addon-svn-dav

RE: [SOLVED] community edition subversion issues (and probable pull request) - Added by AJ SA almost 10 years ago

Finally, you also need another directive for large updates in subversion 1.8.x (a part of the community edition distribution)

SVNAllowBulkUpdates Prefer

  • (1 - 3/3)
Loading...