Changes between Initial Version and Version 2 of Ticket #12631


Ignore:
Timestamp:
Dec 15, 2016, 8:02:34 PM (7 years ago)
Author:
Ryan J Ollos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12631

    • Property Owner Robert Corsaro deleted
  • Ticket #12631 – Description

    initial v2  
    1 This plugin is not compatible with Trac 1.0: it causes an error when submitting its main web-form. After reading the code, I discover that the problem lies in the _get_svn_hook_path function, because the repository_type and repository_dir fields are no longer in the "[trac]" section but in the "[repositories]" section, moreover with new names since Trac 1.0 allows multiple projects.
     1This plugin is not compatible with Trac 1.0: it causes an error when submitting its main web-form. After reading the code, I discover that the problem lies in the _get_svn_hook_path function, because the repository_type and repository_dir fields are no longer in the `[trac]` section but in the `[repositories]` section, moreover with new names since Trac 1.0 allows multiple repositories.
    22
    3 Here is a new definition assuming there is a default SVN repository declared with ".alias" in the "[repositories]" section:
     3Here is a new definition assuming there is a default SVN repository declared with `.alias` in the `[repositories]` section:
    44
    5 {{{
     5{{{#!python
    66    def _get_svn_hook_path(self):
    77        """
     
    3434}}}
    3535
    36  Does anyone has rights to commit the proposed definition ?
     36Does anyone has rights to commit the proposed definition ?
    3737However, this plugin should be rewritten more drastically to fully handle multiple projects. Is is still maintained ?