/srv/irclogs.ubuntu.com/2014/07/17/#cloud-init.txt

=== praneshp_ is now known as praneshp
=== shardy_afk is now known as shardy
=== evilissimo|afk is now known as evilissimo
=== harlowja is now known as harlowja_away
=== zz_gondoi is now known as gondoi
=== evilissimo is now known as evilissimo|afk
=== xmltok_ is now known as xmltok
=== harlowja_away is now known as harlowja
=== gondoi is now known as zz_gondoi
=== zz_gondoi is now known as gondoi
=== gondoi is now known as zz_gondoi
mgagneanyone knows where I could find a backport of cloud-init 0.7.x for Precise?17:43
smosermgagne, i've not done one. 17:55
smoseri dont think there are too many issues if you just build trunk17:55
smoser./tools/builddeb -us -uc17:55
mgagnesmoser: I'm looking at PPA and looking for a tutorial on how to backport stuff from trusty to precise so I can do it myself17:56
smosermgagne, yeah. thats the right path. i'  not sure off the top of my head what would be problems.18:00
smoseri've done that as recently as 0.7.018:01
smoserhttps://launchpad.net/~maas-maintainers/+archive/ubuntu/maas-ephemeral-images18:01
mgagnesmoser: well, my main challenge is: how do I do this? apt-get source cloud-init on trusty, update changelog to target precise, dput to ppa and hope for the best?18:01
smosermgagne, yeah. mostly. you can build it in a sbuild chroot to test locally18:12
smoserbefore going to ppa18:13
smoser(i'd recommend that for quicker turn around)18:13
smoserbut one way or anotehr test it buildling locally before pushing ot a ppa18:13
=== zz_gondoi is now known as gondoi
mgagnesmoser: lets say I have a bunch of dependencies missing that would need to be backported too. How can I programmatically get the list of missing dependencies so I can automate the process?20:26
smoseryou shoudln't have too many dependencies20:27
smoserfor cloud-init ?20:27
mgagnesmoser: yep, it now requires python-json-patch, python-json-pointer and openstack-pkg-tools20:29
smoserhm..20:31
smoserlet me see.20:31
mgagnesmoser: it's the first time I create a ppa and backport a package so I'm not familiar with backporting challenges. sorry if I ask a lot of questions =)20:34
smoserthats ok. 20:37
mgagnesmoser: I see backportpackage command exists. Will it take care of dependencies?20:38
smoseri dont know. i doubt.20:38
smoserwhere did youthink you needed openstack-pkg-tools ?20:38
smoserand python-json-pointer?20:39
mgagnesmoser: this guy thinks he needs it: http://packages.ubuntu.com/source/trusty/python-json-patch20:40
smoseryeah, you do need that.20:40
mgagnesmoser: python-json-patch needs python-json-pointer20:40
smoserah. 20:40
smoserhm..20:40
mgagnesmoser: so you see the rabbit hole I'm going into20:40
smoserwell, you can probaly fairly easily drop the jsonpatch 20:43
smoserand its not a big deal.20:43
smosersomething i had hoped to develop more20:43
mgagnesmoser: ok, I'll try to drop it. I was hoping to not have to modify debian/control and have to version it somewhere =)20:44
smoserhm..20:45
smoseryou'll also have to modify code to do that. i think. not much, it should be contained in 20:45
smosercloudinit/handlers/cloud_config.py20:45
mgagnesmoser: I just don't understand why python-json-patch needs a run-time dependency on openstack-pkg-tools though20:47
smosernot runtime20:47
smoserbuild time.20:47
smoserhttp://paste.ubuntu.com/7810965/20:47
mgagnesmoser: true, my mistake20:48
mgagnesmoser: will try your patch, thanks20:48
smosermake test will probably fail too20:49
mgagnesmoser: I guess I can take care of it too20:49
smoseryeah, or just disable that if it even runs it in the build20:50
smoseri dont remember 20:50
mgagnesmoser: should be trivial to add your patch and disable associated tests, will start with that for now20:51
=== gondoi is now known as zz_gondoi
=== samkottler is now known as Guest92729

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