Thursday, 2016-01-21

kfox1111cool.00:15
kfox1111hmm.... I was considering it a cache... but the assets stuff is already a cache... so I could just move the code inside the other conditional...00:20
openstackgerritKevin Fox proposed openstack/app-catalog: Derive asset last modified date/time from git logs  https://review.openstack.org/26708700:28
docaedoI was about to ask what you mean but now I get it :)00:28
openstackgerritKevin Fox proposed openstack/app-catalog: Derive asset last modified date/time from git logs  https://review.openstack.org/26708700:29
kfox1111missed a pep8 thing. :/00:29
kfox1111that one should do it I think.00:29
kfox1111I probably shouldn't do any more braining today... its not working so good anymore. :/00:29
docaedohaha00:30
docaedoI like that last one, except for that missing blank line (srsly, you need TWO blanks there!)00:30
docaedobut agree this one makes the most sense since we would want that info updated each time the assets json is created00:30
docaedothen once a day we can check for dead links, which will probably result in VERY few PRs from proposal_bot00:31
docaedobut you should kick back and relax, braining overload is good for no one!00:31
kfox1111nice. Will be happy not to have to review spurrious PR's. :)00:33
*** tej has joined #openstack-app-catalog00:33
kfox1111heh. too much work not to work. at the moment. :/00:33
kfox1111oh. I think I can simplify the update_assets.sh a tad more.00:34
openstackgerritKevin Fox proposed openstack/app-catalog: Derive asset last modified date/time from git logs  https://review.openstack.org/26708700:35
kfox1111There we go.00:35
kfox1111I added a few comments to the crazy shell script just to make it a bit easier to read.00:36
docaedonice, that one took me a while to tear apart00:36
kfox1111for the assets_dead.yaml, you can touch the file in the if conditional, and then always merge it in I think?00:36
kfox1111then the dead link checker can just write into it.00:36
kfox1111oh. or is that going into git?00:37
docaedoyeah I want it in git so it only runs sometimes (but continues to run if the repo isn't touched for days or weeks), but also has human approval00:38
kfox1111ah. k.00:38
docaedoI fear that edge case of it checking links when thier hosting provider is under a DDoS and deciding everything in the catalog is unreachable :)00:38
docaedoor some other scenario where it's just plain wrong and wants to junk the catalog00:38
kfox1111thats a good point.00:40
kfox1111could add a quick check in the link checker too. if it wants to mark more then x assets as offline in a given pass, dont and email or something?00:40
kfox1111though if its gerrit reviewing, probably ok without.00:41
docaedoI was thinking about that but figured rather than try to wrap up a bunch of logic, we can just keep an eye on it via review - yeah00:41
docaedohonestly if proposal_bot becomes a burdon and does crazy stuff all the time, we stop that periodic job00:41
docaedobut I think it will run once, find the two dead links (AeroFS and .. something else I forgot), and probably won't propose anything else :)00:42
docaedothanks for circling back, I'll review tonight00:43
kfox1111one more thing...00:43
kfox1111we're doing the merges with yaml, but I'm not really tied to it...00:43
kfox1111if your putting stuff in gerrit, ordering would be useful again for reviews,00:44
kfox1111and its way easier to do a json.dumps(j, indent=4, sort_keys=True)00:44
kfox1111then try and get the order consistent with yaml.00:44
docaedoyes and no - TBH if the number of dead links found creeps really high, something else is wrong. Normally it should find a dead link, and we chase it down - fix or remove - then it's gone. so assets_dead.yaml shouldn't be a big file ever00:45
kfox1111so if you want to switch it over to json instead to save a bunch of code, thats cool with me.00:45
docaedobut yeah, yaml vs. json doesn't really matter to me00:45
kfox1111yeah. agreed. just thinking it will be more obvious when you remove a single line, or adding a new line, and the whole file doesn't change. but true. the whole file is probably easily person parsable at a glance anyway.00:46
docaedoI'm looking forward to making the "recently added apps" more dynamic, this will be a nice change.00:49
docaedostepping out now but will be back later, hopefully you're not working too late making all the things HA!00:49
kfox1111have a good one. :)00:50
docaedoyou too00:50
*** tej has quit IRC01:14
*** kebray has joined #openstack-app-catalog01:15
*** ativelkov has quit IRC01:40
*** ativelkov has joined #openstack-app-catalog01:40
*** kebray has quit IRC02:14
*** tej has joined #openstack-app-catalog02:15
*** tej has quit IRC02:19
openstackgerritMerged openstack/app-catalog: Derive asset last modified date/time from git logs  https://review.openstack.org/26708702:37
openstackgerritChristopher Aedo proposed openstack/app-catalog: Include assets_dead.yaml in asset merge  https://review.openstack.org/27057902:46
*** tej has joined #openstack-app-catalog04:16
*** tej has quit IRC04:22
*** rhagarty_ has quit IRC04:24
*** rhagarty_ has joined #openstack-app-catalog04:24
*** tej has joined #openstack-app-catalog05:19
*** tej has quit IRC05:24
*** tej has joined #openstack-app-catalog06:20
*** tej has quit IRC06:24
*** tej has joined #openstack-app-catalog08:21
*** tej has quit IRC08:25
*** tej has joined #openstack-app-catalog09:22
*** tej has quit IRC09:26
*** openstackgerrit has quit IRC10:02
*** openstackgerrit has joined #openstack-app-catalog10:03
*** tej has joined #openstack-app-catalog10:23
*** tej has quit IRC10:28
*** kzaitsev_mb has joined #openstack-app-catalog10:35
*** kzaitsev_mb has quit IRC11:14
*** kzaitsev_mb has joined #openstack-app-catalog11:19
*** tej has joined #openstack-app-catalog11:24
*** tej has quit IRC11:28
*** kzaitsev_mb has quit IRC11:34
*** tej has joined #openstack-app-catalog12:24
*** kzaitsev_mb has joined #openstack-app-catalog12:25
*** tej has quit IRC12:29
*** tej has joined #openstack-app-catalog13:25
*** tej has quit IRC13:25
*** tej has joined #openstack-app-catalog13:26
*** kzaitsev_mb has quit IRC13:38
*** kzaitsev1ws is now known as kzaitsev_ws13:41
*** tej has quit IRC13:54
*** tej has joined #openstack-app-catalog13:54
*** tej has quit IRC13:59
*** tej has joined #openstack-app-catalog14:43
*** kebray has joined #openstack-app-catalog15:54
*** rmoe has quit IRC16:02
*** rmoe has joined #openstack-app-catalog16:03
*** spzala has joined #openstack-app-catalog16:14
spzaladocaedo: Hi, gm.16:15
docaedospzala: morning!16:23
docaedospzala: will you be able to make the meeting in about half an hour?16:23
spzaladocaedo: for today's meeting I need to leave early for another meeting but hopefully we can cover TOSCA in first half of the meeting.16:23
docaedosure, we'll do that first up16:23
spzaladocedo: :-) you read my mind.. half an hour is perfect16:24
spzalaThanks!!16:24
docaedono prob!16:24
*** kebray has quit IRC16:35
spzalais meeting not yet started?17:01
spzalawell, we are there now :)17:02
*** kzaitsev_mb has joined #openstack-app-catalog17:02
*** tej has quit IRC17:13
*** tej has joined #openstack-app-catalog17:13
*** tej has quit IRC17:17
*** spzala has quit IRC17:22
*** spzala has joined #openstack-app-catalog17:22
*** spzala_ has joined #openstack-app-catalog17:23
*** spzala has quit IRC17:27
*** spzala_ has quit IRC17:28
*** tej has joined #openstack-app-catalog17:29
*** kzaitsev_mb has quit IRC17:51
*** kebray has joined #openstack-app-catalog18:20
*** kzaitsev_mb has joined #openstack-app-catalog18:43
*** tej has quit IRC19:01
*** tej has joined #openstack-app-catalog19:02
*** tej has quit IRC19:02
*** tej has joined #openstack-app-catalog19:02
*** kebray has quit IRC19:31
*** spzala has joined #openstack-app-catalog19:35
*** kebray has joined #openstack-app-catalog20:07
*** kebray has quit IRC20:32
*** kzaitsev_mb has quit IRC20:33
*** kzaitsev_mb has joined #openstack-app-catalog20:43
*** tej has quit IRC21:01
*** tej has joined #openstack-app-catalog21:02
*** tej has quit IRC21:06
*** spzala has quit IRC21:18
*** spzala has joined #openstack-app-catalog21:18
*** spzala_ has joined #openstack-app-catalog21:22
*** spzala_ has quit IRC21:24
*** spzala_ has joined #openstack-app-catalog21:24
*** spzala has quit IRC21:24
*** spzala_ has quit IRC21:26
*** kebray has joined #openstack-app-catalog21:46
*** kebray has quit IRC22:38
*** tej has joined #openstack-app-catalog23:18
*** tej has quit IRC23:21
*** tej has joined #openstack-app-catalog23:21
*** tej has quit IRC23:28
*** tej has joined #openstack-app-catalog23:29
*** tej has quit IRC23:33
*** spzala has joined #openstack-app-catalog23:47
*** spzala has quit IRC23:51
*** kzaitsev_mb has quit IRC23:54
*** spzala has joined #openstack-app-catalog23:56

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