*** zoli__ has quit IRC | 00:32 | |
*** zoli__ has joined #baserock | 02:01 | |
*** zoli__ has quit IRC | 02:06 | |
*** zoli__ has joined #baserock | 06:11 | |
*** persia_ has quit IRC | 06:29 | |
*** persia has quit IRC | 06:29 | |
*** persia has joined #baserock | 06:30 | |
*** persia has quit IRC | 06:30 | |
*** persia has joined #baserock | 06:30 | |
*** persia_ has joined #baserock | 06:30 | |
*** persia_ has joined #baserock | 06:30 | |
*** rdale has joined #baserock | 07:01 | |
*** mariaderidder has joined #baserock | 07:13 | |
*** paulw has joined #baserock | 07:38 | |
*** bashrc has joined #baserock | 08:04 | |
*** mike has joined #baserock | 08:17 | |
*** mike is now known as Guest10243 | 08:17 | |
perryl | augh, i've just realised why setting the class to an object and running it wasn't working. i was calling `class.function()` instead of `class().function()` *headdesk* | 08:20 |
---|---|---|
paulsherwood | perryl: gotta love programming :) | 08:21 |
* perryl requests a tattoo gun to ink the sentence "REMEMBER YOUR PARENTHESES" on her face :) | 08:21 | |
Kinnison | I have a sharpie | 08:21 |
paulsherwood | perryl: -1 :) | 08:22 |
perryl | :D | 08:22 |
persia | perryl: You may find that programming in lisp for a bit helps build the muscle memory for pressing ( and ). | 08:23 |
bashrc | perryl: does this mean you don't have rainbow parentheses? | 08:23 |
perryl | i don't think rainbow parentheses would help if i forget an opening brace :( | 08:24 |
bashrc | :) | 08:24 |
perryl | i wonder if this is the python equivalent of forgetting a semicolon... | 08:24 |
*** ctgriffiths has quit IRC | 08:49 | |
ratmice___ | peculiar, it seems its much easier to write backwards on your forehead standing in front of a mirror than it is to write backwards onto a piece of paper | 08:49 |
*** ctgriffiths has joined #baserock | 08:50 | |
Kinnison | ratmice___: what's fun, is that I believe wholeheartedly you just went to try | 08:50 |
*** ssam2 has joined #baserock | 08:55 | |
*** ChanServ sets mode: +v ssam2 | 08:55 | |
ratmice___ | I figured, being covered in paint and all it wouldn't hurt, painting the house :( | 08:57 |
Kinnison | hehe | 08:58 |
ratmice___ | ahh, faulty test... you just have to write on the side of the paper facing away from you | 09:04 |
*** lachlanmackenzie has joined #baserock | 09:10 | |
SotK | perryl: nah, that's accidentally mixing tabs and spaces | 09:23 |
*** CTtpollard has quit IRC | 09:26 | |
*** CTtpollard has joined #baserock | 09:29 | |
*** rdale has quit IRC | 10:10 | |
*** rdale has joined #baserock | 10:11 | |
paulsherwood | perryl: not sure if it helps, but i did a bit more work on the ybd poc server... still didn't get it all working though. it's pushed to master | 10:19 |
paulsherwood | this was my attempt to change to post rather than put, and have directories for atomicity as discussed with kinnison | 10:19 |
perryl | paulsherwood: thanks, i'll take a look! | 10:19 |
paulsherwood | i think it would be better to base off m-c-s, since that probably has more real-world thinking embodied in it | 10:20 |
paulsherwood | perryl: you're welcome. i'm doing my best to save you from the tattoo needle :) | 10:21 |
perryl | hahah at the moment my issue has moved from parentheses to "global name is not defined" :( | 10:24 |
paulsherwood | can anyone here comment on how our gerrit users/roles are setup, please? | 10:36 |
paulsherwood | do we differentiate between contributors, developers, integrators, progject owners, admin (as described for example at https://git.automotivelinux.org/gerrit/Documentation/access-control.html#example_roles) seems a bit complex | 10:37 |
* paulsherwood discovers https://gerrit.baserock.org/#/admin/groups/ | 10:41 | |
ssam2 | paulsherwood: the relevant bits of infrastructure.git are: | 10:43 |
ssam2 | http://git.baserock.org/cgi-bin/cgit.cgi/baserock/baserock/infrastructure.git/tree/baserock_gerrit/gerrit-access-config.yml | 10:43 |
ssam2 | and http://git.baserock.org/cgi-bin/cgit.cgi/baserock/baserock/infrastructure.git/tree/baserock_gerrit/All-Projects/project.config | 10:43 |
ssam2 | that page on Gerrit you linked to is probably a better place to look though | 10:44 |
ssam2 | there can be hidden groups that only show up to admins, but I intended them all to be visible and I think they are | 10:45 |
ssam2 | they are | 10:45 |
paulsherwood | ssam2: thanks! | 10:54 |
paulsherwood | perryl: do you have a working instance of your server anywhere that i could try out? | 10:54 |
paulsherwood | (i mean https://github.com/perryl/ybd/commit/199fbad27cf78f9b6df0ad7ec8bb5a1f4c5c10cc) | 10:54 |
perryl | paulsherwood: i've got nothing set up with architecture; only the test runs | 10:55 |
* paulsherwood doesn't quite understand that | 10:55 | |
paulsherwood | have you hammered it? :) | 10:56 |
paulsherwood | and if so, what with? ybd? morph? both? | 10:56 |
perryl | i'm not sure what you mean by 'hammered' | 10:56 |
paulsherwood | tested thoroughly | 10:56 |
Kinnison | hammering typically implies load-testing | 10:58 |
perryl | ahh; i''ve not tried that yet | 10:58 |
perryl | i asked about setting up a cache server and was told to run `python ./cache-server --no-fcgi-server` | 10:59 |
paulsherwood | perryl: ok, but it may be worth loading it on a physical server somewhere and causing multiple builds to access it. not sure if you can easily do that on your devel machine? | 11:01 |
paulsherwood | in any case i think this is an important change, and ideally would be of interest for baserock as a whole, not just ybd | 11:01 |
paulsherwood | so maybe it would make sense to discuss it on the list? | 11:02 |
paulsherwood | i'm happy to go this way with it becoming part of ybd, but maybe it would be better as a separate cache server project in its own right? | 11:02 |
perryl | paulsherwood: indeed; if it can be modified to work with ybd and morph it should be relatively simple to extend to other uses | 11:03 |
perryl | i'll send an email to the list; in the meantime are there any instructions for setting up a cache server anywhere? | 11:03 |
paulsherwood | good question :) | 11:03 |
Kinnison | Given cache servers were always part of trove, I doubt it | 11:04 |
paulsherwood | perryl: probably best to look in the trove definitions | 11:04 |
paulsherwood | perryl: does it cache repos as well? it imports RepoCache | 11:05 |
SotK | trove-setup.git contains the systemd units and lighttpd config for morph-cache-server | 11:05 |
paulsherwood | thanks SotK :) | 11:06 |
perryl | SotK: thanks, i'll take a look | 11:06 |
perryl | paulsherwood: i can remove repo caching if it's not required | 11:06 |
SotK | +1 from me for a separate cache server project fwiw | 11:07 |
paulsherwood | i don't think this should cache repos | 11:08 |
perryl | no worries! i'll remove repo caching in that case | 11:09 |
paulsherwood | great, thanks! :) | 11:10 |
paulsherwood | perryl: maybe ask on the list if folks would prefer a separated cache-server project to be a baserock/baserock/ project on g.b.o, or not? | 11:12 |
perryl | paulsherwood: sure thing, i'll get on that after lunch :) | 11:13 |
paulsherwood | heh | 11:13 |
paulsherwood | ssam2: i notice elsewhere you've been looking at ruamel. does it really allow roundtripping of yaml? i remember we got into a knot in morph with that | 11:14 |
ssam2 | paulsherwood: it's not at all perfect, but I hope it will be good enough | 11:19 |
ssam2 | if we want to automatically migrate .morph files, I think it's the best option | 11:20 |
ssam2 | the alternative is... targetted 'sed' scripts, I guess? but that has quite severe limitations | 11:20 |
paulsherwood | +1 for staying in python if we can | 11:20 |
ssam2 | here's an example of the roundtrip for all of definitions: http://git.baserock.org/cgi-bin/cgit.cgi/baserock/baserock/definitions.git/commit/?h=sam/ruamel-patch-1 | 11:21 |
paulsherwood | sed is very powerful, but would be a complete mess | 11:21 |
ssam2 | this is with a patch I'm working on to preserve blank lines (which has added some spurious blank lines, too) | 11:21 |
ssam2 | most of the changes seem to be because ruamel.yaml doesn't preserve indent. But i'm hoping everyone will be OK with having a consistent level of indent throughout definitions | 11:22 |
ssam2 | I went to fix a bug in ruamel.yaml that was producing spurious blank lines, but discovered the spurious blank lines are actually in the input .morph files | 11:37 |
*** paulw has quit IRC | 11:37 | |
*** rdale has quit IRC | 11:59 | |
*** rdale has joined #baserock | 12:03 | |
*** cosm has joined #baserock | 12:08 | |
*** paulw has joined #baserock | 12:11 | |
17SAC2BTE | -- ./configure --with-nss --prefix="$PREFIX" --sysconfdir=/etc --without-fuse --without-libatomic-ops --without-libxfs | 12:25 |
17SAC2BTE | +- ./configure --with-nss --prefix="$PREFIX" --sysconfdir=/etc --without-fuse --without-libatomic-ops | 12:25 |
17SAC2BTE | + --without-libxfs | 12:25 |
*** 17SAC2BTE is now known as tiagogoems | 12:26 | |
*** tiagogoems has quit IRC | 12:27 | |
*** tiagogomes has joined #baserock | 12:27 | |
tiagogomes | that doesn't look correct | 12:28 |
*** fay_ has quit IRC | 12:30 | |
*** fay_ has joined #baserock | 12:45 | |
*** cosm has quit IRC | 12:52 | |
ssam2 | in the example migrated definitions I linked to? you might be right | 12:56 |
paulsherwood | it wraps lots of things, i notice | 12:57 |
ssam2 | according to YAML spec it's correct: http://www.yaml.org/spec/1.2/spec.html#id2779048 | 12:57 |
ssam2 | lines can be broken like that and will be folded back together when read | 12:58 |
paulsherwood | ok :) | 12:58 |
ssam2 | paulsherwood: yes, it line wraps to a specific width | 12:58 |
ssam2 | but if you set a longer width, it *un wraps* things | 12:58 |
ssam2 | which is annoying | 12:58 |
ssam2 | but at the moment definitions are inconstently line wrapped, which is also annoying, at least to me :) | 12:59 |
*** paulw has quit IRC | 13:20 | |
*** paulw has joined #baserock | 13:23 | |
straycat | hello again | 13:30 |
paulsherwood | hi! | 13:32 |
straycat | ssam2, i have some time to kill waiting for a build and figured it'd be useful to tie up the docbook-xml loose end, can we merge https://gerrit.baserock.org/#/c/964/ and update lorry on git.baserock.org now? | 13:32 |
straycat | paulsherwood, hi! | 13:32 |
straycat | fwiw, i've been running that change on my trove without incident | 13:33 |
paulsherwood | straycat: looks good to me, and given you've tested it i've merged | 13:34 |
paulsherwood | straycat: out of interest, how much time/effort did it take you to spin up your own trove? | 13:35 |
*** paulw has quit IRC | 13:35 | |
paulsherwood | and are you running it on a cloud somewhere, or? | 13:35 |
*** paulw has joined #baserock | 13:35 | |
* paulsherwood has been meaning to re-establish his own trove for a long time | 13:36 | |
straycat | it's just a libvirt vm, about 10 minutes or so i think | 13:36 |
paulsherwood | plus the sync time :) | 13:36 |
ssam2 | fine to update lorry, but please make a patch for definitions.git to actually update lorry in definitions too | 13:37 |
straycat | oh i left that overnight :) | 13:37 |
ssam2 | otherwise it'll be de-updated again next time g.b.o is updated | 13:37 |
paulsherwood | good point | 13:37 |
straycat | ssam2, okay will do, do you want to do the update or shall i? on my trove i was pretty lazy and just reran lorry's setup.py, for gbo i think we could just copy the new tar-importer in place | 13:40 |
straycat | oh, except no we want zip support as well | 13:40 |
ssam2 | please do it if you're happy to | 13:40 |
ssam2 | copying the bits into place is fine by me for something as simple as lorry | 13:41 |
straycat | yes, lorry, lorry.zip-importer and lorry.tar-importer should be enough | 13:43 |
ssam2 | I guess 'setup.py install' should work | 13:44 |
straycat | you'd think so but actually i just noticed that i failed to update the setup.py when i added the zip-importer, so that will need to be done first | 13:46 |
ssam2 | good catch | 13:51 |
straycat | https://gerrit.baserock.org/#/c/968/ fixes that, on second thoughts there are some gitano fixes in flight to fix a bug that's somehow not been noticed, perhaps we should wait for that to land then do a proper upgrade, i'd hate to break gbo just because i'm being impatient, we could always create baserock/baserock/docbook-xml to get perl 5.22? | 14:10 |
ssam2 | upgrades are cheap | 14:11 |
ssam2 | i'll try doing the lorry upgrade if you want | 14:12 |
straycat | okay | 14:15 |
ssam2 | would you mind doing a patch to update lorry in definitions.git though? | 14:16 |
straycat | ahh you already merged it, sure :) | 14:17 |
straycat | lorry update: https://gerrit.baserock.org/969 | 14:24 |
ssam2 | thanks | 14:32 |
*** ssam2 has quit IRC | 14:34 | |
*** ssam2 has joined #baserock | 14:35 | |
*** ChanServ sets mode: +v ssam2 | 14:35 | |
*** paulw has quit IRC | 15:34 | |
*** paulw has joined #baserock | 15:35 | |
straycat | does anyone know we go to some effort to put all perl stuff into /usr/lib/perl rather than default site and vendor dirs, we override in 2 places to do this, firstly in the perl chunk morph and secondly in morphlib/buildsystems.py, i have https://bitbucket.org/richardipsum/definitions/commits/97e5b243a46cf8cb39864ecf27545a5b5c6f5051 to setup a more typical installation, but would also probably want to modify http://git.baserock.org/cgi-bin/cgit.cgi | 15:39 |
straycat | *know why | 15:39 |
*** mariaderidder has quit IRC | 15:43 | |
ssam2 | straycat: i don't know about perl at all, but what do you think to this? https://gerrit.baserock.org/#/c/971/ | 15:44 |
ssam2 | I also created https://storyboard.baserock.org/#!/story/53 | 15:45 |
ssam2 | i've updated lorry on g.b.o, by the way | 15:49 |
ssam2 | have also rotated the database of Lorry log information, as it was 2.9GB and lorry-controller was continually at 200% CPU | 15:51 |
persia | straycat: Might the perl redirection be a habit we inherited from Debian under the impression it was best practice? | 16:03 |
* persia doesn't know the history, but does know that some of the early work in reference systems was modeled after Debian, and that some of the early engineers were comfortable in a Debian environment. | 16:04 | |
*** Guest10243 has quit IRC | 16:04 | |
straycat | Not sure, this doesn't seem to come from Debian, I have modules in /usr/lib/x86_64-linux-gnu/perl5/5.20/ there | 16:07 |
Kinnison | Debian's all multiarch remember | 16:07 |
*** paulw has quit IRC | 16:08 | |
straycat | sure without multiarch it'd be /usr/lib/perl5/5.20 which seems to be the default layout | 16:08 |
Kinnison | aye | 16:09 |
straycat | i'll continue with the default then and modify buildsystem.py to suit, see how that goes | 16:10 |
* persia finds stuff under both /usr/bin/perl5/ and /usr/bin/perl/, but may not be running a recent release | 16:13 | |
*** Guest10243 has joined #baserock | 16:18 | |
paulsherwood | straycat, ssam2 - am i missing something from the ml discussion about perryl's proposed cache server? i understood that m-c-s is no longer a separate thing (integrated into morph) but your comments seem to suggest that's not true? | 16:44 |
ssam2 | paulsherwood: the two source files which make it up were moved into morph.git | 16:46 |
ssam2 | nothing more was done, so to 'de-integrate' it we simply need to put those files in some other repo | 16:47 |
paulsherwood | right. so this is about establishing a generic cache server, as opposed to needing morph? | 16:47 |
ssam2 | yes | 16:47 |
paulsherwood | i thought that's what perryl has done... | 16:47 |
ssam2 | I haven't seen what perryl has done, I got the impression she was waiting to find out where to push it before pushing it | 16:47 |
ssam2 | I don't think the email she sent linked to any code | 16:47 |
paulsherwood | oops... i missed that, because i'd seen the code | 16:48 |
paulsherwood | perryl: need to show the code, or we get all confused | 16:49 |
* paulsherwood apologises to ssam2 and straycat for crossed wires | 16:49 | |
*** Guest10243 has quit IRC | 16:57 | |
ssam2 | apologies for sending mail to baserock-dev-owner@baserock.org, my mail is doing really silly autocompletion for some reason | 17:05 |
*** bashrc has quit IRC | 17:08 | |
*** ssam2 has quit IRC | 17:08 | |
*** Guest10243 has joined #baserock | 17:10 | |
*** lachlanmackenzie has quit IRC | 17:33 | |
*** paulw has joined #baserock | 17:36 | |
*** paulw has quit IRC | 17:45 | |
*** mdunford has quit IRC | 17:48 | |
*** Guest10243 has quit IRC | 17:58 | |
*** brlogger` has joined #baserock | 18:22 | |
*** pdar_ has joined #baserock | 18:25 | |
*** persia_ has quit IRC | 18:30 | |
*** pdar has quit IRC | 18:30 | |
*** brlogger has quit IRC | 18:30 | |
*** zoli__ has quit IRC | 18:31 | |
*** _longines has joined #baserock | 19:26 | |
*** _longines has joined #baserock | 19:28 | |
*** zoli__ has joined #baserock | 21:06 | |
*** zoli___ has joined #baserock | 21:13 | |
*** zoli__ has quit IRC | 21:16 | |
*** zoli___ has quit IRC | 23:00 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!