• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • tasks-plugin
    • None
    • Platform: All, OS: All

      It would be nice if we could have an option to mark task tags as case-insensitive.

          [JENKINS-2904] Case-insensitive open tasks

          kutzi added a comment -

          I'm currently preparing a patch for this. Since this is the first time I do
          something with hudson plugins, it may take some time. But I'm confident to have
          something ready this week.

          kutzi added a comment - I'm currently preparing a patch for this. Since this is the first time I do something with hudson plugins, it may take some time. But I'm confident to have something ready this week.

          Ulli Hafner added a comment -

          Thanks, let me know if you need some help.

          Ulli Hafner added a comment - Thanks, let me know if you need some help.

          kutzi added a comment -

          Created an attachment (id=555)
          Patch

          kutzi added a comment - Created an attachment (id=555) Patch

          kutzi added a comment -

          Got it done much quicker than I thought

          There's however one issue I'm not sure of:
          How is the migration of old settings for the tasks plugin handled? If I've
          understood the plugin guide correctly, adding a new field, as I've done, should
          be no problem. Old behaviour should be preserved as ignoreCase=false should be
          the default. Is that right?

          kutzi added a comment - Got it done much quicker than I thought There's however one issue I'm not sure of: How is the migration of old settings for the tasks plugin handled? If I've understood the plugin guide correctly, adding a new field, as I've done, should be no problem. Old behaviour should be preserved as ignoreCase=false should be the default. Is that right?

          Ulli Hafner added a comment -

          For boolean values with default 'false' nothing special has to be done.
          Otherwise you need to set the default value in the readResolve method.

          Ulli Hafner added a comment - For boolean values with default 'false' nothing special has to be done. Otherwise you need to set the default value in the readResolve method.

          Ulli Hafner added a comment -

          Thanks for the patch. I'm currently restructuring some base classes... I will
          integrate your patch as soon as I'm finshed.

          Ulli Hafner added a comment - Thanks for the patch. I'm currently restructuring some base classes... I will integrate your patch as soon as I'm finshed.

          Code changed in hudson
          User: : drulli
          Path:
          trunk/hudson/plugins/tasks/src/main/java/hudson/plugins/tasks/TasksPublisher.java
          trunk/hudson/plugins/tasks/src/main/java/hudson/plugins/tasks/TasksReporter.java
          trunk/hudson/plugins/tasks/src/main/java/hudson/plugins/tasks/parser/TaskScanner.java
          trunk/hudson/plugins/tasks/src/main/java/hudson/plugins/tasks/parser/WorkspaceScanner.java
          trunk/hudson/plugins/tasks/src/main/resources/hudson/plugins/tasks/config/tasks.jelly
          trunk/hudson/plugins/tasks/src/main/resources/hudson/plugins/tasks/config/tasks.properties
          trunk/hudson/plugins/tasks/src/main/resources/hudson/plugins/tasks/config/tasks_de.properties
          trunk/hudson/plugins/tasks/src/test/java/hudson/plugins/tasks/parser/TaskScannerTest.java
          trunk/hudson/plugins/tasks/src/test/resources/hudson/plugins/tasks/parser/tasks-case-test.txt
          http://fisheye4.cenqua.com/changelog/hudson/?cs=15563
          Log:
          [FIXED JENKINS-2904] Added toggle option for case insensitive open tasks.

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : drulli Path: trunk/hudson/plugins/tasks/src/main/java/hudson/plugins/tasks/TasksPublisher.java trunk/hudson/plugins/tasks/src/main/java/hudson/plugins/tasks/TasksReporter.java trunk/hudson/plugins/tasks/src/main/java/hudson/plugins/tasks/parser/TaskScanner.java trunk/hudson/plugins/tasks/src/main/java/hudson/plugins/tasks/parser/WorkspaceScanner.java trunk/hudson/plugins/tasks/src/main/resources/hudson/plugins/tasks/config/tasks.jelly trunk/hudson/plugins/tasks/src/main/resources/hudson/plugins/tasks/config/tasks.properties trunk/hudson/plugins/tasks/src/main/resources/hudson/plugins/tasks/config/tasks_de.properties trunk/hudson/plugins/tasks/src/test/java/hudson/plugins/tasks/parser/TaskScannerTest.java trunk/hudson/plugins/tasks/src/test/resources/hudson/plugins/tasks/parser/tasks-case-test.txt http://fisheye4.cenqua.com/changelog/hudson/?cs=15563 Log: [FIXED JENKINS-2904] Added toggle option for case insensitive open tasks.

            drulli Ulli Hafner
            kutzi kutzi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: