[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Maintaining a package across several debian codenames



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

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


Reply to: