Description

Create an SVN Management Component (#38)

Create a Plugin-Compoment which manages the SVN.

Minimum Functionality:

  • SVN creation (Setup Contribution)
  • Link to the Trac Post Commit Hook
  • Link to the authentication

draft-code:

from trac.core import *
from trac.env import IEnvironmentSetupParticipant


class SubversionController(Component)
    implements(IEnvironmentSetupParticipant)
    # IEnvironmentSetupParticipant
    def environment_created(self): 
        # svndir = os.path.join(self.env.path + 'svn')
        # svnadmin create 
        # create post-commit-hook-link
    def environment_needs_upgrade(self, db): return False
    def upgrade_environment(self, db): pass
Changes

Change History

Changed 3 years ago by lazaridis_com

  • milestone set to release 0.1

Changed 3 years ago by lazaridis_com

  • description modified (diff)

Changed 3 years ago by lazaridis_com

  • component changed from infra to infra.repository
  • milestone changed from release 0.1 to simplify-installation

Changed 3 years ago by lazaridis_com

  • priority changed from normal to critical

Changed 3 years ago by lazaridis_com

  • milestone changed from <trac.ticket.model.Milestone object at 0x427e47ac> to release 0.1

Changed 3 years ago by lazaridis_com

  • milestone changed from rework to <trac.ticket.model.Milestone object at 0x427e47ac>

Milestone rework deleted