Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-8605

Old app folders app-2.5.x are not cleaned up after update of Sourcetree Windows

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • None
    • Windows 7 64 Bit
      Sourcetree updated from 2.4.8.0 to 2.5.5.0
      Squirrel installer fresh install and then update using the update notifications

      (Previous versions were cleaned up prior to fresh install because of other issues)
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      After updating Sourcetree the old local app-2.5.x folders stay in the %APPDATA% folders. This seems to be an unecessary waste of space. In my current state after fresh install of 2.4.8 and then update to Sourcetree 2.5.5 the old folder AppData\Local\SourceTree\app-2.4.8 consumes 35 MB of disk space.

      With the current idea of making smaller updates and also forcing the user to regularly update Sourcetree the amount of old versions can quickly accumulate several hundreds of MB just dead space.

      Is there any reason for the old app-x.y.z folders to remain in the %APPDATA% folder?

      As far as I can think back with the Squirrel installer the old folders were never removed.

            [SRCTREEWIN-8605] Old app folders app-2.5.x are not cleaned up after update of Sourcetree Windows

            Michael Benz added a comment - - edited

            You are correct ... only two folders exist. After the last update only the last used beta and the freshly installed folders remained. If you want you can close the issue ... I did not follow up thoroughly on the disk space waste and this is totally acceptable and well explained.

            Michael Benz added a comment - - edited You are correct ... only two folders exist. After the last update only the last used beta and the freshly installed folders remained. If you want you can close the issue ... I did not follow up thoroughly on the disk space waste and this is totally acceptable and well explained.

            minnsey added a comment -

            Hi

            The folder duplication exists temporarily because Squirrel downloads and installs the update into a new app-#.#.# folder while it is still running out of the old app-#.#.#. It should manage these folders and at most you should have 2, the current one and the previous one.

            minnsey added a comment - Hi The folder duplication exists temporarily because Squirrel downloads and installs the update into a new app-#.#.# folder while it is still running out of the old app-#.#.#. It should manage these folders and at most you should have 2, the current one and the previous one.

              Unassigned Unassigned
              michael.benz Michael Benz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: