Re: Creating packages for several distributions

2023-03-24 Thread Robin ALEXANDER
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


signature.asc
Description: This is a digitally signed message part


Re: Creating packages for several distributions

2023-03-22 Thread Mechtilde Stehmann

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?






Re: Creating packages for several distributions

2023-03-22 Thread 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?



signature.asc
Description: This is a digitally signed message part


Re: Creating packages for several distributions

2023-03-22 Thread Andrey Rakhmatullin
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?



Re: Creating packages for several distributions

2023-03-22 Thread Robin Alexander

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



Re: Creating packages for several distributions

2023-03-22 Thread Andrey Rakhmatullin
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.



Re: Creating packages for several distributions

2023-03-22 Thread Mechtilde Stehmann

Hello Robin,

You can create a package for unstable and upload it to mentors.debian.net.


There you find a description how to start. You find also more 
documentation under

https://www.debian.org/devel/join/


It is not possible to upload directly to bullseye (stable)

First you have to prepare an upload for unstable which have to go 
through the new queue.


As we now are in freeze no new package will migrate to testing.

After the release and migrating to testing it can be possible to do an 
backports.




Am 22.03.23 um 13:48 schrieb Robin Alexander:

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



--
Mechtilde Stehmann