/srv/irclogs.ubuntu.com/2020/09/27/#ubuntu-qt.txt

lubot<Santa> @mitya57 good morning08:54
lubot<Santa> how's qt going in debian experimental?08:54
lubot<Santa> btw we had a pending talk, so whenever you have some time, please ping me here ;)08:56
lubot<Santa> FTR I altered my initial plan, so now it's going to be:08:57
lubot<Santa> 1. I'm going to tell you a story about cantaloupes (yes, I'm serious) (no, I'm not crazy)08:58
lubot<Santa> 2. I'm going to do some R&D08:58
lubot<Santa> 3. I'm going to explain you some technical things08:59
lubot<Santa> We could do 1. this weekend if you can (I have the story in a *.txt) but I would like to comment it with you09:01
lubot<Santa> The story is just 2 A4 pages so don't worry09:01
lubot<mitya57> @Santa [how's qt going in debian experimental?], Hi Santa! Qt is mostly ready, I'm fighting with Qt WebEngine build failures, otherwise it's fine.09:20
lubot<Santa> that's tough09:20
lubot<mitya57> @Santa [btw we had a pending talk, so whenever you have some time, please ping me here ; …], I have time now. Maybe you can PM me to avoid spamming this chat? Or you want it to be public?09:20
lubot<Santa> I think it's cool to have it publicly available for anyone interested in Qt packaging09:21
lubot<mitya57> OK09:22
lubot<Santa> @mitya57 ↑ here you have it, once you read it I could explain a few things09:24
lubot* mitya57 reads09:24
lubot<mitya57> So, I guess you want to talk about automation.09:27
lubot<Santa> Something more generic actually.09:30
lubot<Santa> https://perezmeyer.blogspot.com/2020/08/stepping-down-as-qt-6-maintainers.html09:30
lubot<Santa> ↑ what you are saying here - without saying it - is: "we love cantaloupes, but the cost of maintenance in person-hours is so high that we can't handle it"09:32
lubot<mitya57> Kind of that, right09:32
lubot<Santa> Correct, so Martin Luther King said "I have a dream". Well, I don't have a dream I have a guess.09:35
lubot<Santa> My guess is that some things you are doing could be changed a little bit, optimizing the cost in person-hours of the things you are doing.09:36
lubot<Santa> And I'm also guessing I can help you with that.09:37
lubot<Santa> That being said, the first thing I would like to help you with, is the way you handle the qt uploads to ubuntu once the packages are available in Debian.09:38
lubot<Santa> If that works, we could try to optimize more things, how does that sound?09:39
lubot<mitya57> Yes, currently every transition in Ubuntu requires bootstrapping the docs first. If you know how to optimize that, that would be nice!09:40
lubot<Santa> That's absolutely fantastic. I'm very glad to hear that.09:41
lubot<Santa> Now, indeed, let's talk about automation XD09:41
lubot<Santa> Note that automation could be one solution to optimize some things, but for sure it's not something which is going to solve all the problems in the world.09:42
lubot<Santa> But I think it's going to work really well for the bootstraping, and I will try to explain why I think that.09:43
lubot<mitya57> I agree with that, it can be automated with a script that gets packages from Debian, applies necessary modifications, and dput's to given PPA.09:44
lubot<mitya57> Or do you mean something more smart?09:44
lubot<Santa> Something like that, yes.09:44
lubot<Santa> Some time ago I linked a video here, and I would like you to watch it again and make some comments about it. Let me find the link...09:45
lubot<Santa> https://www.youtube.com/watch?v=jUwlzLZaZ5A09:46
lubot<mitya57> I remember that video, yes :)09:49
lubot<Santa> ok, so let me focus on the first 2 parts09:51
lubot<Santa> git-clone-all -r plasma09:51
lubot<Santa> and...09:51
lubot<Santa> do-all gbp-tritemio09:51
lubot<Santa> do you know what they do these commands?09:52
lubot<mitya57> That's easy to guess 😜09:53
lubot<Santa> ok, so gbp-tritemio: what it does?09:54
lubot<mitya57> Runs git-buildpackage?09:54
lubot<Santa> and something else09:55
lubot<Santa> before running git-buildpackage it modifies the package version; it adds a "+tritemioX" suffix to the version09:56
lubot<mitya57> Ok, makes sense09:56
lubot<Santa> and it does that ONLY in the package built, it doesn't touch the git local clone repo at all09:56
lubot<mitya57> Ack09:57
lubot<mitya57> Let me say some general thing: I'm all for automation, but most difficult (and time consuming) things in Qt packaging (and maybe any packaging) are things that cannot be automated: figuring out why the build failed on some architectures, updating copyright for 3rd party sources where it's not properly documented, rebasing patches and10:00
lubotwriting new ones, etc.10:00
lubot<Santa> of course, not all the problems are the same and therefore the solutions for each one could be different10:01
lubot<Santa> so ... going back to the bootstraping thing in ubuntu10:02
lubot<Santa> as you can see with the automation we have seen above we have:10:03
lubot<Santa> - do-all: to run commands in all git repos10:03
lubot<Santa> - gbp-tritemio: to build a modified source package without touching the git repo10:04
lubot<Santa> so what would be the solution for the ubuntu bootstraping thing? The way I see it, writing "gbp-qtstage1"10:05
lubot<Santa> and this program would alter the package on the fly the same way you are currently doing manually10:06
lubot<mitya57> Ok. It's just about modifying 3 source packages actually.10:06
lubot<Santa> yeah, but you would be able to upload all the stage 1 packages in a row10:07
lubot<mitya57> It's qtbase, qtdeclarative (with -doc* binaries removed) and qttools (with webkit support removed). Then I wait until it builds and copy packages from Debian. … So yes, it is possible to automate that, but it won't save a lot of time.10:09
lubot<Santa> yeah but the whole list of packages of the stage1 is a bit bigger, isn't it?10:12
lubot<Santa> qtbase … qtxmlpatterns … qtdeclarative … qtlocation … qtsensors … qtwebsockets … qtwebchannel … qtwebkit10:13
lubot                              … qttools10:13
lubot<Santa> ↑ is this list correct?10:13
lubot<mitya57> That's an alternative variant that doesn't involve disabling qtwebkit support in qttools, but I prefer the variant I mentioned because it's just 3 packages.10:14
lubot<RikMills> that method is not in the qtbase README.source?10:16
lubot<mitya57> README.source is mostly for people bootstrapping Debian for new architectures, and it allows them to do so without *any* modifications. … Ubuntu is a different thing: unlike Debian, we have all binaries built by amd64 build, that's why we need a different path.10:20
lubot<RikMills> Right10:21
lubot* RikMills does back to Sunday lunch prep10:21
lubot<mitya57> Santa that said, your tooling will probably be much more useful when we have to upload Qt to Ubuntu when the packages are not in Debian (like it was with 5.9.8 for Focal). … Because I usually upload all packages with ~ppa1 suffix first.10:23
lubot<Santa> ack, I don't understand very well the 3-packages variant bootstraping10:24
lubot<Santa> "That's an alternative variant that doesn't involve disabling qtwebkit support in qttools"10:25
lubot<Santa> so how do you do that exactly?10:25
lubot<mitya57> https://launchpadlibrarian.net/365659969/qttools-opensource-src_5.9.5-0ubuntu1~2_5.9.5-0ubuntu1.diff.gz … This is the diff I found on LP. If you reverse it, you will get a package that doesn't depend on qtwebkit.10:27
lubot<Santa> aha10:30
lubot<Santa> that's interesting. may I suggest you to document this somewhere?10:30
lubot<Santa> (if it's not already)10:31
lubot<mitya57> Ok, will do10:33
lubot<Santa> Thanks. You also mentioned the tooling could be interesting to upload new versions of qt when they are not available in debian (like what happened in focal)10:35
lubot<Santa> ... so I will think a bit about that10:36
lubot<Santa> this way whenever you are done with the qt packages in debian, maybe we could pretend we are going to upload 5.15 to groovy wihout having it available in debian10:38
lubot<mitya57> This thing happens rarely, but sometimes we want versions older than in Debian. But given that Qt has no more opensource LTS branches, I don't know if that will happen at all.10:40
lubot<Santa> ack, we could try anyway10:43
lubot<Santa> Ok, so I think I already had enough of qt packagin for this weekend XD10:46
lubot<Santa> @mitya57 thank you very much for your time :)10:46
lubot<mitya57> No problem, thanks to you too!10:48
lubot<mitya57> Actually I was trying myself to automate some aspects of packaging, e.g. the copyright generator for qtwebengine is the most recent example.10:49
lubot<Santa> Yeah, I would like to research a bit more that kind of things too10:50
=== mitya57_ is now known as mitya57

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