Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Which branch to push translations to?

Which branch to push translations to?

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 373 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Luganda01
    wrote on last edited by
    #1

    Hello,

    I have got to the point where I would like to push translation work.
    I am working on Linux and the distribution uses Qt 5.15, so I cloned the 5.15 branch. However, after attempting to do

    git push gerrit HEAD:refs/for/5.15
    

    I have just learnt that that this branch is closed to public commits. Is there no way to ensure that the translations do get into Qt 5.15 at all? Or should I just do

    git push gerrit HEAD:refs/for/dev
    

    But then, I imagine, it would only go into Qt6?

    Regards,

    Kizito

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Please check this wiki article. It provides hints for both Qt 5 and Qt 6,

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      L 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Please check this wiki article. It provides hints for both Qt 5 and Qt 6,

        L Offline
        L Offline
        Luganda01
        wrote on last edited by
        #3

        @SGaist
        Thanks for the tip.
        That link is the instructions that I have followed to get to this stage.
        It all goes well until the bit where it tells you to post a change on Gerrit. The end result is this:

        ! [remote rejected] HEAD -> refs/for/5.15 (prohibited by Gerrit: not permitted: create change on refs/heads/5.15)
        error: failed to push some refs to 'ssh://codereview.qt-project.org:29418/qt/qttranslations.git'
        

        When I did some digging I found this thread: [Development] Commercial-only LTS phase starts: Closing the 5.15 branch(es) on 5th January

        Would it be useful if I flagged the translations up as a bug/issue in Gerrit?
        Or is it better to give up on Qt5?
        However the Linux distribution that I use, and LXQt desktop project that I have been translating are still on Qt5, just preparing to work on going to Qt6. So a lot of projects that would benefit from the new translations will probably still be distributed with Qt5 for some time.

        Regards,

        Kizito

        L 1 Reply Last reply
        0
        • L Luganda01

          @SGaist
          Thanks for the tip.
          That link is the instructions that I have followed to get to this stage.
          It all goes well until the bit where it tells you to post a change on Gerrit. The end result is this:

          ! [remote rejected] HEAD -> refs/for/5.15 (prohibited by Gerrit: not permitted: create change on refs/heads/5.15)
          error: failed to push some refs to 'ssh://codereview.qt-project.org:29418/qt/qttranslations.git'
          

          When I did some digging I found this thread: [Development] Commercial-only LTS phase starts: Closing the 5.15 branch(es) on 5th January

          Would it be useful if I flagged the translations up as a bug/issue in Gerrit?
          Or is it better to give up on Qt5?
          However the Linux distribution that I use, and LXQt desktop project that I have been translating are still on Qt5, just preparing to work on going to Qt6. So a lot of projects that would benefit from the new translations will probably still be distributed with Qt5 for some time.

          Regards,

          Kizito

          L Offline
          L Offline
          Luganda01
          wrote on last edited by
          #4

          @Luganda01
          I have succeeded in pushing the translations to the dev branch.
          What to do about the 5.15 branches remains to be seen.

          Regards,

          Kizito

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved