• Branch for stable?

    From Helge Kreutzmann@21:1/5 to Helge Kreutzmann on Tue Jan 7 09:30:01 2020
    This is a MIME-formatted message. If you see this text it means that your E-mail software does not support MIME-formatted messages.

    Hello Guillem,
    On Sun, Jan 05, 2020 at 03:27:09PM +0100, Helge Kreutzmann wrote:
    On Sun, Dec 29, 2019 at 09:22:47PM +0100, Guillem Jover wrote:
    On Thu, 2019-12-26 at 08:43:42 +0100, Helge Kreutzmann wrote:
    do you already have a branch for stable where I can commit my
    translation fixes (the German man page translation is currently undergoing a review on debian-l10n-german)?

    I've created the 1.19.x branch with a buster alias, where you can now
    push those updates. :)

    I've problems using this branch. I checked it out and tried updating
    it with your script:
    helge@samd:/scr/build/src/DCS/dpkg.git/dpkg$ LC_ALL=C ~/skripte/git-wrapper update
    Enter passphrase for key '/home/helge/.ssh/id_rsa':
    ** You have local commits that were not pushed to the remote repository.
    ** The remote repository has evolved. Rebasing your work.
    Enter passphrase for key '/home/helge/.ssh/id_rsa':
    ** Starting a rebase process...
    fatal: It seems that there is already a rebase-apply directory, and
    I wonder if you are in the middle of another rebase. If that is the
    case, please try
    git rebase (--continue | --abort | --skip)
    If that is not the case, please
    rm -fr ".git/rebase-apply"
    and run me again. I am stopping in case you still have something
    valuable there.

    ** The rebase process miserably failed for an unknown reason.
    ** Aborting it.

    (I tried it a second time, because I thought I made an error the first
    time around, I left that branch behind, now I cannot see it anymore).

    Is there something special I need to do to use this branch?

    I tried updating it with your script again, and now the branch looks
    fine, however, when I want to push it with your script I get: helge@samd:/scr/build/src/DCS/dpkg.git/dpkg$ ~/skripte/git-wrapper commit
    ** Pushing your changes to the remote repository.
    Here's a resume of what you're going to push:
    0ed5b240e Proofreading of German man pages on debian-l10n-german (Part 1b) 9d03f2827 po: Regenerate .pot files and merge .po files with them
    84711ea4a Proofreading of German man pages on debian-l10n-german (Part 1) 3fc25a513 German dselect translation update
    1e86f6e74 German dpkg translation update
    f80b99048 Dpkg::Source::Package: Honor require_valid_signature option
    92aa74078 po: Remove previous msgids for up-to-date translations
    f2b880791 Update German translation of manual pages
    d102f1905 Update German scripts translation
    341fa418c Dpkg::Source::Package::V3::Native: Do not say v1.0 for 3.0 formats …
    659e0224d libdpkg: Do not generate a backup file for the available database 761d993dd debian: Fold man page translation fix into translation section 362c50a9c Further fix as discussed in #931135
    12d643b04 Update German translation of manual pages
    06bd9556e Fix German man page translation. Closes: #931135
    0a1aaac97 Bump version to 1.20.0
    ** Do you confirm that you want to push? [Yn]

    Should I push it or is there still something "fishy" on my side?

    Thanks and Greetings

    Helge



    --
    Dr. Helge Kreutzmann debian@helgefjell.de
    Dipl.-Phys. http://www.helgefjell.de/debian.php
    64bit GNU powered gpg signed mail preferred
    Help keep free software "libre": http://www.ffii.de/

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEbZZfteMW0gNUynuwQbqlJmgq5nAFAl4UQTEACgkQQbqlJmgq 5nBb1Q/9HkMaMhfiPJpU9lWkqP8oxFEL23ONNWij5hHgC3hkOwHqEOW6zPgsFqK9 M8yFn32OlAEgXQ2YCLClrG9pkfJp9aW9ESCWmg0CLXUnPpzHM04s1ShoxdryYhAG p3D7s2+KyINYt4QC8AGq6bhS0qChdm/+Cp7YJYhsGv5dmPL1JN/M8117KsBT63qk HggJbEf9DZFU8c3q8hic2s+F8W64CC0fVpbcDKDJSyRGQ16Su3YLBnWUJzJHqFcY 2fylW8PKx4g3gSsWyH+veXgLHnOR4tQFD/zWfoiG19GxRq4RCWrjBsEGyhp3AvXK v6FQzBMUi5de7kTAI3mynfMOZl7HHGVMtKnf/W4FtzPAmkVTWjcrCb05aVnmTXDg KVAvLivigwAXXeBmhzxK+6EUlUVwfBK1LL2mCCPoHN4Nt2vpso9gTrCoDVSofXP2 gJfwdJG7F4yOj4oiN3E106npD4nZH3fM06L5Q8Cx8JVlb/cr8S3CZkiyS7J4Xbx5 NDQMfHgyDQw0rbSwVQWdB6CbSVbRRlXsgiatemd+JZdyYDxNVh05w3NTUZXm55As tuXtb6UyeG94XD76d/QipTWqT8j1w35Ur35xslI
  • From Guillem Jover@21:1/5 to Helge Kreutzmann on Wed Jan 8 17:40:02 2020
    Hi!

    On Tue, 2020-01-07 at 09:28:36 +0100, Helge Kreutzmann wrote:
    I tried updating it with your script again, and now the branch looks
    fine, however, when I want to push it with your script I get:

    I didn't do anything on the branch since I created it though. :)

    helge@samd:/scr/build/src/DCS/dpkg.git/dpkg$ ~/skripte/git-wrapper commit
    ** Pushing your changes to the remote repository.
    Here's a resume of what you're going to push:
    0ed5b240e Proofreading of German man pages on debian-l10n-german (Part 1b) 9d03f2827 po: Regenerate .pot files and merge .po files with them
    84711ea4a Proofreading of German man pages on debian-l10n-german (Part 1) 3fc25a513 German dselect translation update
    1e86f6e74 German dpkg translation update
    f80b99048 Dpkg::Source::Package: Honor require_valid_signature option 92aa74078 po: Remove previous msgids for up-to-date translations
    f2b880791 Update German translation of manual pages
    d102f1905 Update German scripts translation
    341fa418c Dpkg::Source::Package::V3::Native: Do not say v1.0 for 3.0 formats …
    659e0224d libdpkg: Do not generate a backup file for the available database 761d993dd debian: Fold man page translation fix into translation section 362c50a9c Further fix as discussed in #931135
    12d643b04 Update German translation of manual pages
    06bd9556e Fix German man page translation. Closes: #931135
    0a1aaac97 Bump version to 1.20.0
    ** Do you confirm that you want to push? [Yn]

    Should I push it or is there still something "fishy" on my side?

    Yeah, this looks like a botched rebase of all of master into the
    1.19.x branch.

    Given that I think the strings have already diverged, I'm not sure cherry-picking translation commits from master will give no conflicts.
    So perhaps you'll have a way easier time to untangle this by copying
    the .po files that you want to carry over somewhere out of tree, then
    reset your local 1.19.x branch with something like:

    # Let's first do a backup to not lose any changes.
    $ git branch -c 1.19.x backup-1.19.x
    $ git checkout 1.19.x
    $ cp man/po/de.po out-of-tree-de.po
    $ git reset --hard origin/1.19.x
    $ cp out-of-tree-de.po man/po/de.po
    $ make -C man update-po
    $ git commit man/po/de.po
    $ git checkout -- man/po

    Then check with «git log -p» and/or «git show» that this looks as
    expected and push that. But if you get stuck again we can continue
    from there. :)

    Thanks,
    Guillem

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Helge Kreutzmann@21:1/5 to Guillem Jover on Wed Jan 8 21:50:02 2020
    This is a MIME-formatted message. If you see this text it means that your E-mail software does not support MIME-formatted messages.

    Hello Guillem,
    On Wed, Jan 08, 2020 at 05:30:11PM +0100, Guillem Jover wrote:
    On Tue, 2020-01-07 at 09:28:36 +0100, Helge Kreutzmann wrote:
    Given that I think the strings have already diverged, I'm not sure cherry-picking translation commits from master will give no conflicts.
    So perhaps you'll have a way easier time to untangle this by copying
    the .po files that you want to carry over somewhere out of tree, then
    reset your local 1.19.x branch with something like:

    # Let's first do a backup to not lose any changes.
    $ git branch -c 1.19.x backup-1.19.x
    [works]

    $ git checkout 1.19.x
    [works]

    $ cp man/po/de.po out-of-tree-de.po
    [works]

    $ git reset --hard origin/1.19.x
    [works]

    $ cp out-of-tree-de.po man/po/de.po
    [works]

    $ make -C man update-po

    helge@samd:/scr/build/src/DCS/dpkg.git/dpkg$ LC_ALL=C make -C man update-po make: Entering directory '/scr/build/src/DCS/dpkg.git/dpkg/man'
    make: *** No rule to make target '../m4/arch.m4', needed by 'Makefile.in'. Stop.
    make: Leaving directory '/scr/build/src/DCS/dpkg.git/dpkg/man'

    … but this I can manage …

    $ git commit man/po/de.po
    [works]

    $ git checkout -- man/po
    [works, i.e. no output]

    Then check with «git log -p» and/or «git show» that this looks as expected and push that. But if you get stuck again we can continue
    from there. :)

    Yes, this looks fine now.

    I pushed it, so please tell me if anything from your side is not
    correct.

    Thanks for the help.

    Greetings

    Helge

    --
    Dr. Helge Kreutzmann debian@helgefjell.de
    Dipl.-Phys. http://www.helgefjell.de/debian.php
    64bit GNU powered gpg signed mail preferred
    Help keep free software "libre": http://www.ffii.de/

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEbZZfteMW0gNUynuwQbqlJmgq5nAFAl4WP88ACgkQQbqlJmgq 5nCi3Q//Z9+vf0rXBae/pvpm5ULy9HVF+2e00yuQgvEpTrxmN14bWlAW7A3j58RC cAkWQOlXMRDkBFunvuWu/aJorM8SKhMOtdXMS7+mm7MqQsaxiKWqd0klGWGABo4g YtLEth5HdSadBPdX26hiCyCWxl4dLlA6Z236djdcqgWLRMh/Hztrf7xrWIK1JZ0q wwIf7TKndI7nq1GVXTYIpjM7iZmsPm5JUBF9KXUl/XNc2uJ8/mhLZo0K6r3IZD5e HafsiYJXz5e4biBlPY5H5S3gqGEY3dgszx53ZWnXb7SVUXV+4WhxJgC2xNBSN+QP yK/K6rh9wwOsUz2TR2MEmMqtg4Wmb6RT/sBPEbnhwIP4gAZnGGtJAW8D24hJJkDz F7FBpKJyD+dWTUG5aZzgWUu26hFIgGENkDRqnaaUxk92RKnN6sbAvvVQj9gcRDYA Ot3c/XqzeuoyhgFYrjBMg2J5GoM+EHCW6FQlmqtABe2TaLShgiGHd0dREwK654El vjU2AoO3BWRLwLFYZT2LSEpMb2mEDQDk5ZXIc5jl5t1D+eVcH/EjUcMz/kLldjlP lctsjjrz14hpuLPUus9AjOu+ignEv+bgU3n+Cxb