/srv/irclogs.ubuntu.com/2012/07/27/#ubuntu-motu.txt

=== Amaranthus is now known as Amaranth
=== yofel_ is now known as yofel
=== xdatap is now known as xdatap1
=== Quintasan_ is now known as Quintasan
=== ninjak_ is now known as ninjak
aboudreaultHi. Is there any tutorial to convert a package to have a multi-version package? a bit like postgresql-8.4, postgresql-9.112:13
tumbleweedaboudreault: I think it's mostly common sense: Figure out how to move anything that may clash12:27
aboudreaultthere's no standard and/or policies ?12:27
tumbleweedwell, we try and avoid having multiple versions of the same package in the archive at the same time12:28
tumbleweedso thepolicy is: don't do it if you can possibly avoid it12:28
aboudreaultOk... I have a lot of clients that see the need to have/test all versions of our software.. :(12:29
geseraboudreault: are you trying to build your package for multiple versions of a dependency or to have multiple versions co-installable?12:43
aboudreaultyes, sorry. I want something co-installable.12:44
aboudreaultwell.... I will keep my current version as it is....... But I want to provide in example: cgi-mapserver-5.6, cgi-mapserver-6.012:45
geserthen you need to have seperate (versioned) source and binary package names and need to take care that no files clashes12:55
geserit would be enough if your 1 source package builds "versioned" binary packages if you don't need to work on them later, i.e "cgi-mapserver" (source package) builds now "cgi-mapserver-5.6", after an update it builds "cgi-mapserver-6.0"13:01
aboudreaultgeser, hmm... not sure to follow you my source package cannot build the two versions13:06
aboudreaulthaa ok, I see what you means13:08
aboudreaultyou mean using some variable and some debian/file.in to get things done automatically.13:08
aboudreaultyeah, would be the best13:08
geseraboudreault: your source package can only hold one version therefore you need a version in the source package name if you want to be able to work on older versions later again (e.g. provide a newer revision)13:13
aboudreaultyes13:14
geser-> multiple source packages (foo-1.0, foo-1.1, foo-2.0, ...)13:14
geserand each source package builds binary packages which include the version in there name (foo-bin-1.0, foo-bin-1.1, foo-bin-2.0)13:15
geseras I don't know how often your version changes that a generated file is needed or if doing some sed after copying the source package for the new version is enough13:17
=== nigelbabu is now known as nigelb
=== JanC_ is now known as JanC
=== jalcine is now known as Jacky

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!