• Maintaining a package across several debian codenames

    From Robin ALEXANDER@21:1/5 to All on Mon Apr 10 11:40:01 2023
    Hi,

    Let's assume I wish to maintain package_A across unstable and bullseye- backports. I understand from
    https://dep-team.pages.debian.net/deps/dep14/ that:

    1. I need to create 3 branches in my git repository:
    - upstream/latest
    - debian/latest
    - debian/bullseye-backports

    2. Since I am using git-buildpackage, I presume I would generate 3 tags
    when creating a new package version (ex: v3.0.0)
    - upstream/3.0.0 (when running gbp import-orig)
    - debian/3.0.0-1 (when running gbp buildpackage inside branch
    debian/latest)
    - ??? (when running gbp buildpackage inside branch debian/bullseye-
    backports)

    If the above is correct, what should be the name of the last tag (the
    one issued by gbp buildpackage inside branch debian/bullseye-backports
    ?

    Thank you for your help.

    Robin Alexander

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

    iQIzBAABCgAdFiEExV6jEeNThQiu/fWKtE02iFVpDQ8FAmQz1vUACgkQtE02iFVp DQ8png//RvjRWdmUrwjEUxRgbl9rOaaW09TUxJc5ra2EWQq7v8g3Omfbrgv8UmOI wja6PiGhFB5MEjEASYRpW8BnDIl9P7CwB2kmhBIJUN724cM4Q38Zvgovw0gnwS7Z OIf7KNehPdW31F0Mu+WTRpgbEfI5Tl5Q9xuKZbWcCxWffRUIZPMOi/2f6yEkWMHL gunh9CozZmmfVkfZKlcRiStH4xxFSLRnBZ+aKsijQHeO3K+l0uZdPNEKeDqx0mUR HDJjhhXJF1Jf0FGEjAVZPKoCSLYXPpMqPrBgICbRMVRkUIOvDt4urfqrHFMe7lx1 1PyzrNx8+gCN2EJG1BFEtPXkjqymXYZ9Oegsgk97MTdsTlAsJW5mte3AptB9YMhM sJ5/V9VVI3L3iSwoI2SRaeSO5UaAwaKvJexPTqMvbtgbVwvWGerPevpuuJh1FQTc I7ewuk3Wbjx5Cv3WULrAC/wmh9CnNsFfHtElI+hWBhqB5j7AwvJRtkbHoxUWDotv y+DfaNHcmDScqenqvYjLwYCQwTQ57fOE+KGCCxYNHFhVz4ZErCiGXpUAt9Fi9dRB xhWxsrFja9lZS5Ob4hmHCdlwlGsHmMR6HFfHWrsMv2XlaQV4cY9QiRLEE3vImFI0 C/v28/S1/Cz1ebwrqVljbt1v+l0syI9dZuV5MP/EdyP2Bc26UPE=
    =RsID
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrey Rakhmatullin@21:1/5 to Robin ALEXANDER on Mon Apr 10 12:00:01 2023
    On Mon, Apr 10, 2023 at 11:29:25AM +0200, Robin ALEXANDER wrote:
    Hi,

    Let's assume I wish to maintain package_A across unstable and bullseye- backports. I understand from
    https://dep-team.pages.debian.net/deps/dep14/ that:

    1. I need to create 3 branches in my git repository:
    - upstream/latest
    - debian/latest
    - debian/bullseye-backports

    2. Since I am using git-buildpackage, I presume I would generate 3 tags
    when creating a new package version (ex: v3.0.0)
    - upstream/3.0.0 (when running gbp import-orig)
    - debian/3.0.0-1 (when running gbp buildpackage inside branch
    debian/latest)
    - ??? (when running gbp buildpackage inside branch debian/bullseye- backports)

    If the above is correct, what should be the name of the last tag (the
    one issued by gbp buildpackage inside branch debian/bullseye-backports
    ?
    gbp buildpackage (or gbp tag) will create the correct tag name for you.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Robin Gustafsson@21:1/5 to robin.alexander@netplus.ch on Mon Apr 10 17:20:01 2023
    On Mon, Apr 10, 2023 at 11:30 AM Robin ALEXANDER
    <robin.alexander@netplus.ch> wrote:

    Hi,

    Let's assume I wish to maintain package_A across unstable and bullseye- backports. I understand from
    https://dep-team.pages.debian.net/deps/dep14/ that:

    1. I need to create 3 branches in my git repository:
    - upstream/latest
    - debian/latest
    - debian/bullseye-backports

    2. Since I am using git-buildpackage, I presume I would generate 3 tags
    when creating a new package version (ex: v3.0.0)
    - upstream/3.0.0 (when running gbp import-orig)
    - debian/3.0.0-1 (when running gbp buildpackage inside branch
    debian/latest)
    - ??? (when running gbp buildpackage inside branch debian/bullseye- backports)

    If the above is correct, what should be the name of the last tag (the
    one issued by gbp buildpackage inside branch debian/bullseye-backports
    ?

    Thank you for your help.

    Robin Alexander

    The debian version tag "debian/3.0.0-1" matches the package's version number.

    You can find the conventions for backport version numbers documented
    in section 5.6.12.2 of the policy. [1]

    If your backport version is "3.0.0-1~bpo11+1" then the tag should be "debian/3.0.0-1_bpo11+1" (as ~ is disallowed in git tags).

    As mentioned, `gbp tag` will do it for you though.

    [1] https://www.debian.org/doc/debian-policy/ch-controlfields.html#special-version-conventions

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Robin ALEXANDER@21:1/5 to All on Mon Apr 10 20:20:01 2023
    Thank you Andrey and Robin.


    The debian version tag "debian/3.0.0-1" matches the package's version
    number.

    You can find the conventions for backport version numbers documented
    in section 5.6.12.2 of the policy. [1]

    If your backport version is "3.0.0-1~bpo11+1" then the tag should be "debian/3.0.0-1_bpo11+1" (as ~ is disallowed in git tags).

    As mentioned, `gbp tag` will do it for you though.

    [1] https://www.debian.org/doc/debian-policy/ch-controlfields.html#special-version-conventions

    In a nutshell, if I understood correctly the debian policy

    Branch debian/latest
    File debian/changelog will show "...(3.0.0-1) unstable ..."

    Branch debian/bullseye-backports
    File debian/changelog will show "... (3.0.0-1~bpo11u1) bullseye ..."

    Should I decide to setup a private repository on top to speed up things
    , I could add a new branch to my git repository:
    Branch debian/bullseye
    File debian/changelog would show "... (3.0.0-1~deb11u1) ..."

    Robin

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

    iQIzBAABCgAdFiEExV6jEeNThQiu/fWKtE02iFVpDQ8FAmQ0Ug8ACgkQtE02iFVp DQ+hZg//e6nksheotn8dBpO/7YIYXIFj0fpnsq597bYq7t+fJ/pLiUUuEnE5+kPj gk+QI43RstDrx4yfIKz1KtePD23kc9Px2Z5wEpEiYCbFJtGJhpLnnlfyLepXlSwd YN4vz0+AmpeGEK1EZigL5ase/PeLkod3d33+id/EEBnNQfrctQNjaNt7fjXH1zwm xc+mLrRDvToiA7OSMuiu3csdT0XkSJY9/3T8Vu/gS2fKGoDssIU108V4XfjEQfRm j6meYgWNZSfasV73ulDu89Ikf8n0fK32kDfRnQwkvkpZUs3IkEJes02zWfDRO86D 5V5LqoD1jnwh76MKAmH83QLXThym6w/zO61Sm32IkjCuDnwssqUa2vXJxQYdfq2x tQzw0xCK/MplLq221NeBrzxQQcns4GJS6SARtrvOwBjorUumWdJ6LQYT231oc2vF y+fsCb/hzTyneZGcyGJIY5pgA+dXjE40BnQXQxdnCzpaMR8fnMb7DsEJ2R6tSsKG 8RvpQWrQhegb0C1UNPJ9LDpLdZlc9iEwi6GAQOJ3Y7ysDFMLdvUIt+HxJxKIVOu1 Jh9ZkvJ2XYjkZIbLeSDawVQxBGN9NvQkWz8YyfAl1CBjxkWQHgQW/OpvZj0MSxXV u9frtBsgBT5wHUvt4PB1cgfD7QOvxCe2GqP6hnZgsx7jqE6VD0A=
    =yGLI
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrey Rakhmatullin@21:1/5 to Robin ALEXANDER on Mon Apr 10 20:50:01 2023
    On Mon, Apr 10, 2023 at 08:14:39PM +0200, Robin ALEXANDER wrote:
    In a nutshell, if I understood correctly the debian policy

    Branch debian/latest
    File debian/changelog will show "...(3.0.0-1) unstable ..."

    Branch debian/bullseye-backports
    File debian/changelog will show "... (3.0.0-1~bpo11u1) bullseye ..."
    It's "3.0.0-1~bpo11+1", see https://backports.debian.org/Contribute/

    Should I decide to setup a private repository on top to speed up things
    , I could add a new branch to my git repository:
    Branch debian/bullseye
    File debian/changelog would show "... (3.0.0-1~deb11u1) ..."
    The versioning scheme for private repos is up to you, as long as it
    doesn't clash with schemes used by Debian repos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Robin ALEXANDER@21:1/5 to All on Mon Apr 10 21:10:01 2023
    --Apple-Mail-A35C5C35-9A72-4C28-A5C0-258A23728D58
    Content-Type: multipart/alternative;
    boundary=Apple-Mail-12846883-1DFA-4EB0-B01B-006C26023A5A Content-Transfer-Encoding: 7bit


    --Apple-Mail-12846883-1DFA-4EB0-B01B-006C26023A5A
    Content-Type: text/plain;
    charset=utf-8
    Content-Transfer-Encoding: quoted-printable

    Hi Andrey,

    It’s odd, for the document in https://www.debian.org/doc/debian-policy/ch-controlfields.html#special-version-conventions indicates ~bpoNuX unless I missed something…

    Kind regards.

    —-
    Robin

    Le 10 avr. 2023 à 20:44, Andrey Rakhmatullin <wrar@wrar.name> a écrit :

    On Mon, Apr 10, 2023 at 08:14:39PM +0200, Robin ALEXANDER wrote:
    In a nutshell, if I understood correctly the debian policy

    Branch debian/latest
    File debian/changelog will show "...(3.0.0-1) unstable ..."

    Branch debian/bullseye-backports
    File debian/changelog will show "... (3.0.0-1~bpo11u1) bullseye ..."
    It's "3.0.0-1~bpo11+1", see https://backports.debian.org/Contribute/

    Should I decide to setup a private repository on top to speed up things
    , I could add a new branch to my git repository:
    Branch debian/bullseye
    File debian/changelog would show "... (3.0.0-1~deb11u1) ..."
    The versioning scheme for private repos is up to you, as long as it
    doesn't clash with schemes used by Debian repos.

    --Apple-Mail-12846883-1DFA-4EB0-B01B-006C26023A5A
    Content-Type: text/html;
    charset=utf-8
    Content-Transfer-Encoding: quoted-printable

    <html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hi Andrey,<div><br></div><div>It’s odd, for the document in&nbsp;<a href="https://www.debian.org/doc/debian-policy/ch-controlfields.html#special-
    version-conventions">https://www.debian.org/doc/debian-policy/ch-controlfields.html#special-version-conventions</a>&nbsp;indicates ~bpoNuX unless I missed something…<br><br>Kind regards.&nbsp;</div><div><br><div dir="ltr">—-<div>Robin</div></div><div
    dir="ltr"><br><blockquote type="cite">Le 10 avr. 2023 à 20:44, Andrey Rakhmatullin &lt;wrar@wrar.name&gt; a écrit&nbsp;:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><span>On Mon, Apr 10, 2023 at 08:14:39PM +0200, Robin ALEXANDER
    wrote:</span><br><blockquote type="cite"><span>In a nutshell, if I understood correctly the debian policy</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Branch debian/latest</span><br></
    blockquote><blockquote type="cite"><span>File debian/changelog will show "...(3.0.0-1) unstable ..."</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Branch debian/bullseye-backports</span><br></
    blockquote><blockquote type="cite"><span>File debian/changelog will show "... (3.0.0-1~bpo11u1) bullseye ..."</span><br></blockquote><span>It's "3.0.0-1~bpo11+1", see https://backports.debian.org/Contribute/</span><br><span></span><br><blockquote type="
    cite"><span>Should I decide to setup a private repository on top to speed up things</span><br></blockquote><blockquote type="cite"><span>, I could add a new branch to my git repository:</span><br></blockquote><blockquote type="cite"><span>Branch debian/
    bullseye</span><br></blockquote><blockquote type="cite"><span>File debian/changelog would show "... (3.0.0-1~deb11u1) ..."</span><br></blockquote><span>The versioning scheme for private repos is up to you, as long as it</span><br><span>doesn't clash with
    schemes used by Debian repos.</span><br></div></blockquote></div></body></html> --Apple-Mail-12846883-1DFA-4EB0-B01B-006C26023A5A--

    --Apple-Mail-A35C5C35-9A72-4C28-A5C0-258A23728D58
    Content-Type: application/pkcs7-signature;
    name=smime.p7s
    Content-Disposition: attachment;
    filename=smime.p7s
    Content-Transfer-Encoding: base64

    MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCCBfIw ggXuMIID1qADAgECAhA8qHY5EfPJ8c9FANGwn8y2MA0GCSqGSIb3DQEBCwUAMIGBMQswCQYDVQQG EwJJVDEQMA4GA1UECAwHQmVyZ2FtbzEZMBcGA1UEBwwQUG9udGUgU2FuIFBpZXRybzEXMBUGA1UE CgwOQWN0YWxpcyBTLnAuQS4xLDAqBgNVBAMMI0FjdGFsaXMgQ2xpZW50IEF1dGhlbnRpY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DQxMDE5MDQzNFowLwYJKoZI hvcNAQkEMSIEIFfXg1FMjfrIu6pzc6uwqszAfe43xf1XMVx8A8M5TW3gMIGnBgkrBgEEAYI3EAQx gZkwgZYwgYExCzAJBgNVBAYTAklUMRAwDgYDVQQIDAdCZXJnYW1vMRkwFwYDVQQHDBBQb250ZSBT YW4gUGlldHJvMRcwFQYDVQQKDA5BY3RhbGlzIFMucC5BLjEsMCoGA1UEAwwjQWN0YWxpcyBDbGll bnQgQXV0aGVudGljYXRpb24gQ0EgRzMCEDyodjkR88nxz0UA0bCfzLYwgakGCyqGSIb3DQEJEAIL MYGZoIGWMIGBMQswCQYDVQQGEwJJVDEQMA4GA1UECAwHQmVyZ2FtbzEZMBcGA1UEBwwQUG9udGUg U2FuIFBpZXRybzEXMBUGA1UECgwOQWN0YWxpcyBTLnAuQS4xLDAqBgNVBAMMI0FjdGFsaXMgQ2xp ZW50IEF1dGhlbnRpY2F0aW9uIENBIEczAhA8qHY5EfPJ8c9FANGwn8y2MA0GCSqGSIb3DQEBCwUA BIIBAFjIsFmCMTC/RcOAvLAeNOzNmOhCB7EynVgOT5sXSZFntaN9WjXl8pWE/P2nojuaGjMFGwqq BrE+b2rInhN2yIjs92P/ShyeTIO44VidreKiecGMJF9RVs6k3FntmsEmjDBhNYrzTSX2gIYeuckB JcLAkPtITWxHGpPJr/OATCXNtruJwkhhZ1+eHqisQD67iLXOAJDDnYHu+VShhc6EWuBpRfoec4IW 8EUtCyhNHtTY5yzpjaxrA6AD19UnTo9TlQG/gFe5R58gLqsUg3zwPsc+WRWaXcxZXLwrd7x7EXjo MJhe03CtIqH2e2Ny/Htnshyz+KeRVCfzKidDPR9E19AAAAAAAAA=

    --Apple-Mail-A35C5C35-9A72-4C28-A5C0-258A23728D58--

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)