/srv/irclogs.ubuntu.com/2019/03/14/#ubuntu-devel.txt

jibelvorlon, thanks for your reviews and merging ubuntu-cdimage and debian-cd :)07:12
kstenerudQuestion regarding modifying a patchfile in debian/patches: If it's our patch (and not debian's), is it better to squash the commit into the older ubuntu commit, or to leave it as 2 commits?10:56
dokoRAOF: please could you subscribe the mir team, or another team to yaml-cpp? still needed for the MIR11:30
cjwatsonkstenerud: I'd normally squash it in that case11:38
cjwatsonAssuming it's actually part of the same logical change11:38
tjaaltonhum, https://wiki.ubuntu.com/ReleaseSchedule is out of date11:47
tjaaltonI'll fix it11:47
juliankddstreet: So, the thing that comes to my mind when add-apt-repository private ppa, is that I want it to look like a normal ppa with a sources.list.d file, but an additional auth.conf.d file with the username and password.12:11
ddstreetthat would be great12:11
juliankOptimally, it would like talk to launchpad so you can do add-apt-repository ppa:<blah> and it fetches the auth data itself, but that might be a bit involved12:12
ddstreetyeah, it of course will need to switch from anon lp access to logged in, and actually getting the private ppa key and pw i haven't looked at how to do yet12:13
ddstreetbut *should* be possible12:13
juliankddstreet: The easier alternative is to go with     apt-add-repository 'https://<authorized launchpad url> <components>' and then extract the data from the url, and generate the filename based on it12:14
julianksince they follow the form private-ppa.launchpad.net/USER/PPA12:15
ddstreetyeah, that will still require the user to go into their lp private repo area and get the info tho, which is a pain12:15
juliankRight12:16
juliankbut at least it avoids people having the auth data in sources.list :)12:16
juliank(and getting warnings for that stuff)12:17
ddstreetexactly, that is annoying since it's what users are told to do12:17
juliankIn general, add-apt-repository should ask for a repository name12:17
juliankso if you add another repository where we cannot detect a name with auth data12:17
juliankit should ask you to give it a name12:17
juliankand then create sources.list.d/<name>.list and auth.conf.d/<name>.conf12:17
ddstreetwell if we keep the format of 'user/repo' we can just use that for the name, same as a public ppa12:18
juliankyes12:18
ddstreetjust more work on the back-end to authenticate and gather the pw and ppa key12:18
juliankI meant, outside of launchpad, where we don't have a name schema, we can ask users12:18
ddstreetah right12:19
juliankI'd like add-apt-repository to show you a URL to launchpad.net12:19
juliankit connects to another url12:19
juliankthen you click the first one12:19
juliankand then launchpad authorizes the add-apt-repository process / sends it the auth data12:20
juliankthat'd avoid any logging in on the client side, which might be a good idea or a bad one, depending on the use case :)12:20
ddstreetso you want to avoid using the normal non-anon lp login from python?12:21
juliankI think if you use the non-anon login, it basically works in a similar way?12:21
juliankBut I'm not sure12:21
ddstreetright it gives you a url to create oauth to lp12:22
juliankIt would be nice to have a page though that tells you "you requested access to this ppa, grant it?"12:22
ddstreetonce you authorize the oauth for some time period, then the lp login succeeds12:22
cjwatsonThere doesn't seem like much point trying to avoid logging in if your proposal is to construct a special-case thing that requires you to go to the browser anyway12:22
ddstreethmm that probably would require changes to lp itself i think12:23
ddstreeti think if we just make the user do the normal lp oauth login, then we dont need additional approval to add a ppa - i mean that's what they are doing with the add-apt-repo cmd anyway12:24
cjwatsonAnd if you just use the normal oauth token login process, then add-apt-repository on multiple private PPAs in succession would cache the token and just work12:24
ddstreetwe should leave the existing 'here's the repo description, press enter to keep adding it' prompt12:24
juliankcjwatson: I think there are two use cases: End-user machines, where you want to cache the token; and shared cloud servers, where you don't12:24
ddstreeti think the minimum oauth time is 1 hr, is that right?12:25
juliankI think in the latter case, you'd like to have something like one login per repository, with the token scoped to the ppa you are adding12:25
cjwatsonI'd like to have more narrowly-scoped tokens for LP, but it's a big project12:25
cjwatson(I made a start on that in early 2016, but it was hugely complicated and we put it on indefinite hold)12:26
cjwatsonhttps://code.launchpad.net/~cjwatson/lazr.restful/caveats/+merge/286796 was the start of it12:27
ddstreetfor the cloud server use case and/or lots of machines use case, there should be a param/option to add-apt-repo like you said before, to just pass the ppa and pw without needing to authorize to lp12:27
cjwatsonOr have a way to run add-apt-repository on a client system and push the authorisation to a remote system12:28
ddstreetand probably a param to do the oauth to get the pw, but not actually install on the local system - then they can take that ppa and pw and deploy in cloud servers without needing oauth on those servers12:28
cjwatsonThat way you don't have to worry about giving your credentials to a remote cloud machine, and you can benefit from local cred caching12:28
ddstreetwell, that gets into add-ap-repo starting to do cloud management stuff12:29
cjwatsonA bit like debsign -r12:29
ddstreethmm yeah12:29
cjwatsonIt does, but it might still be overall simpler12:29
juliankthat's a good idea12:29
ddstreetyep12:29
ddstreetis there an existing bug to track adding this?12:29
juliankWe can combine that so that add-apt-repository -r remote ppa:something12:30
cjwatsonI don't know how it fits with existing cloud automation, but I guess if you're looking at prompting anyway then automation isn't so much of a thing12:30
juliankbasically resolves to ssh remote add-apt-repository 'https://foo:bar@private... blah blah'12:30
cjwatsonPassing secrets on stdin rather than on the ps-visible command line, I hope12:30
juliankoh that's true12:31
ddstreeti suspect anyone with large numbers of instances would want to get the ppa/pw once, then drop that into whatever orchestration tool they are using, chef, puppet, juju, etc12:31
juliankadd-apt-repository --stdin12:31
=== ricab is now known as ricab|lunch
juliankand then you can even have support for multiple repositories being passed on stdin12:31
cjwatsonperson.getArchiveSubscriptionURL is probably the webservice method you want, BTW12:32
ddstreetlet's use this existing old bug to track adding this https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/64540412:32
ubottuLaunchpad bug 645404 in software-properties (Ubuntu) "Support Private PPAs" [Wishlist,Confirmed]12:32
juliankI increased importance to low, as that's actually causing apt warnings with the auth data in sources.list, so it's more a bug than a feature these days :)12:33
ddstreetjuliank cjwatson thnx and i'll make sure to update the bug if i find time to start working on it (and will check first to make sure you haven't already started on it)12:36
juliankddstreet: I'm adding a comment with the summary of what we discussed12:36
ddstreetawesome12:36
cyphermoxmorning13:27
=== ricab|lunch is now known as ricab
seb128SRU team question, if a package got MIR approved and promoted in disco, can it be used for cosmic/bionic SRUs? is there a special process/consideration in that case? (we want to use libnfs to enable the gvfs/nautilus backend)14:32
rbasakseb128: what do you mean be "can it be used" exactly?14:46
rbasakDo you want to promote it in bionic/cosmic? Add it as a dependency of something else?14:46
rbasakAIUI (though this is more AA territory) we can move something to main as an new publication in the updates pocket.14:46
rbasakThe rest is SRU exceptional with no policy, but I don't see any fundamental technical problem - as long as it's reasonable from an SRU perspective, which depends on the specifics.14:47
rbasakSo many typos. Sorry.14:48
seb128rbasak, yeah, basically it's bug #1637988 and gvfs is in the queue14:48
ubottubug 1637988 in gvfs (Ubuntu) "Enable the nfs backend" [Wishlist,Fix released] https://launchpad.net/bugs/163798814:48
seb128but libnfs is still in universe in bionic/cosmic14:49
seb128so basically it means I also need a no change upload for libnfs to have it promoted?14:49
rbasakI'm not confident enough in the specifics - please check with an AA.14:51
rbasakBut yeah, that sounds about right to me.14:52
rbasakI was going to ask if it would be easier to make it a Recommends instead for the SRUs, and keep libnfs in universe for users to opt-in perhaps. But it looks like it's compiled in so perhaps that's non-trivial (even if we did want it).14:53
seb128rbasak, yeah, it's a lib the backend is using14:54
seb128we can't make it optional14:54
ahasenackdoko: hi, does this ring a bell:15:26
ahasenackx86_64-linux-gnu-gcc: error trying to exec 'go1': execvp: No such file or directory15:26
dokoahasenack: apt install gccgo?15:27
ahasenackI have it15:28
ahasenackit pulled in gccgo-915:28
ahasenacka previous build log in lp pulled in gccgo-815:29
dokoahh, wait, I made 9 the default for gccgo, so yes, then you have to pull in gccgo-8 explicitly15:29
dokogccgo-9 and golang-1.12 are both 1.1215:30
ahasenack$ dpkg -L gccgo-8|grep go115:30
ahasenack /usr/lib/gcc/x86_64-linux-gnu/8/go115:30
ahasenackok15:31
rbasakOh, a Recommends would be insufficient, it'd have to be a Suggests, or a reverse Enhances. Anyway, not possible.15:31
dokoahasenack: which package is this? just wondering why gccgo is used explicitly15:51
juliankrbasak: the log for the u-u test case with the error messages has python3-apt 1.4.0~something, which is the stable versuin15:55
juliankum15:55
juliankrbalint: ^15:55
rbalintjuliank, rbasak it is upgrading to snapshot.debian.org/archive/debian/20171210T000000Z sid15:58
juliankdon't highlight him just because I accidentally did :)15:59
juliankrbalint: ah ok15:59
juliankrbalint: that explains a lot15:59
juliank:)15:59
rbalintjuliank, i'll move to a later snapshot upgrade delta15:59
vorlonjibel: sure thing - thanks for seeing this through!16:10
alkisgHi, (lib)parted in bionic has a serious issue that corrupts fat file systems (debian #840710). It's been fixed in cosmic+. The newer parted versions only contain bug fixes.16:13
alkisgShould I ask for an SRU just for the one serious issue, or it can be considered a "microrelease" and backported as is, after proper testing of course?16:13
ubottuDebian bug 840710 in parted "parted: Fix recognition of FAT file system after resizing" [Wishlist,Fixed] http://bugs.debian.org/84071016:13
tewardalkisg: I'd ask for an SRU for that specific fix16:14
alkisgThank you teward16:14
tewardsince that's a nitpicked upstream commit to solve the issue, SRU team can review it once it's submitted for consideration16:14
teward(this is also how I got the LVM2 resizing fix into Bionic before the last ISO point release)16:14
teward(because gparted coldn't resize LVM2 PVs)16:15
alkisgGotcha16:15
tewardalkisg: but we'll still need an Ubuntu bug touching upon the issue16:15
tewardLO16:15
teward:P *16:15
cjwatsonAgreed; that patch should be trivially cherry-pickable onto older series.  The microrelease path would be inappropriate here.16:20
rbalintjuliank, u-u test fails in cosmic, which is really bad, it seems it needs a fix16:22
juliankrbalint: they do?16:23
juliankYou mean, the disco one is failing to upgrade cosmic?16:24
rbalintjuliank, yes, failing to upgrade systemd when there is a higher version in -updates16:25
ahasenackdoko: uwsgi16:31
alkisgDo I need to prepare a debdiff or something, or can the patch file from cosmic be used?  https://bugs.launchpad.net/ubuntu/+source/parted/+bug/182009016:37
ubottuLaunchpad bug 1820090 in parted (Ubuntu) "SRU: fix FAT recognition after resizing" [Undecided,New]16:37
tewardalkisg: if you'd like I can prep the debdiff.16:59
tewardi'm not busy :p16:59
tewardalkisg: this is for Bionic?17:00
tewardand is this already 'fixed' in Cosmic+?  (wasn't clear on the bug)17:00
alkisgteward: I'd very much appreciate it17:03
alkisgYes, and yes17:03
tewardalkisg: confirm for me, it's *any* FAT system yes?  FAT16, FAT32, etc.?17:10
tewards/system/filesystem/17:10
alkisgteward: I only tested with fat32, but afaik it's for any file system17:10
alkisg*fat17:10
bdmurrayDid the output of 'date -u' switch from 24hr to AM/PM or is my desktop crazy?17:13
sarnoldo_O17:14
tewardalkisg: bug confirmed, i've picked up the bug and assigned it to myself, building a patched version in a PPA now, will test BEFORE I provide the debdiff to sponsors (I don't have coredev or Main upload rights but I'll at least generate the diff and get it to the point for sponsoring ASSUMING everything works as we expect)17:14
ahasenackis there a draft for the disco release notes somewhere? https://wiki.ubuntu.com/DiscoDingo/ReleaseNotes is not created yet17:18
vorlonjibel: No such live filesystem with this owner/distroseries: 'ubuntu-canary'.17:20
vorlonjibel: were you wanting us to set that up? :)17:20
jibelvorlon, Yes please, that was our next request.17:36
alkisgteward: I used "copy packages from primary archive to ubuntu" to copy/recompile the cosmic version for bionic, in my ppa, and I verified that it works. Not the same thing of course, just an indicator.17:42
tewardalkisg: right, but part of my 'testing' process for any SRU debdiffs I have is to PPA build-test (right now my local builders are busted :| ) and then use that in a test environment to make sure it works17:42
tewardat the MOMENT, apparently, there's some keyserver problems behind the scenes affecting my upload to the PPA at the moment17:43
teward(and they're looking into it)17:43
EickmeyerOkay, question: Is there any place I can monitor the progress of an ISO build? Our last 8 builds for Ubuntu Studio have failed, but the ISO tracker at iso.qa.ubuntu.com says it's re-building, but I'm not sure if that's the one that I triggered yesterday or not.18:03
* Eickmeyer feels like a noob18:03
vorlonjibel: done and rebuilding18:06
vorlonEickmeyer: https://launchpad.net/~ubuntu-cdimage/+livefs/ubuntu/disco/ubuntustudio/18:06
Eickmeyervorlon: That's what I thought, so that doesn't show any current image buillding. Should I mauallly trigger one?18:07
vorlonEickmeyer: why?18:07
Eickmeyervorlon: I think the last build attempt had the version of ubuntustudio-look before I uploaded the fix removing update-grub from the plymouth theme install.18:08
vorlonEickmeyer: ok - sure, you can manually trigger18:09
Eickmeyervorlon: Thanks.18:09
vorlonjibel: Subject: LiveFS ubuntu-canary/disco/amd64 failed to build on 2019031418:53

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