ViewVC plugin needs /viewvc/ as part of the URL

XMLWordPrintable

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Critical
    • Component/s: viewVC-plugin
    • None

      The current code assumes that the term "viewvc" is part of the URL.

      private static final String CHANGE_SET_FORMAT = "viewvc/?view=rev&root=%s&revision=%d";
      private static final String DIFF_FORMAT = "viewvc/%s?root=%s&r1=%d&r2=%d&diff_format=h";
      private static final String FILE_FORMAT = "viewvc/%s?root=%s&view=markup";

      As we do not have influence on the ViewVC installation (different team which takes care of Subversion + ViewVC), the /viewvc/ folder is not part of our URLs:

      https://svn.company.com/cgi-bin/viewvc.cgi/REPONAME/
      https://svn.company.com/cgi-bin2/viewvc.cgi/REPONAME/

      With the current project config parameters:

      The plugin will create the following URL which do not work:

            Assignee:
            Unassigned
            Reporter:
            Michael Rumpf
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: