Saturday, 2019-08-03

*** mattw4 has quit IRC00:06
*** igordc has quit IRC00:28
*** jamesmcarthur has joined #zuul00:34
*** igordc has joined #zuul00:41
*** jamesmcarthur has quit IRC00:46
*** michael-beaver has quit IRC00:55
*** jamesmcarthur has joined #zuul01:11
*** jamesmcarthur has quit IRC01:35
*** logan- has quit IRC01:43
*** logan- has joined #zuul01:46
*** igordc has quit IRC01:50
*** mhu has quit IRC02:11
*** jamesmcarthur has joined #zuul02:34
*** rfolco|ruck has quit IRC03:06
*** michael-beaver has joined #zuul03:53
*** jamesmcarthur has quit IRC04:00
*** michael-beaver has quit IRC06:03
*** gtema has joined #zuul08:21
*** bjackman has joined #zuul08:34
*** gtema has quit IRC08:52
*** bjackman has quit IRC08:53
*** zxiiro has quit IRC09:44
*** mnaser has quit IRC09:44
*** guilhermesp has quit IRC09:44
*** iamweswilson has quit IRC09:44
*** clayg has quit IRC09:44
*** clayg has joined #zuul09:47
*** guilhermesp has joined #zuul09:47
*** zxiiro has joined #zuul09:48
*** mnaser has joined #zuul09:59
*** iamweswilson has joined #zuul10:00
*** bjackman has joined #zuul10:33
*** bjackman has quit IRC10:44
*** bjackman_ has joined #zuul10:44
*** bjackman_ has quit IRC10:48
*** bjackman has joined #zuul10:48
*** tosky has joined #zuul11:20
*** bjackman has quit IRC11:44
*** jhesketh has quit IRC14:06
*** altlogbot_0 has quit IRC14:48
*** altlogbot_1 has joined #zuul14:53
*** clarkb has quit IRC15:23
*** paladox has quit IRC15:24
*** paladox has joined #zuul15:28
*** clarkb has joined #zuul15:37
*** tosky has quit IRC15:43
*** paladox has quit IRC15:54
*** paladox has joined #zuul15:54
*** jamesmcarthur has joined #zuul16:01
*** jamesmcarthur has quit IRC16:06
*** yolanda has quit IRC17:22
fungigot a weird quandry...18:00
fungiin opendev we build debian-derivative distro package mirrors with reprepro, and because it generates its own package indices based on what packages it mirrored for a repository it doesn't generate a repository when the one it's been asked to mirror has no packages (that is to say the official mirrors are present but have empty indices, and so our mirror just doesn't get created at all)18:01
fungithis is presently happening with our debian buster-updates mirror. normally buster-updates would hold the files for debian stable point releases of buster, but because buster only released very recently there have been none yet18:02
fungii see that in the configure-mirrors role in zuul-jobs we unconditionally include the updates.list template: https://opendev.org/zuul/zuul-jobs/src/branch/master/roles/configure-mirrors/tasks/mirror/Debian.yaml#L1118:03
fungii'm trying to figure out what the cleanest way is to omit it for debian-buster images but not debian-stretch images18:04
fungi(i already exhausted possible options for forcing reprepro to create empty repository indices)18:04
fungishould that line just be wrapped in a conditional for a new role variable we can use to toggle it off for certain images?18:08
fungior turn that whole block into a parameterized list with supplied defaults?18:09
SpamapSfungi: you could make the conditional based on a check whether or not the source repo is empty.19:18
SpamapSwhen: repos[item].package_count > 019:19
SpamapSsomething like that19:19
fungihrm, except the repository isn't there on our mirrors at all because of reprepro not generating indices for packageless repositories19:19
fungiso apt update breaks19:19
fungiso it would need to be conditional on whether the official debian copy of buster-updates is still packageless19:20
fungiideally there would just be an option to force reprepro to create empty indices for a repository when there were no packages to mirror, but i've thus far been unable to figure out how to do that if it's even possible19:21
fungii guess it could be made conditional on attempting to fetch the url19:22
fungiso if this is a foo image and your mirror lacks foo-updates then don't include that template19:23
*** tosky has joined #zuul19:25
*** pcaruana has joined #zuul19:30
*** jamesmcarthur has joined #zuul19:46
*** jamesmcarthur has joined #zuul19:46
*** pcaruana has quit IRC20:14
*** jamesmcarthur has quit IRC20:51
*** jamesmcarthur has joined #zuul20:55
*** jamesmcarthur has quit IRC21:34
*** rfolco|ruck has joined #zuul22:23
*** jamesmcarthur has joined #zuul22:34
*** jamesmcarthur has quit IRC22:37
*** jamesmcarthur has joined #zuul22:41
*** saneax has joined #zuul22:44
*** jamesmcarthur has quit IRC22:57
corvusfungi: i *think* the new mirror_info structure i started on can accomodate that.  we haven't implemented a new version of config-mirrors based on it yet, but maybe that should be the first one.  https://zuul-ci.org/docs/zuul-jobs/mirror.html23:16
corvusfungi: if you have a sec to take a look at that data structure and see if it would let you express what you want, and if not, what's missing, that would be great23:16
*** saneax has quit IRC23:16
corvus(ie, maybe the 'components' attr there would cover it, or would we need something else?)23:17
*** tosky has quit IRC23:27
fungioh! right, i forgot you'd redesigned that23:33
fungii'll try and take a look tonight or tomorrow, that may be just the ticket23:33
*** jamesmcarthur has joined #zuul23:53

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