1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Not Planned XenForo Upgrade Package

Discussion in 'Closed Suggestions' started by ragtek, Dec 5, 2010.

  1. ragtek

    ragtek Guest

    It would be cool, if we could download a upgrade package without zf if there are no changes in the zf version.
    It's unnecessery to upload & overwrite all the files

    Best scenario would be:

    On the download page we could have a field "current version from which you want to upgrade"

    Then the system checks, if a ZF upgrade in necessery or not, if not, don't pack it into the package:)
    ankurs, Romchik® and g0rn like this.
  2. DSF

    DSF Well-Known Member

    ... and what will you do with updates from B1 -> B4, as example ???
  3. ragtek

    ragtek Guest

    What do you want to do?
    The ZF is already in the b1 so it's imho not needed for the upgrade to b4
    If there are some new components, it would be needed...

    So don't know what you mean
  4. Mike

    Mike XenForo Developer Staff Member

    His point is if ZF changed, but it didn't change in the previous version, then you have a problem.

    The upgrade package isn't about reducing the time to upload. To do that, you at least need to know the version you're upgrading from. It's about removing files/directories that should only very rarely be overwritten.
  5. Brogan

    Brogan XenForo Moderator Staff Member

    That approach would potentially require a different upgrade package for each combination, depending on which files change:
    B1 -> B2
    B1 -> B3
    B1 -> B4
    B2 -> B3
    B3 -> B4

    And as Mike said, the user would need to know the current version and then select the correct upgrade package.

    A lot of extra work to create those packages in the first place and a recipe for disaster IMO.
  6. ragtek

    ragtek Guest

    I don't mean the xenforo files, i mean only the ZF directory.

    But ok, it seems that nobody know, what i mean here
  7. Shamil

    Shamil Well-Known Member

    I assume you mean not to include the Zend Framework files in the upgrade package?

    I repeat what has been said if that were the case: take this scenario. You have three releases, R1, R2 and R3. You are currently on R1. R2 comes out, but you did not upgrade to it. Additionally, R2 comes with changes to the Zend Framework.

    R3 comes out, and you want to upgrade to it. You try to upgrade R3 directly from R1, and you find a few things broken, because stuff that was in R2 was not updated on your installation, as you did not upgrade to R2: as the upgrade package did not include the necessary Zend Framework files/edits.
  8. Brogan

    Brogan XenForo Moderator Staff Member

    Everyone is clear on what you want but for the reasons Mike, I and Shamil have posted it's a lot of extra work and the potential risk to the end user is great due to uploading the wrong package for their current build.
  9. steven s

    steven s Well-Known Member

    No disrespect, but maybe when those who want special upgrade packages create their own forum, they can do it their way.
    Upgrades from beta1-> beta2-> beta3-> beta4 have never been so easy.
    I really don't see any problem.
    For years we've been overwriting files and not removing unused files.
  10. Ranger375

    Ranger375 Well-Known Member

    I just want the upgrade package to not include old images like logo, favicon, etc... I accidentally overwrote mine :(
    Mr Lucky likes this.
  11. Michael Dance

    Michael Dance Active Member

    I think the way it is now is better
  12. FredC

    FredC Well-Known Member

    lol so did i.. Not a common mistake on my part but it happened the other day. It took me all of five minutes to replace my custom images.. I decided to go the extra step and rename my custom images and changed the url's in the acp to reflect the change.. I should be ok if i forget next time..
  13. Paul M

    Paul M Well-Known Member

    Just have a package of changed (or added) files ?

    Only provide such a package for the previous version to the current version - any other scenario would require you to use the full package.
    Mr Lucky likes this.
  14. Brogan

    Brogan XenForo Moderator Staff Member

    Using the full package for an upgrade would overwrite the .htaccess file, removing any edits which have been made.

    The /data and /internal_data directories are also not included in the upgrade package and the install-lock file is stored in the latter.

Share This Page