Project

General

Profile

Actions

Bug #4271

open

Browsing new repository groups via SVN issue

Added by Bert Zahniser over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
Start date:
10.10.2016
Due date:
% Done:

0%

Estimated time:
Sorting:
Commit Number:
Affected Version:

Description

When creating a new repository group and a new repository under that group, it is not available via an SVN connection until the apache2 service is reloaded/restarted. The group creation successfully updates the apache configuration file as outlined here: https://docs.rhodecode.com/RhodeCode-Enterprise/release-notes/release-notes-4.3.0.html?highlight=svn, but apache2 does not load the updated file until a reload/restart is issued. Can the server also reload the apache2 configuration when this file is changed?

Actions #1

Updated by Marcin Kuzminski [CTO] over 7 years ago

  • Target version changed from v4.4 to v4.5

Hi Bert,

Yes this is a good improvement.

The plan should be:

  • add a new option called svn.proxy.reload_cmd
  • if that option is set execute it after generating the config
  • then users can set something like svn.proxy.reload_cmd = /etc/init.d/apache2 reload

we should make sure all error are nicely propagated to the logs from calling this command. That should allow to have a fully automated setup when handling subgroups in apache.

Actions #2

Updated by Martin Bornhold over 7 years ago

  • Status changed from New to In Progress
  • Assignee set to Martin Bornhold
Actions #3

Updated by Marcin Kuzminski [CTO] over 7 years ago

Note: as we discussed. Also a case when there's a new setup, and people don't add any repository groups can lead to template file not beeing created. We should expose a button in svn2apache config that allows to trigger an event, and create the generated file for use in SVN.

Actions #4

Updated by Redmine Integration over 7 years ago

pullrequest created by martinb (status: under_review). https://internal-code.rhodecode.com/rhodecode-enterprise-ce/pull-request/2799

Actions #7

Updated by Martin Bornhold over 7 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF