/srv/irclogs.ubuntu.com/2021/05/12/#launchpad.txt

pieqHi!06:52
pieqOnce a project has been created in Launchpad, is it possible to move it under a Project Group? In the project group, I see I can register a new project, but I don't see how to add an existing project06:52
tomwardillpieq: in the project you want to move, go to 'Change details' (or /+edit), then there should be a field for 'Part of'.06:55
tomwardillChange that to the name of hte project group06:55
pieqtomwardill, thanks a bunch! It worked06:57
tomwardillnp, that field isn't obvious06:57
ograargh ...10:21
ogra'distro_arch_series: No such object "https://api.launchpad.net/1.0/ubuntu/xenial/de".'10:21
ograhow do i query for ESM distro stuff on LP ?10:22
cjwatsonogra: What are you trying to do exactly?  "de" is indeed not an architecture name10:30
ograhmm, yeah, i thought it was just mangled in the log ... but seems it actually looks for de10:31
cjwatsonWhat's your code here?10:31
cjwatsonxenial is still Supported in Launchpad terms - there's nothing special about ESM there10:32
ograyeah, i get the arch from splitting a filename, must be something wrong with that name10:34
ograhttps://github.com/ogra1/fonto-de-kerno/blob/main/scripts/updater.py#L8910:34
cjwatsonogra: Shouldn't that split the basename instead of the whole filename?10:44
cjwatsonogra: Or just pass in the architecture name explicitly, since the only caller of that function already knows it10:44
ograwell, i'm waiting for the trigger of the script to kick in to inspect the whole thing (was to lazy to tinker with the system timers but added some debug code)10:47
ogratheer should be no "de" in the filename anywhere ...10:48
cjwatsonogra: You're splitting the entire path, so it could happen to occur in the tmpdir10:51
ogra"outfile = tmpdir+'/'+core+'-'+arch+'-'+rev+'-dpkg.list'" ... i dont see how even brokenly parsing that name could end up with "de" ... (and the log is full of the exact same broken URL so it cant come from the tmpdir naming)10:51
cjwatsonogra: Non-deterministically10:51
ograi'll definitely switch to basename, but i also want to understand the issue first10:52
cjwatsonI don't see your argument for why it can't come from the tmpdir naming10:53
ograbecause the tmpdir name changes with every run10:53
ograit wouldnt be "de" all the time10:53
cjwatsonAnd you're seeing the same thing on successive runs?10:53
cjwatsonI do think you should just pass the architecture name as an argument rather than splitting it out of the filename10:54
cjwatsonYou have it in hand, so why make things harder?10:54
ogratrue dat10:54
cjwatson(Also, tempfile.mkdtemp() honours TMPDIR and other similar environment variables, so that could be relevant)10:55
ograwell, i'm in a snap, TMPDIR should be empty ...10:57
ogranext run is in 3 min... then i can inspect /tmp ... 🙂10:57
ograheh, okay ... the arch stuff was actualy a red herring ... /tmp ran full (yay me for not adding trap code to clean up on error) so it made a mess ...14:03
ograthe actualy error is  *actually* esm related ... several packages got a +esmX attached to their versions ... and i have no code to turn that into a proper query url14:04
ograsdo the plus sign makes it fall flat on its face14:05
cjwatsonogra: Should just be a matter of urllib.parse.quote() I guess14:07
ograyeah14:07
ografirst i need to add some trap code though ... to not eat my /tmp 🙂14:07

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