dbconfig-common upgrade strategy
Hello,
I need to backport the tango-db package which use dbconfig-common infrastructure.
this allow to upgrade the tango-db mysql tables during the upgrade process
the process use files named with the version of the transition.
If the database need to be upgrade with the package
8.1.2+dfsg-1 this is the name of the first package which provide the transition.
now the version is 8.1.2c+dfsg-3
for now I have these files in my package
picca@mordor:~/Debian/main/tango/tango/debian/mysql$ ls
7.2.0~rc1+dfsg-1 7.2.6+dfsg-1 8.0.5+dfsg-1 8.1.2+dfsg-1
So if someone upgrade tango-db stable -> sid
7.2.6+dfsg-14 -> 8.1.2c+dfsg-3
the process apply 8.0.5+dfsg-1 and 8.1.2+dfsg-1 upgrade
now with the backport of 8.1.2c+dfsg-3~bpo70+1
I need to apply also 8.0.5+dfsg and the same transformation done for 8.1.2+dfsg-1
but
$ dpkg --compare-versions 8.1.2+dfsg-1 gt 8.1.2c+dfsg-3~bpo70+1; echo $?
0
this mean that I need to rename the file 8.1.2+dfsg-1 with another name for the backport.
my question is should I use the 8.1.2c+dfsg-3~ as new filename instead of 8.1.2+dfsg-1
to deal with the backport.
If some one has some experimence with dbconfig-common and backports
I hope I was clear enought.
thanks for your help
thanks
Frederic
8.1.2c+dfsg-3~bpo70+1
Reply to: