/srv/irclogs.ubuntu.com/2020/01/16/#launchpad-dev.txt

jelmercjwatson: does launchpad currently rely on the Python 2 version of Breezy, or are there any plans to rely on the Python 2 version?00:39
cjwatsonjelmer: codehosting (though not codeimport) in master currently relies on the Python 2 version of breezy00:48
cjwatsonjelmer: If possible it would be helpful if the issues blocking codeimport were fixed before breezy dropped Python 2 support, so that we have an overlap period; though another possibility is to split out codeimport00:49
cjwatsonjelmer: I'm expecting to deploy the codehosting/breezy work to production tomorrow00:50
jelmercjwatson: ack, thanks01:04
jelmercjwatson: FWIW we're not in a hurry, just trying to figure out what constraints we have01:04
cjwatsonjelmer: We've made some pretty substantial progress on dependencies in the last few months, but there's still a lot of code to port and a few complicated remaining dependencies (notably lazr.authentication/lazr.restful is going to need some fiddling)01:07
sil2100Hello! I have a small MP I'd like someone from the LP-team to take a look at, since I'm really bad at naming stuff - this is all needed for some stuff we'd like to have for 18.04.4 images:13:09
sil2100https://code.launchpad.net/~sil2100/launchpad-buildd/pass_build_id/+merge/37763513:09
cjwatsonsil2100: Yep, saw it, in the middle of a sprint at the moment but it's on my list13:13
cjwatsonI agree it's likely to need to be something other than build_id, but will have a think13:14
cjwatsonsil2100: When is 18.04.4?13:14
cjwatsonStill 2020-02-06 as scheduled?13:14
sil2100cjwatson: yes ;)13:44
sil2100cjwatson: thank you!13:44
sil2100cjwatson: I renamed it to image_build_id for now so that it doesn't conflict with the in-code build_id13:44
sil2100It'll usually be a timestamp, but I'd also like it to be an arbitrary identifier that someone can push to a build if needed13:45
sil2100On cdimage it has many names ;p13:45
cjwatsonsil2100: Isn't that already --datestamp?13:47
cjwatsonPassed as NOW?13:48
sil2100cjwatson: I don't know, I mean, at least it's not passed via cdimage for sure - I don't know what for --datestamp is used, but the build_id that I want to pass is the cdimage build/publish timestamp identifier, and that's not always a strict timestamp14:05
sil2100Since it can be DATE.1, DATE.2 depending on how many builds a day there were14:05
sil2100I see that datestamp is pushed as NOW into the environment, so I could be a bit worried that this not being an actual timestamp might cause trouble14:06
sil2100But yeah, I actually never used NOW14:07
* sil2100 looks at livecd-rootfs code14:07
sil2100I guess it's only used there to do `echo "BUILDSTAMP=\"$NOW\"" >> config/binary`, so I guess in theory I could use that? I'm just worried as the variable/parameter names can confuse people14:09
sil2100And BUILDSTAMP is then used for ubuntu-cpc builds to populate /etc/cloud/build.info14:10
sil2100hm, good to know that, maybe I should poke the CPC guys to know if I can hijack this14:11
cjwatsonDATE.1, DATE.2 is exactly what we already use datestamp for14:11
cjwatsonI think14:12
cjwatson        args["datestamp"] = build.version14:12
cjwatsonThe naming is a mess, but it exists and we shouldn't add another thing that does the same thing14:13
cjwatsonIt's true that cdimage doesn't pass it; it's the optional version argument to livefs.requestBuild14:13
cjwatsonWhen I wrote this I never intended it to be required to be an actual timestamp14:14
sil2100cjwatson: agreed! Yeah, I guess I missed it since I looked at cdimage first14:14
cjwatsonName notwithstanding14:14
sil2100Excellent14:14
cjwatson(I think some of the naming was live-build's fault, but it's been a while)14:14
sil2100Thanks for pointing that out!14:14
sil2100I shall use it in that case ;)14:14
sil2100Since it's actually perfect, since it means there's less stuff that needs to land14:14
sil2100In the best case I'll just have to tweak cdimage to pass it, and the rest should just work - since livecd-rootfs already populates /etc/cloud/build.info with it, so that's what we can use!14:15

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