Friday, 2019-01-04

*** jamesmcarthur has quit IRC00:02
*** lbragstad has quit IRC00:59
*** lbragstad has joined #openstack-doc01:08
*** lbragstad has quit IRC01:09
*** tosky has quit IRC01:17
*** AJaeger has quit IRC01:23
*** AJaeger has joined #openstack-doc01:29
*** jamesmcarthur has joined #openstack-doc01:32
openstackgerritTakashi NATSUME proposed openstack/openstack-manuals master: Enable has_install_guide for the Placement project  https://review.openstack.org/62832402:21
*** jamesmcarthur has quit IRC03:21
*** jamesmcarthur has joined #openstack-doc03:24
*** jamesmcarthur has quit IRC03:31
*** jamesmcarthur has joined #openstack-doc04:00
*** jamesmcarthur has quit IRC04:47
*** jamesmcarthur has joined #openstack-doc04:47
*** diablo_rojo has quit IRC05:03
*** jamesmcarthur has quit IRC05:27
*** rcernin has quit IRC06:47
*** jamesmcarthur has joined #openstack-doc06:50
*** jamesmcarthur has quit IRC06:55
*** jawad_axd has joined #openstack-doc07:21
*** kopecmartin|off is now known as kopecmartin08:28
*** tosky has joined #openstack-doc08:47
*** pkovar has joined #openstack-doc13:07
eumel8pkovar: I reserved a room in Denver for one day13:58
pkovareumel8: thanks. was there an email about it somewhere?14:01
eumel8pkovar: yeah, today or last night14:01
eumel8time flies so better answer it now ;)14:02
*** lbragstad has joined #openstack-doc14:08
pkovartrue that14:14
openstackgerritColleen Murphy proposed openstack/openstack-manuals master: Update install guide for Rocky on SUSE  https://review.openstack.org/62844514:22
*** EmilienM is now known as EvilienM14:34
openstackgerritMerged openstack/openstack-manuals master: Update install guide for Rocky on SUSE  https://review.openstack.org/62844514:59
*** jawad_axd has quit IRC15:13
*** jawad_axd has joined #openstack-doc15:14
*** jawad_axd has quit IRC15:16
*** lbragstad has quit IRC15:36
*** EvilienM is now known as EmilienM15:37
*** lbragstad has joined #openstack-doc15:40
aspiersany jinja2 experts here?15:51
*** diablo_rojo has joined #openstack-doc16:00
*** jamesmcarthur has joined #openstack-doc16:07
aspiersnever mind, I figured it out16:36
aspiersAJaeger: I figured out how to make www-generator.py cache the expensive-to-fetch repo/project metadata16:36
aspiersAJaeger: I guess we don't want it to always use a cache, but it's super useful for saving time when hacking on this script16:37
aspiersAJaeger: maybe I'll add a --cache option for use when hacking16:37
aspiersdhellmann: I guess you might have an opinion on that too?16:38
aspiersI did it with https://pypi.org/project/percache/, which does mean another dependency in test-requirements.txt16:38
aspiersIf that's a problem I could make it optional16:38
openstackgerritweizj proposed openstack/os-api-ref master: Update hacking version to latest  https://review.openstack.org/62859316:42
*** pkovar has quit IRC16:45
dhellmannaspiers : what data are you caching?16:50
aspiersdhellmann: https://github.com/aspiers/openstack-manuals/commit/cache16:52
aspiersI didn't submit to Gerrit yet pending this discussion16:53
aspiersprobably needs to be optional16:53
aspiersand maybe with a non-predictable cache filename16:53
aspiersalthough I'm not sure symlink attacks necessary apply in this context :)16:54
dhellmannsee the note on line 439 (or 444, I'm not sure how to read the github diff)16:54
aspiersah yeah16:55
dhellmannwe already have a flag --skip-links or whatever; I anticipated adding a --governance flag that could point to the local repo or file16:55
dhellmannbut caching like this is probably ok, too16:56
dhellmannsimpler, eeven16:56
aspiers--governance sounds nice for sure16:56
dhellmannit would be good if it was easy to know (a) that a cache was written and (b) how to remove it16:56
dhellmannso maybe write to ./ instead of /tmp?16:56
aspierswell it's just a file, so yeah it's easy :)16:56
dhellmannand then .gitignore the file16:56
aspierssure, makes sense16:56
dhellmannand make the output name something like OS_GOVERNANCE_DATA_CACHE_DELETEME or something :-)16:56
aspiersI was thinking --project-cache or something16:56
dhellmannI'm  not sure there's a reason to make it optional16:57
aspiersi.e. opt-in, but yeah, opt-out-via-deletion might work too16:57
dhellmannthis is mostly run in the gate, and the cache will just be deleted there anyway16:57
aspiersit would be recreated from scratch in each CI environment16:57
aspiers... right :)16:57
dhellmannand locally it's nice to not have to think too much about it when running locally16:57
aspiersonly remaining potential objection is introducing the percache dependency16:58
dhellmannmeh16:58
aspiersok :)16:58
dhellmannthis repo doesn't need to deal with upper-constraints or the g-r list16:58
aspiersthat's what I thought16:58
aspiersbut I've never really touched this repo before so I thought I should check16:58
dhellmannsure, no worries16:59
aspiersOK, sounds like it's worth submitting then16:59
aspiersa future --governance could potentially disable the cache16:59
dhellmannsure, that makes sense17:04
openstackgerritAdam Spiers proposed openstack/openstack-manuals master: www-generator.py: cache expensive repo/project metadata to disk  https://review.openstack.org/62863617:11
*** kopecmartin is now known as kopecmartin|off17:58
*** tosky has quit IRC18:09
*** jamesmcarthur has quit IRC18:10
*** jamesmcarthur has joined #openstack-doc18:10
*** jamesmcarthur has quit IRC18:11
*** jamesmcarthur has joined #openstack-doc18:11
aspiersdhellmann: I'm struggling to understand this discussion https://review.openstack.org/#/c/585516/3/www/templates/deprecated_badge.tmpl@618:44
aspiersin what circumstances would it be "included externally"? I don't understand what "as it does on doctheme" means18:44
aspiersunfortunately it is (as predicted) making it hard for me to test changes to this CSS18:45
*** jamesmcarthur has quit IRC18:46
aspiersah, smarcet is in #openstack-infra18:46
aspiersmaybe he can answer18:46
*** jamesmcarthur has joined #openstack-doc18:47
*** jamesmcarthur has quit IRC18:51
*** jamesmcarthur has joined #openstack-doc18:55
aspiersnever mind, figured it out myself19:01
*** jamesmcarthur has quit IRC19:11
openstackgerritAdam Spiers proposed openstack/openstack-manuals master: Provide links from latest pages to released equivalents  https://review.openstack.org/62807219:12
*** jamesmcarthur has joined #openstack-doc19:17
openstackgerritAdam Spiers proposed openstack/openstack-manuals master: Provide dropdown menu which allows switching doc release  https://review.openstack.org/62807219:23
*** jamesmcarthur has quit IRC19:43
*** jamesmcarthur has joined #openstack-doc19:43
*** jamesmcarthur has quit IRC19:46
*** jamesmcarthur has joined #openstack-doc19:47
*** jamesmcarthur has quit IRC19:52
dhellmannaspiers : I think the issue is that a page like https://docs.o.o/nova/old_release/something.html includes that deprecated_badge.tmpl file when the page is loaded through some jiggery-pokery that the openstackdocstheme does. If the CSS path is wrong, the badge doesn't work properly.20:36
dhellmannI didn't build any of that, though, so I'm not sure how it actually works20:37
dhellmann:-/20:37
aspiersdhellmann: yeah, I found it in https://github.com/openstack/openstackdocstheme/blob/a0684ace5e49ef935bd314928dc1acde3da6e11a/openstackdocstheme/theme/openstackdocs/layout.html#L10723:26
aspiersso I guess it would load relative/path/to/some.css as relative to https://docs.openstack.org/{{ series }}/badge.html23:28
aspiersbut actually that would be correct, so I don't see the problem ...23:35
aspiersI'm also confused why www/latest/badge.html doesn't just include the template like all the others23:37
*** openstack has joined #openstack-doc23:46
*** ChanServ sets mode: +o openstack23:46

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