/srv/irclogs.ubuntu.com/2017/07/25/#ubuntu-devel.txt

=== maclin1 is now known as maclin
=== maclin1 is now known as maclin
=== maclin1 is now known as maclin
mwhudsonxnox: hooray09:41
mwhudson(ubuntu-make)09:42
mwhudsonxnox: so just need to get botch kicked out of artful-release and then python3-defaults should migrate?09:43
xnoxmwhudson, yeah, need to ping steve again about it.09:55
mwhudsonan archive admin, my kingdom for an archive admin09:56
xnoxmwhudson, i take your kingdom and raise you an empire09:57
=== sergiusens_ is now known as sergiusens
ginggsmwhudson: archive admins are next door, in -release10:25
mwhudsonginggs: yeah10:26
clivejoanyone here familiar with python module packaging?10:27
clivejoTrying to use gbp buildpackage with this git repo https://anonscm.debian.org/cgit/python-modules/packages/pyee.git10:28
clivejobut something keeps changing version.txt10:29
ginggsmwhudson: and only offer them part of your kingom10:31
cjwatsonclivejo: That would be the fact that it uses https://pypi.python.org/pypi/vcversioner10:32
cjwatsonclivejo: version.txt should probably be gitignored10:32
clivejowould you have a package I could see it in action?10:34
clivejoan example of how its done10:34
cjwatsonsorry, no10:53
cjwatsonbut git ignore isn't hard to look up10:54
clivejocjwatson: I have tried adding version.txt to .gitignore but gbp is still complaining that it has changed11:28
cjwatsonyeah you would have to actually remove it too11:29
cjwatsonperhaps there's a problem with it being in the upstream tarball though, I haven't checked11:29
clivejogit rm --cached version.txt11:30
cjwatsonyou might need to arrange to put back the upstream version on debian/rules clean11:30
clivejothen added my .gitignore11:30
mapreridoko: does that binutils upload include https://sourceware.org/bugzilla/show_bug.cgi?id=21820 as well?12:05
ubottusourceware.org bug 21820 in binutils "[2.29 Regression] readelf now exits with error reading an empty section" [Normal,Resolved: fixed]12:05
dokomapreri: yes, forgot to add the changelog entry12:07
mapreridoko: cool, thanks12:07
xnoxmwhudson, so botch is now done, ubuntu-make too. requeue / restarted adt tests python3-defaults triggering ubuntu-make. once those pass we shall see if python3-defaults migrates or not.12:39
infinityjuliank, xnox: Yo, where are we on apt versus unattended-upgrades.  Is the apt in the xenial queue "the final solution", or is there still more to discuss/fix/tweak?13:13
infinityjuliank, xnox: And if that's what we want, do we want/need it for the point release, and if so, is there enough time to verify it by the end of the week if I review and accept it today?13:14
xnoxthere is time to verify it and push it through.13:14
juliankinfinity: There'll be another round with further improvements, but as it is, it already is a substantial improvement in itself.13:15
xnoxit would be nice, if we shipped it like 3 weeks ago, as clouds are complaining.13:15
juliankYeah13:15
xnoxinfinity, we do want it soon - the stuff in the queue is enough to fix the cloud wining.13:15
* xnox vining?13:15
* xnox whyning?13:15
infinityjuliank, xnox: Alright, so you both agree that what's in the queue is a progression, even if not "perfect", and we want it soon?13:18
juliankYES13:18
xnoxyes.13:18
infinityDo we need unattended-upgrades changes to go with it, or can that apt update stand alone?13:18
juliankIt's an improvement either way. With the u-u changes it would be nicer13:19
infinityWell, I don't see any u-u changes anywhere, which is why I asked. :P13:19
infinityI thought there was something about needing new CLI options.13:20
juliankYeah, https://github.com/mvo5/unattended-upgrades/commit/db9eb377cbf371a07641ca5c58a030c6081c51ab https://github.com/mvo5/unattended-upgrades/commit/f26edb4425e488d7acdb825b0b6e8e327d2d51e6 https://github.com/mvo5/unattended-upgrades/commit/2e5deed4a3ef77fb0dcc02525eb32ed134b98a9113:20
juliankem, read that right to left13:20
infinityIf only those were in an archive somewhere.13:20
xnox>_<13:21
xnoxi thought options were not needed =/13:21
juliankI wanted to get feedback on it :)13:21
infinityAhh, right, the apt bits check for the new option before attempting to use it.13:21
juliankI mean, we can roll out the u-u change too, I think, now that it's merged.13:22
juliankrbalint pushed these to mvo13:23
juliankThe change should be easy to review for an SRU, but I don't know if u-u builds in artful right now, it certainly does not in Debian13:25
infinityjuliank: Not sure I want to see them in an SRU before the devel release.  But the apt stuff looks guarded against old versus new, so we can just land it first.13:28
juliankinfinity: Yeah, it's also worth noting that the apt part is shipping in Debian stable, so I guess we get some good testing already :)13:29
juliankWe can either wait for mvo to finish the new unattended-upgrades release and then sync or merge that to artful, or just cherry-pick the changes now. I do have some time today :)13:29
mvojuliank: I had one feedback item for rbalint in the PR, otherwise this looks good13:30
mvojuliank: I also want to add pep484 to u-u, its probably also something for python-apt :)13:30
juliankmvo: Once we drop python 2 support it is.13:32
juliankOr we need to strip that stuff away for python 2 builds.13:32
juliankBut then I actually want to drop python2 support soon13:33
mvojuliank: there is a # type: based syntax that is both py2 and py3 compatible, I use that in u-u because I need py2 compat13:36
mvojuliank: its not as nice as the proper py3 stuff of course13:36
mvojuliank: but gets the job done13:36
juliankHmm, yes, we can do that. But I have to say it looks ugly :/13:37
juliankThe major advantage of that for me is to have nicely readable type info13:37
mvojuliank: I'm very excited about this, it brings python to a new level for me, the lack of basic static checking was always annoying me. agreed on UGLY13:37
juliankWe also really need to fix all the PEP8 errors in python-apt at some point13:38
juliankI just added a hack to make it ignore that in the pre-build script :D13:38
mvojuliank: indeed13:38
mvojuliank: ha!13:38
juliankpython-apt uploads are basically NMU-style right now13:38
juliankAnd perpetual beta13:39
juliankIt's missing like *one* binding to leave beta state13:40
mvojuliank: which one is this? just out of curiosity13:40
juliankSomething with the MD5->HashsumList (??) transition is missing13:40
mvojuliank: aha, that sounds reasonable13:41
juliankmvo: It's apt_pkg.SourceRecords where 'files' is a list of tuples (md5: str, size: int, path: str, type: str)13:42
juliankThis tuple needs to become some magic type that works as a tuple, and also has named fields with a hashstringlist instead of md513:42
juliankAnd tuple-style access should cause deprecation warnings of course :)13:43
* mvo nods13:43
mvojuliank: let me have a quick look at this pep8 stuff while I'm wait for my other code to run tests13:44
infinitymvo: Do you remember how Python works?13:45
mvoinfinity: *cough*13:46
* mvo hugs infinity13:46
infinitymvo: Honestly, more curious if you remember how C++ works, but that's less relevant to the above discussion. :P13:47
juliankinfinity: Maybe mvo should work on the Go bindings instead. They only do configuration now https://github.com/julian-klode/go-apt13:48
juliank:D13:48
mvojuliank: ha! nice, I was actually thinking aobut this13:48
infinityjuliank: I assume they're cgo bindings around libapt.  That's not how the Go community works.  The only acceptable Go solution is to rewrite libapt itself in Go.13:48
infinity(I wish I was joking)13:49
juliankinfinity: They actually first wrap the C++ interface in a C interface and then wrap that in Go13:49
mvoinfinity: I still do, but right now my go skills are way more fluent13:49
infinityjuliank: Sure, yes.  Hence "cgo".13:49
juliankBecause of course, C++ is not supported directly by cgo :(13:49
juliankThat said, it might be useful to have a nice, easy-to-use C binding for APT13:50
infinityTo be fair, cgo isn't supported by cgo.  See above. :P13:50
infinityBut agreed that a libcapt that's a C binding to libapt would be nice.13:50
infinityAnd then the cgo bindings would link libcapt.13:50
infinity*hand-wavy*13:50
juliankExactly13:51
juliankI currently mostly write Go, it's always confusing to switch to C or C++13:52
juliankRight now I'm used to if expression { } ...13:52
infinityYeah, I don't write any Go, but I read/review more than I'd like, and it's the subtle syntax differences that would drive me nuts if I were writing it.13:53
infinityI mean, I'm sure I'd be fine if it was my only language, but it seems gratuitously nasty for people who need to switch back and forth.13:53
juliankIf you're used to if (...) {} and never write if (...) statement, it's fine, gofmt automatically drops the ()13:54
juliankThat said, the only C++ code I touch atm is apt, and that's not even a style I like13:54
juliankThat's worked around now, though: All new code is automatically formated with clang-format :D13:55
julianks/new/changed/13:55
infinityNo sympathy here, most of the C I touch is glibc, which is GCS, ish.13:56
juliank(APT is Allman style with 3 space indent, 8 space tabs, and tabs always used)13:56
juliankglibc is awful13:56
infinityThat whole 4 spaces, tab, tab+4spaces, etc thing drives me batty.13:56
mvogo fmt ftw!13:56
juliankgo fmt definitely was the right decision13:57
infinityBut changing the whitespace formatting of a project that large is basically a non-starter, and we all prefer consistency to having new code formatted "better", so we're stuck with what we have.13:57
infinityChanging format of a project is a stellar way to break all VCS history.13:58
juliankinfinity: It's better than 3 spaces, 6 spaces, 1 tab + 1 space, tab + 4 space, tab + 7 space, 2 tab + 2 space13:58
infinityThat made my head hurt.13:59
infinityI don't care if people prefer tabs or spaces, I just prefer a style that uses one or the other, not both.13:59
Laneyand Unicode identifiers?13:59
infinityMixed styles offend me.13:59
juliankinfinity: It's OK if you have tabs for indentation, and spaces for alignment of continuation lines.14:00
infinityjuliank: Oh yes, and that's my preferred POSIX shell style.14:00
infinityjuliank: I don't consider continuation to be part of indentation, though, it's just a bonus to make something a bit more friendly.14:01
infinity(And continuation styles mixed with line-length caps are where Python PEP-whatever kills me)14:01
infinityCause hey, it's totally "readable" to break your (foo, bar, baz, thing, stuff) across 7 lines because it happens near the end of an 80-char line.14:02
infinityYep.14:02
infinitySuper readable.14:02
infinityExcept, y'know, the opposite thing.14:02
juliankSometimes it's quite nice to have one element per line14:02
juliankBut yeah, sometimes it gets weird14:02
infinityjuliank: Okay, sure, one element per line can be intentionally readable, so pretend I meant 1 element, then 2, then 1, then...14:03
infinityBasically, following the letter of the PEP that demands no line extend past 80, and continuation happen at the opening bracket.14:03
infinityWhich paints you in some fun corners.14:03
juliankWell, I'd split them up further, even if the line is shorter than it could be14:03
juliankWell, sometimes I do group related items together in a single line :)14:04
juliankmvo: One thing that will get odd about gofmt is when they fix a bug there and a lot of code gets formatted differently.14:04
infinity(Mostly, I think I'm just not on board with people who think 80 chars is somehow sacred in the modern world of HD+ displays, etc)14:04
mvojuliank: yeah, its important that the repo keeps go fmt clean14:05
infinityIf you're still stuck in an 80x24 terminal, you might have bigger problems than my line lengths.14:05
juliankmvo: No, I meant if gofmt changes its output format, that will cause quite some turmoil14:05
infinityjuliank: Yeah, see above with my "changing format breaks VCSes". :/14:06
juliankinfinity: 80 characters is nice because narrower text is easier to read due to some unknown reasons.14:06
infinityOTOH, you get to take credit for a 25000 line commit when you commit the changes!14:06
juliankBut it should be a soft rule, not a hard rule14:06
maswanjuliank: also, that's roughly 80 chars on the right hand side of indentation14:06
juliankinfinity: NeoMutt reformatted all code with clang-format, if you need an example :)14:06
infinityjuliank: Oh, I'm super dyslexic (I need to track with a finger or ruler, use intentionally small browsers, etc), but if a line needs to be long to be readable, it needs to be long.  Such is life.14:07
maswanjuliank: if you go by "ease of reading text"14:07
LocutusOfBorgmapreri, devscripts "seems" fixed14:07
LocutusOfBorgta14:07
juliankmaswan: Yes, code is fairly similar to text, so I'd assume they'd behave differently, but there was obviously only a study on the latter14:07
julianks/differently/similarly/14:08
infinitymaswan: A fair point.  And if those standards were written because of line-tracking/reading issues, "80 chars after the whitespace" would be a much saner rule.14:08
infinitymaswan: But, of course, they were written because of 80x24 VT terminals, not readability.14:09
infinityUltimately, I guess we can blame DEC.14:10
infinitySomehow.14:10
=== PaulW2U_ is now known as PaulW2U
dokojamespage: ceph has some installability issue in proposed15:26
xnoxcyphermox, https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-artful/artful/i386/n/nplan/20170725_021235_59459@/log.gz nplan seems to fail, looking at i386 history it is flaky. But i do wonder if util-linux affects NM on i386 in strange ways. As usually one or two retries does the trick.15:42
xnoxAssertionError: timed out waiting for NetworkManager to settle down15:43
xnoxand there are also15:44
xnoxError: Could not create NMClient object: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying15:44
xnoxis there a way to get the test pass, or troubleshoot what is going on. on i386.15:44
xnoxit is holding up util-linux at the moment.15:44
xnoxhttp://people.canonical.com/~ubuntu-archive/proposed-migration/update_excuses.html#util-linux15:44
jamespagedoko: yeah - needs a MIR of something - on my list for this week15:48
dokojamespage: needed for python3-defaults to migrate15:50
jamespagedoko: ok bumping priority15:50
infinityjamespage: Looks like it just needs cherryp3 to re-promote.  It was already MIRed in saucy.15:52
* infinity does that now.15:52
dokojamespage: it's not the last blocker, but thanks15:52
jamespageinfinity: yeah - I was just looking at that - thanks!15:52
=== Bluefoxicy_ is now known as Bluefoxicy
mapreriLocutusOfBorg: \o/16:11
maprerimwhudson: FWIW, diffoscope builds with today's binutils16:30
mapreriwell, once fixed the other thing, etc16:30
maprerigit is in a funky state atm, but will upload once things are cooled down....16:31
mapreri(I prefer to not branch out just for this, but of course I can do a number of things if suddenly a buildable diffoscope is needed urgently…)16:31
=== gusnan_ is now known as gusnan
xnoxC++ is aweful16:56
catbusHi, will 17.04 4.11 kernel be available in the 16.04 daily image before the 16.04.3 is released? Wondering if there is sort of a beta version to try.17:59
sarnoldcatbus: maybe this https://launchpad.net/ubuntu/+source/linux-hwe-edge ?18:01
=== fossfreedom_ is now known as fossfreedom
catbussarnold: I think I found what I am looking for: http://cdimage.ubuntu.com/ubuntu-server/xenial/daily/current/.18:07
sarnold/pool/main/l/linux-hwe/linux-image-4.10.0-28-generic_4.10.0-28.32~16.04.2_amd64.deb18:09
sarnoldwoot18:09
catbussarnold: Thanks. I was looking for the image, not just the hwe-kernel package.18:10
=== JanC_ is now known as JanC
=== bdmurray_ is now known as bdmurray
=== est31_ is now known as est
mwhudsonso why hasn't python3-defaults migrated today20:57
ricotzmwhudson, afaics there are some desktop-packages which need a python-nochange-rebuild: e.g. eog-plugins, gedit, gedit-plugins21:31

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