Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-12598

In 2.0 update you need to specify branch for every module

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: cvs-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      After an upgrade to the new 2.0 version of the cvs plug-in we now need to specify the "Module location" (trunk, branch) for each module. This is quite cumbersome if you have a lot of modules. In the 1.x plug-in releases you are able to select a given branch for all modules in one text field.

      While I think the new "feature" has a lot of use cases (i.e., having trunk and branches mixed), the usability could be improved here. My requirement is to select/change the branch (or trunk) for all modules in a simple way.

      A non-Ajax suggestion would be to have a "default" entry in the Selection, i.e. Trunk, Branch, Tag, Default. And you can define the default behavior at the top of the cvs configuration.

        Attachments

          Activity

          Hide
          mc1arke Michael Clarke added a comment -

          A change for this was included in the primary snapshot over a month ago

          Show
          mc1arke Michael Clarke added a comment - A change for this was included in the primary snapshot over a month ago
          Hide
          fredg Fred G added a comment -

          Sorry for reopening this issue. I tested version 2.4-SNAPSHOT. During the upgrade from version 2.3 all module configurations got lost.
          So I had to cumbersomely add modules and reinsert each module name.
          Before 2.4 is publicly released we should try to implement an automated migration mechanism, otherwise we risk another user/dev list bashing.

          I still think the user should have the choice between an individual and list-oriented module configuration.

          Show
          fredg Fred G added a comment - Sorry for reopening this issue. I tested version 2.4-SNAPSHOT. During the upgrade from version 2.3 all module configurations got lost. So I had to cumbersomely add modules and reinsert each module name. Before 2.4 is publicly released we should try to implement an automated migration mechanism, otherwise we risk another user/dev list bashing. I still think the user should have the choice between an individual and list-oriented module configuration.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: mc1arke
          Path:
          src/main/java/hudson/scm/CvsRepository.java
          http://jenkins-ci.org/commit/cvs-plugin/1db398a3e0462b188065063446723622eb8b04a1
          Log:
          [FIXED JENKINS-12598] migrate settings between plugin versions

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: mc1arke Path: src/main/java/hudson/scm/CvsRepository.java http://jenkins-ci.org/commit/cvs-plugin/1db398a3e0462b188065063446723622eb8b04a1 Log: [FIXED JENKINS-12598] migrate settings between plugin versions
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: mc1arke
          Path:
          src/main/java/hudson/scm/CvsRepository.java
          http://jenkins-ci.org/commit/cvs-plugin/fdeb19ea7dbfe1d7d2051828db2903b3e9d12a3c
          Log:
          JENKINS-12598 Prevent NPE if a user has no password set for their cvsroot

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: mc1arke Path: src/main/java/hudson/scm/CvsRepository.java http://jenkins-ci.org/commit/cvs-plugin/fdeb19ea7dbfe1d7d2051828db2903b3e9d12a3c Log: JENKINS-12598 Prevent NPE if a user has no password set for their cvsroot
          Hide
          mc1arke Michael Clarke added a comment -

          This has been included in Version 2.4 of the plugin. I'll look at how we can add a text box in during a future release (probably 2.6) without cluttering the interface or confusing users. If you're desperate for it then raise another issue so it remains on my todo list.

          Show
          mc1arke Michael Clarke added a comment - This has been included in Version 2.4 of the plugin. I'll look at how we can add a text box in during a future release (probably 2.6) without cluttering the interface or confusing users. If you're desperate for it then raise another issue so it remains on my todo list.

            People

            • Assignee:
              mc1arke Michael Clarke
              Reporter:
              drulli Ulli Hafner
            • Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: