• Creating packages for several distributions

    From Robin Alexander@21:1/5 to All on Wed Mar 22 14:00:02 2023
    Hi,

    I am in charge of creating debian packages for the Opendigitalradio
    mmbtools (https://www.opendigitalradio.org/mmbtools) and as such, I:
      - am proposing/pushing debian packages to unstable
      - manage the Opendigitalradio debian repository (http://debian.opendigitalradio.org)

    If I want to create a package (ex: odr-audioenc) for both unstable and
    bullseye on both debian and odr repository, can I have 1
    debian/changelog file only where the first line would read:
    odr-audioenc (3.3.1-1+deb11u1) unstable bullseye; urgency=medium

    or do I need 2 versions of debian/changelog (thus 2 branches:
    debian/bullseye + debian/latest): one for each distribution (unstable
    and bullseye)?

    Thank you for your help.

    ---

    Robin ALEXANDER

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mechtilde Stehmann@21:1/5 to All on Wed Mar 22 14:30:01 2023
    SGVsbG8gUm9iaW4sDQoNCllvdSBjYW4gY3JlYXRlIGEgcGFja2FnZSBmb3IgdW5zdGFibGUg YW5kIHVwbG9hZCBpdCB0byBtZW50b3JzLmRlYmlhbi5uZXQuDQoNCg0KVGhlcmUgeW91IGZp bmQgYSBkZXNjcmlwdGlvbiBob3cgdG8gc3RhcnQuIFlvdSBmaW5kIGFsc28gbW9yZSANCmRv Y3VtZW50YXRpb24gdW5kZXINCmh0dHBzOi8vd3d3LmRlYmlhbi5vcmcvZGV2ZWwvam9pbi8N Cg0KDQpJdCBpcyBub3QgcG9zc2libGUgdG8gdXBsb2FkIGRpcmVjdGx5IHRvIGJ1bGxzZXll IChzdGFibGUpDQoNCkZpcnN0IHlvdSBoYXZlIHRvIHByZXBhcmUgYW4gdXBsb2FkIGZvciB1 bnN0YWJsZSB3aGljaCBoYXZlIHRvIGdvIA0KdGhyb3VnaCB0aGUgbmV3IHF1ZXVlLg0KDQpB cyB3ZSBub3cgYXJlIGluIGZyZWV6ZSBubyBuZXcgcGFja2FnZSB3aWxsIG1pZ3JhdGUgdG8g dGVzdGluZy4NCg0KQWZ0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lczogDQo+IGRlYmlhbi9i dWxsc2V5ZSArIGRlYmlhbi9sYXRlc3QpOiBvbmUgZm9yIGVhY2ggZGlzdHJpYnV0aW9uICh1 bnN0YWJsZSANCj4gYW5kIGJ1bGxzZXllKT8NCj4gDQo+IFRoYW5rIHlvdSBmb3IgeW91ciBo ZWxwLg0KPiANCj4gLS0tDQo+IA0KPiBSb2JpbiBBTEVYQU5ERVINCj4gDQoNCi0tIA0KTWVj aHRpbGRlIFN0ZWhtYW5uDQoNCg==

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrey Rakhmatullin@21:1/5 to Robin Alexander on Wed Mar 22 14:40:02 2023
    On Wed, Mar 22, 2023 at 01:48:39PM +0100, Robin Alexander wrote:
    Hi,

    I am in charge of creating debian packages for the Opendigitalradio mmbtools (https://www.opendigitalradio.org/mmbtools) and as such, I:
      - am proposing/pushing debian packages to unstable
      - manage the Opendigitalradio debian repository (http://debian.opendigitalradio.org)

    If I want to create a package (ex: odr-audioenc) for both unstable and bullseye on both debian and odr repository, can I have 1 debian/changelog file only where the first line would read:
    odr-audioenc (3.3.1-1+deb11u1) unstable bullseye; urgency=medium

    or do I need 2 versions of debian/changelog (thus 2 branches:
    debian/bullseye + debian/latest): one for each distribution (unstable and bullseye)?
    For different distributions you should use different changelog entries, different version numbers and sometimes/often (depending on the package)
    you may have other differences. And even if you use the same changelog
    entry (as technically you can have anything in your 3rd-party repo) you
    still need to build it separately for every distribution you are
    targeting.
    I also wouldn't use the same versions for official unstable packages and 3rd-party packages targeting unstable.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Robin Alexander@21:1/5 to All on Wed Mar 22 14:50:01 2023
    Hi Mechtilde and Andrey,

    Got it for the official debian repository. In a nutshell:
     - Push to mentors once the freeze is released (ie, after bookworm is released)
     - Once package in unstable/testing, push a backport to stable and
    oldstable

    Got it as well for the number of versions:
     - Keep 1 branch per repository/distribution:
       * debian/latest: debian official repository and unstable
       * debian/bullseye: debian official repository and bullseye
       * odr/latest: odr repository and unstable
       * odr/bullseye: odr repository and bullseye

    Thanks.

    Robin ALEXANDER

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrey Rakhmatullin@21:1/5 to Robin Alexander on Wed Mar 22 16:20:01 2023
    On Wed, Mar 22, 2023 at 02:42:28PM +0100, Robin Alexander wrote:
    Hi Mechtilde and Andrey,

    Got it for the official debian repository. In a nutshell:
     - Push to mentors once the freeze is released (ie, after bookworm is released)
     - Once package in unstable/testing, push a backport to stable and oldstable
    Yes, though I'm not sure if a package not in stable can go to oldstable-backports or only to oldstable-backports-sloppy.
    Please also note "Please only upload package with a notable userbase.
    Backports is not a maintainer's PPA" from https://backports.debian.org/Contribute/#index2h3

       * debian/bullseye: debian official repository and bullseye
    Not sure what is this? Do you mean bullseye-backports?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Robin ALEXANDER@21:1/5 to All on Wed Mar 22 16:50:01 2023
    debian/bullseye would be the name of the branch in my git repository
    and it would target the bullseye-backports distribution

    Le mercredi 22 mars 2023 à 16:11 +0100, Andrey Rakhmatullin a écrit :
    On Wed, Mar 22, 2023 at 02:42:28PM +0100, Robin Alexander wrote:


       * debian/bullseye: debian official repository and bullseye
    Not sure what is this? Do you mean bullseye-backports?


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

    iQIzBAABCgAdFiEExV6jEeNThQiu/fWKtE02iFVpDQ8FAmQbIWMACgkQtE02iFVp DQ9QPQ/9Glu4L/y5FiQLnpOX0f6dlE1JRp2+D8LhJsC+fg8xZD4McLbG++iphRkV q86tiDN2hQcnJToJ6rt15c0jEZCoVVS6uQBisZX2S72t2Dijxw6gSVaM79ohsCv3 7V539Zbbcs7oucFhsbmrn1fXVJw/ZzJw3ZdvlvdKji7rW0xynb/s/oxXYj1pCRbl RDlQ/xSM9G2bo3VRE0+EEzGQfzhoJJkslq3o7wIwu05TCICy6UkOqAKtCl1Ucft8 ORq4ohvA0imD7RxiMA3pGE1xSvr8gTMuCxoaz6q/aFeQELbXH1YFeBje2t93caAR xXSLR5wYtQRhZgULuSIcHodhvOV5U+U/wfWeo0GTXXE+/l1eeN74Gt0xDvenDWP5 zGcJMnBozFXXQR5ONUMK2MDoteYBXOkSxsKRWoJHedgOy81AQotRpfF8zUqlmNo8 aWjuclYml0+ZEjg59/Lfb0RPM/oSqZvCQ81e7RicrphHwQ1fOK2JFg4WBhQjVszQ SjsbLCyuzlQWKjLSUsl+Gm+7VW5A3Yq/nPs8zpT2/XN3KPFJ26RaSPMLaYu9wMo2 KaudeQgQ+C8GJEKtsrSVxAEAAl7dvrz2mko025JEafCrJCGm/SEvEBBOsud9AHkY s2Ij5ZUV4lt/PZmhzDzwrxsBufW6hhnnWVh3edRD+tPl+I9iAw4=
    =YK1N
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mechtilde Stehmann@21:1/5 to All on Wed Mar 22 18:00:01 2023
    Hello Robin,

    Where do you have the sources?

    You can only upload source packages into the Debian repositorium.

    And I think you need a sponsor to upload it

    Regards

    Mechtilde

    Am 22.03.23 um 16:40 schrieb Robin ALEXANDER:
    debian/bullseye would be the name of the branch in my git repository
    and it would target the bullseye-backports distribution

    Le mercredi 22 mars 2023 à 16:11 +0100, Andrey Rakhmatullin a écrit :
    On Wed, Mar 22, 2023 at 02:42:28PM +0100, Robin Alexander wrote:


       * debian/bullseye: debian official repository and bullseye
    Not sure what is this? Do you mean bullseye-backports?


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Robin ALEXANDER@21:1/5 to All on Fri Mar 24 10:20:01 2023
    Hi Mechtilde,


    Where do you have the sources?


    I just uploaded the sources on salsa.debian.org/ralex/odr-audioenc

    I believe that the git repository is now setup (branches and tags) the
    way it is supposed to be as per our previous conversation.

    Please, note that I did not push the package to mentors.debian.net yet.
    I will probably do it later, once bookworm is released.

    Kind regards.

    Robin

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

    iQIzBAABCgAdFiEExV6jEeNThQiu/fWKtE02iFVpDQ8FAmQdaRYACgkQtE02iFVp DQ+DOBAApJJUBjfZ3gT9iHKjno5X0z5E3V67vNs9PSlhkspGDnbvF7MmU6fVYRAC VaqhYccfe85CM9ac54OKhSa7YJDY5bW/xMqt41q7GReIa8FdDOrfa2IUQQu3xOgq LNgj5cmRVmoETj2ZtxJvPzM0lu7ZiWWDOhpHvfBzyix43POFQ2i3KLSTqX+VHdmU a6cco34e7NpVPQVWFeOftDAVkBFaQh9KhrtpyRCz8gUwRAxeLQDpC6b8aSNA27SH +EycVRowmHbLjSF9/1N0w2Mm5I8cgHeS5K/XKCAsnwgic6gzsIibz4A9F5+RTaiu XKZCKjr7Xy2Y06SYkx7x0F0PmMrQlKAj6MZug+4EUzuKIkorS5EA0fcSSrzRSoCN yuYayJ5YIolbQ2fp/+uNEYA4QtuIkg5aKestka22ZpugS/3iU+NINWpZt/FdvIk0 PV/o+eY5iwXEEoHyy3giUM6+M8zvstRh8r3x2LRemvZlycx79mB4VihTqV2tpgZ2 uOTkZUv1zVHXBrOaZnAgfkl5QpdhXmHBnlq76C+uWG9vN6rUFvf+GmOJHfrvdSU+ jcN4BDc/dQXfL96LjiOkJ56Vt9TqdWVIkpDFpA8gDNzxBK94cT4Rfs3XkKOY2E39 OA01ZlHdq1nqYWxkbH0ndwgc00Kk1Ys9XJNg0jvSgiA629Ls/mg=
    =AntA
    -----END PGP SIGNATURE-----

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