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

unsorted revisions in changes view

    XMLWordPrintable

Details

    Description

      The changes in the build changelog are displayed unsorted:

      Attachments

        Activity

          oh and I forgot:

          the changelog.xml file is sorted - so it seems it only does not sort on display

          flow86 Florian Doersch added a comment - oh and I forgot: the changelog.xml file is sorted - so it seems it only does not sort on display
          danielbeck Daniel Beck added a comment -

          Issue mentions neither SCM, SCM's plugin version, Jenkins version, affected URL…

          https://wiki.jenkins-ci.org/display/JENKINS/How+to+report+an+issue

          danielbeck Daniel Beck added a comment - Issue mentions neither SCM, SCM's plugin version, Jenkins version, affected URL… https://wiki.jenkins-ci.org/display/JENKINS/How+to+report+an+issue

          I thought I have added subversion-scm (Version: 2.6) as module, but ...

          I listed the Jenkins version under "Environment": jenkins 2.19

          flow86 Florian Doersch added a comment - I thought I have added subversion-scm (Version: 2.6) as module, but ... I listed the Jenkins version under "Environment": jenkins 2.19
          danielbeck Daniel Beck added a comment - Weird, I've never seen this and there seem to be no recent changes there. Additionally, from reading the code, it looks sane. Core iterates over changes… https://github.com/jenkinsci/jenkins/blob/55e23a3d936762fc9abae876139d4fa6150a2c82/core/src/main/resources/hudson/scm/SCM/project-changes.jelly#L51 … and says newer need to be before older… https://github.com/jenkinsci/jenkins/blob/55e23a3d936762fc9abae876139d4fa6150a2c82/core/src/main/java/hudson/scm/ChangeLogSet.java#L50 … SVN's iterator doesn't do anything noteworthy… https://github.com/jenkinsci/subversion-plugin/blob/fe86c32c504bc81fb9aefe68f365c21c3cd16075/src/main/java/hudson/scm/SubversionChangeLogSet.java#L90 … the collection gets set in the constructor… https://github.com/jenkinsci/subversion-plugin/blob/fe86c32c504bc81fb9aefe68f365c21c3cd16075/src/main/java/hudson/scm/SubversionChangeLogSet.java#L77 … and the method that creates the list actually sorts. https://github.com/jenkinsci/subversion-plugin/blob/57460ce3cfb0885fce878c47eafec45e83e2fc00/src/main/java/hudson/scm/SubversionChangeLogSet.java#L110

          I think I have some more info about that:
          since there are 2 different repositories in the changelog, multiple revision ranges are in the changelog.xml.

          It seems that the changes are sorted by date. thats why they look unsorted

          flow86 Florian Doersch added a comment - I think I have some more info about that: since there are 2 different repositories in the changelog, multiple revision ranges are in the changelog.xml. It seems that the changes are sorted by date. thats why they look unsorted

          People

            Unassigned Unassigned
            flow86 Florian Doersch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: