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

If deleting older verions, provide option for sorting

    Details

    • Similar Issues:

      Description

      The default behaviour for HockeyApp is to sort by "version" to delete older versions, while normally this is fine, it causes a headache if going back to update a hotfix version and a lot of work has continued on Trunk/Mainline.

      Per : http://support.hockeyapp.net/kb/api/api-versions#delete-multiple-versions

      Can change the sort option to "date"

        Attachments

          Activity

          Hide
          tcilegnar Patrick Kuijpers added a comment - - edited

          I'd really love to see the issue resolved.
          It's quite annoying if you build a new version to Hockeyapp, and it is directly deleted because it's an older "version". Why bother building an old version to hockey if it is deleted anyway?

          Sorting by date would also be my suggestion (feels more correct), but of course having the option to choose which sorting is applied would be best!

          ps.
          My workaround for this issue:
          Delete 1 version on Hockeyapp, so your new build will be placed last in the version history.

          However, due to continues delivery we've got about 15 apps updated each 30 minutes (max 10 versions are saved). Manually deleting each of these, with the risk of having your new build being pushed away directly after an automatic build is pretty annoying..

          Show
          tcilegnar Patrick Kuijpers added a comment - - edited I'd really love to see the issue resolved. It's quite annoying if you build a new version to Hockeyapp, and it is directly deleted because it's an older "version". Why bother building an old version to hockey if it is deleted anyway? Sorting by date would also be my suggestion (feels more correct), but of course having the option to choose which sorting is applied would be best! ps. My workaround for this issue: Delete 1 version on Hockeyapp, so your new build will be placed last in the version history. However, due to continues delivery we've got about 15 apps updated each 30 minutes (max 10 versions are saved). Manually deleting each of these, with the risk of having your new build being pushed away directly after an automatic build is pretty annoying..
          Hide
          brantone Brantone added a comment -

          Pull Request inbound ... if you feel comfortable, download the code and give it a whirl ... I currently have it running on my system but we use an internal enterprise setup of HockeyApp.

          Show
          brantone Brantone added a comment - Pull Request inbound ... if you feel comfortable, download the code and give it a whirl ... I currently have it running on my system but we use an internal enterprise setup of HockeyApp.
          Hide
          brantone Brantone added a comment -

          Odd build results haven't posted here yet ... PR: https://github.com/jenkinsci/hockeyapp-plugin/pull/30

          Show
          brantone Brantone added a comment - Odd build results haven't posted here yet ... PR: https://github.com/jenkinsci/hockeyapp-plugin/pull/30
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Brenton Bartel
          Path:
          src/main/java/hockeyapp/HockeyappApplication.java
          src/main/java/hockeyapp/HockeyappRecorder.java
          src/main/java/hockeyapp/HockeyappRecorderConverter.java
          src/main/resources/hockeyapp/HockeyappApplication/config.jelly
          src/main/resources/hockeyapp/HockeyappApplication/help-sortOldVersions.html
          src/main/resources/hockeyapp/HockeyappApplication/help-strategyOldVersions.html
          http://jenkins-ci.org/commit/hockeyapp-plugin/ebb4b258e6c5738c2b89d840e1129f05fa0ecb53
          Log:
          JENKINS-27552 Provide options to select sort order and strategy for deleting old versions

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Brenton Bartel Path: src/main/java/hockeyapp/HockeyappApplication.java src/main/java/hockeyapp/HockeyappRecorder.java src/main/java/hockeyapp/HockeyappRecorderConverter.java src/main/resources/hockeyapp/HockeyappApplication/config.jelly src/main/resources/hockeyapp/HockeyappApplication/help-sortOldVersions.html src/main/resources/hockeyapp/HockeyappApplication/help-strategyOldVersions.html http://jenkins-ci.org/commit/hockeyapp-plugin/ebb4b258e6c5738c2b89d840e1129f05fa0ecb53 Log: JENKINS-27552 Provide options to select sort order and strategy for deleting old versions
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Brenton B
          Path:
          src/main/java/hockeyapp/HockeyappApplication.java
          src/main/java/hockeyapp/HockeyappRecorder.java
          src/main/java/hockeyapp/HockeyappRecorderConverter.java
          src/main/resources/hockeyapp/HockeyappApplication/config.jelly
          src/main/resources/hockeyapp/HockeyappApplication/help-sortOldVersions.html
          src/main/resources/hockeyapp/HockeyappApplication/help-strategyOldVersions.html
          http://jenkins-ci.org/commit/hockeyapp-plugin/0e4cecd109886e4a6b1a6e8a6c60f1ba580f889c
          Log:
          Merge pull request #30 from Brantone/master

          JENKINS-27552 Provide options to select sort order and strategy

          Compare: https://github.com/jenkinsci/hockeyapp-plugin/compare/fd51c7096d86...0e4cecd10988

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Brenton B Path: src/main/java/hockeyapp/HockeyappApplication.java src/main/java/hockeyapp/HockeyappRecorder.java src/main/java/hockeyapp/HockeyappRecorderConverter.java src/main/resources/hockeyapp/HockeyappApplication/config.jelly src/main/resources/hockeyapp/HockeyappApplication/help-sortOldVersions.html src/main/resources/hockeyapp/HockeyappApplication/help-strategyOldVersions.html http://jenkins-ci.org/commit/hockeyapp-plugin/0e4cecd109886e4a6b1a6e8a6c60f1ba580f889c Log: Merge pull request #30 from Brantone/master JENKINS-27552 Provide options to select sort order and strategy Compare: https://github.com/jenkinsci/hockeyapp-plugin/compare/fd51c7096d86...0e4cecd10988
          Hide
          brantone Brantone added a comment -

          Will be doing a new release soon, hoping to get a couple more updates in.

          Show
          brantone Brantone added a comment - Will be doing a new release soon, hoping to get a couple more updates in.
          Hide
          brantone Brantone added a comment -

          In 1.2.2

          Show
          brantone Brantone added a comment - In 1.2.2

            People

            • Assignee:
              brantone Brantone
              Reporter:
              brantone Brantone
            • Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: