/srv/irclogs.ubuntu.com/2012/11/11/#launchpad.txt

=== Mission-Critical is now known as MissionCritical
njinHallo I have problems receiving mails from @ubuntu.com redirected on hotmail19:42
S0M30N3Hi, how does launchpad update the version in debian controll when building a ppa?20:45
S0M30N3does it use a given updateversion.sh script?20:45
S0M30N3can anyone please help on this? The dependencies in our ppa is broken because of this.21:04
lifelessS0M30N3: It doesn't change it. It buids the package the same as e.g. pbuilder.21:06
S0M30N3but it add '~quantal' to the version which causes our problems21:07
lifelessYou may be building via a recipe, which is a preprocessor to the actual build.21:08
lifelessany alteration there is entirely under your control21:09
S0M30N3with recipe do you mean something in makefile?21:10
lifeless!recipe21:10
S0M30N3so I would have to catch the version string in makefile and run our updateversion.sh with this21:11
lifelessno21:11
lifelesshttps://help.launchpad.net/Packaging/SourceBuilds/GettingStarted21:11
S0M30N3ah, okay.21:12
S0M30N3Thx I'll read this and try out.21:12
lifelessIf you are not using recipes, Launchpad won't be changing the version number. So you probably are using recipes, in which case you deliberately setup the version editing that is happening.21:13
S0M30N3hmm. Looks like the recipes are not inside our trunk.21:42
S0M30N3and I can't find them on launchpad neither21:42
S0M30N3So I'll have to wait for the mate who manage the ppa21:42
bigjoolsthe build tells you which recipe it used, just click on it21:43
S0M30N3can you please point me where?21:44
S0M30N3this is the ppa https://launchpad.net/~bit-team/+archive/stable21:45
S0M30N3looks like I'm blind ;)21:45
bigjoolswhich package?21:45
S0M30N3backintime-gnome-1.0.14~quantal for example21:46
bigjoolswell there's no recipes being used by the looks of it, so whoever made the package set the version directly21:48
bigjoolshttps://launchpad.net/~bit-team/+archive/stable/+packages21:48
S0M30N3Okay. So I'll talk back to him.21:49
bigjoolsfwiw it looks fine to me21:49
bigjoolsyou need to have different versions in different release series21:49
bigjoolsunless you copy the same binaries into each21:50
S0M30N3thats right. but dependencies are broken because 1.0.14 != 1.0.14~quantal21:50
bigjoolsdependencies are wrong then I guess21:51
S0M30N3yes. but only in the ppa21:51
bigjoolsfair enough21:51
S0M30N3if I update version manually and build the package everything works fine21:51
maxbThe uploader must be failing to correctly construct the source package, then21:52
lifelessS0M30N3: exact version dependencies are usually wrong22:41
S0M30N3I tried to use '>= 1.0.14' but that didn't match '1.0.14~quantal' neither22:45
maxbWell, indeed22:46
maxb~ has the meaning of 'less than nothing' in version comparisons22:46
maxbYou probably shouldn't be using it here, but people have grown to use it without understanding its true meaning22:47
S0M30N3good to know22:47
S0M30N3so if we use '1.0.14-quantal' (minus instead of tilde) it would work with '>=1.0.14' ?22:49
maxbWell22:49
wgranthyphens are special22:49
wgrantYou probably want a hyphen, but not like that :)22:49
maxbminus/hyphen has the special meaning of separating the upstream and packaging version parts22:50
wgranthttp://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Version22:50
maxbThe smallest change you could make to get the existing packaging working would be to express the dependency as (>= 1.0.14~)22:51
lifelesswhich is a bit of a mind bending relation22:51
lifeless:)22:51
wgrantYet rather common22:52
maxbThe majority of >= dependencies probably ought to have a ~ on the end of them22:52
bigjoolsthe packaging version stuff ties itself in so many knots22:52
S0M30N3maxb: hehe. I tried this. But than my normal dependnecies with '1.0.14' doesn't work anymore22:52
maxbS0M30N3: I don't understand?22:52
lifelessbigjools: indeed22:52
lifelessbigjools: its indicative of some underlying failures22:53
bigjoolscompletely22:53
S0M30N3if I add a tilde to the version in dependency this would work for the ppa22:53
S0M30N3but not if I build the package myself22:53
wgrantAnd it would work for a version of '1.0.14' as well22:53
wgrant'~' is less than nothing22:54
wgrantWhich means '' is greater than it22:54
wgrantSo 1.0.14 > 1.0.14~22:54
lifelessbigjools: single timeline of versions for dealing with multiple independent timelines22:55
bigjoolslifeless: yeah I was thinking the same thing - not sure how I'd solve it though :)22:55
bigjoolsI suspect whatever else anyone would come up with would suffer an equal amount of different problems :)22:56
maxbS0M30N3: I don't see why a tiled-appended version wouldn't work for your own builds too22:56
S0M30N3just a sec. I'll double-check. May be I'm wrong22:57
maxbBecause 1.0.14 satisfies >= 1.0.14~22:58
S0M30N3maxb: yes that works. Don't know what I've done when I checked this earlier.23:04
=== glebihan_ is now known as glebihan
lifelessbigjools: options - decouple the timeline so you have N timelines, or stop doing things that create N timelines23:07
lifelessbigjools: e.g. we could say 'only ever build on one version of ubuntu' and do the copy forward autoamtically.23:07
lifelessso you pick the oldest version you want to support and then build there exclusively.23:08
=== glebihan_ is now known as glebihan
=== Ursinha is now known as Ursinha-afk

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