Uploaded image for project: 'XWiki Infrastructure'
  1. XWiki Infrastructure
  2. XINFRA-464

Upgrade to Weblate 5.16.1

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Major
    • l10n.xwiki.org
    • None
    • Unknown

    Description

      Upgrade from 5.15.1
      See release notes: https://github.com/WeblateOrg/weblate/releases

      Note that right now 5.16.1 has not been released but is planned to contain https://github.com/WeblateOrg/weblate/pull/17980 that we need.
      Also we'll need to perform the following calls after the upgrade before restarting weblate:

      from django.db.models import F
      Component.objects.filter(new_base="", file_format="xwiki-page-properties").update(new_base=F("template"))
      Component.objects.filter(new_base="", file_format="xwiki-java-properties").update(new_base=F("template"))
      Component.objects.filter(new_base="", file_format="xwiki-fullpage").update(new_base=F("template"))
      

      From the django shell (weblate shell). To ensure that all components have properly a template set. See also: https://github.com/WeblateOrg/weblate/issues/14712#issuecomment-3852814030

      Attachments

        Issue Links

          Activity

            People

              surli Simon Urli
              surli Simon Urli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: