16:17 PM
lucifer
for first we need sql.Identifier, other two sql.SQL probably.
2022-06-07 15837, 2022
16:17 PM
alastairp
and because copy_expert quotes everything, it's trying to quote the function calls and then not finding a "column" with that name?
2022-06-07 15843, 2022
16:17 PM
lucifer
yes
2022-06-07 15803, 2022
16:18 PM
alastairp
and if we actually make a specific type, it'll do the right thing?
2022-06-07 15821, 2022
16:18 PM
lucifer
we can either change the str to correct type in the definition dicts linked above. or add an if/else for in the list comprehension in the code linked above
2022-06-07 15822, 2022
16:18 PM
lucifer
yes
2022-06-07 15848, 2022
16:18 PM
alastairp
that seems nice. what's the other option? disable quoting in this case, knowing that the first 4 are valid column names that we control?
2022-06-07 15809, 2022
16:19 PM
lucifer
yup skip all quoting
2022-06-07 15802, 2022
16:20 PM
alastairp
the first option sounds a bit better. can we do sql.Identifier(col) if col is a string, otherwise copy it as defined in the dict?
2022-06-07 15830, 2022
16:21 PM
lucifer
yes that's possible.
2022-06-07 15853, 2022
16:21 PM
lucifer
but since its one time thing i don't mind specifying all columns as identifier as needed.
2022-06-07 15805, 2022
16:23 PM
alastairp
and do we also use sql.Identifier in the import?
2022-06-07 15809, 2022
16:23 PM
yvanzo
Thanks alastairp!
2022-06-07 15828, 2022
16:23 PM
alastairp
np. thanks for valuing my input :)
2022-06-07 15854, 2022
16:23 PM
yvanzo
2022-06-07 15858, 2022
16:23 PM
lucifer
i changed the imports so that we only have to write Identifier and not sql.Identifier
2022-06-07 15828, 2022
16:25 PM
alastairp
I'm not a huge fan of adding `Identifier` to all 200 definition lines, but I'm not hugely worried either way. If you think it's easier to follow by adding it to all column definitions then that sounds fine
2022-06-07 15800, 2022
16:26 PM
yvanzo
(fixed a broken link)
2022-06-07 15801, 2022
16:27 PM
yvanzo
bitmap, lucifer: Even though the guidelines are not just about documentation but also implementation, a first step would be to simply document current deviations from the recommended implementation.
2022-06-07 15846, 2022
16:41 PM
skelly37 joined the channel
2022-06-07 15844, 2022
16:43 PM
lucifer
alastairp: makes sense
2022-06-07 15800, 2022
16:44 PM
lucifer
yvanzo: thanks, yes makes sense to do that.
2022-06-07 15838, 2022
16:44 PM
lucifer
alastairp: any other PRs to merge for CB release?
2022-06-07 15800, 2022
16:45 PM
alastairp
lucifer: one sec, just opening one now ;-)
2022-06-07 15807, 2022
16:45 PM
lucifer
ah cool
2022-06-07 15827, 2022
16:45 PM
BrainzGit
2022-06-07 15829, 2022
16:48 PM
BrainzGit
2022-06-07 15850, 2022
16:48 PM
alastairp
lucifer: would be great to get that one in. tests are passing for me, but we can also release to beta and try some invalid params
2022-06-07 15820, 2022
16:51 PM
lucifer
alastairp: beta first sounds good.
2022-06-07 15827, 2022
17:05 PM
reosarevok
2022-06-07 15851, 2022
17:05 PM
reosarevok
On checking it again, it kinda seems that either the beta command should be moved to syswiki, or the "Deploy webservice and website" bit of syswiki to RELEASING
2022-06-07 15826, 2022
17:06 PM
reosarevok
Releasing updated beta
2022-06-07 15835, 2022
17:08 PM
BrainzGit
2022-06-07 15857, 2022
17:12 PM
BrainzGit
2022-06-07 15835, 2022
17:22 PM
reosarevok
Releasing prod
2022-06-07 15845, 2022
17:23 PM
alastairp
lucifer: beta updated
2022-06-07 15854, 2022
17:23 PM
alastairp
2022-06-07 15859, 2022
17:23 PM
lucifer
LB prod updated
2022-06-07 15833, 2022
17:24 PM
lucifer
looks good, alastairp!
2022-06-07 15851, 2022
17:24 PM
alastairp
2022-06-07 15854, 2022
17:24 PM
alastairp
and that seems to be fine
2022-06-07 15818, 2022
17:25 PM
alastairp
curl dump headers shows `location: /release-group/a106e33b-e440-3ff3-9250-c6408ed73e60` (location now relative to the current host)
2022-06-07 15845, 2022
17:25 PM
lucifer
makes sense
2022-06-07 15849, 2022
17:25 PM
yvanzo
reosarevok: Yes, especially the notes. But if more details have to be added about hosts and containers, it can be added to syswiki instead.
2022-06-07 15813, 2022
17:26 PM
alastairp
cool, I'll go ahead with prod release then
2022-06-07 15822, 2022
17:26 PM
lucifer
great, thanks!
2022-06-07 15853, 2022
17:26 PM
BrainzGit
2022-06-07 15827, 2022
17:27 PM
lucifer
i'll put the flask update PR for LB on beta for now. it seems ready so we can try to release that tommorrow
2022-06-07 15810, 2022
17:28 PM
alastairp
I'll keep an eye on CB cron dumps tomorrow, so we can check if they're working
2022-06-07 15821, 2022
17:28 PM
lucifer
sounds good
2022-06-07 15853, 2022
17:28 PM
alastairp
something seems a bit funny with docker caching on github actions, I've had to build this image 3 times this evening
2022-06-07 15840, 2022
17:29 PM
lucifer
oh, do we not have a critiqubrainz/cache image setup?
2022-06-07 15813, 2022
17:30 PM
alastairp
I thought we did
2022-06-07 15841, 2022
17:30 PM
lucifer
2022-06-07 15841, 2022
17:30 PM
alastairp
2022-06-07 15806, 2022
17:31 PM
alastairp
oh right
2022-06-07 15830, 2022
17:31 PM
alastairp
oh, is this different to satackey/action-docker-layer-caching ?
2022-06-07 15826, 2022
17:32 PM
lucifer
yes
2022-06-07 15848, 2022
17:32 PM
alastairp
right, that'll be the reason then (as we have the base python image upgrade, so everything is invalidated)
2022-06-07 15810, 2022
17:33 PM
lucifer
this metabrainz/critiquebrainz:cache is a docker buildx cache in docker hub. that other action caches image layers in actions cache.
2022-06-07 15831, 2022
17:33 PM
lucifer
yup, plus tests/dev uses separate dockerfile
2022-06-07 15842, 2022
17:33 PM
alastairp
yeah right. my recollection was that we used the satackey one for both caches, but I was wrong
2022-06-07 15851, 2022
17:33 PM
alastairp
oh yeah, I still have an open ticket for that :)
2022-06-07 15838, 2022
17:34 PM
lucifer
we used to have that. but the satackey caches often get invalidated by test runs so we switched it for prod images.
2022-06-07 15849, 2022
17:34 PM
alastairp
got it
2022-06-07 15826, 2022
17:39 PM
alastairp
CB released
2022-06-07 15831, 2022
17:39 PM
alastairp
thanks lucifer, see you tomorrow
2022-06-07 15841, 2022
17:39 PM
lucifer
thanks you too!
2022-06-07 15827, 2022
17:46 PM
BrainzGit
2022-06-07 15837, 2022
17:47 PM
alastairp
well that was fast ;)
2022-06-07 15809, 2022
18:12 PM
ansh
2022-06-07 15852, 2022
18:15 PM
KevlarNoir joined the channel
2022-06-07 15820, 2022
18:16 PM
reosarevok
yvanzo: blog draft ready for review
2022-06-07 15833, 2022
18:16 PM
reosarevok
I closed it and all, hopefully it won't whine :p
2022-06-07 15802, 2022
18:34 PM
bitmap
2022-06-07 15810, 2022
18:37 PM
reosarevok
bitmap: can you take a look at the blog post? :)
2022-06-07 15816, 2022
18:37 PM
reosarevok
(would like to finish releasing soon)
2022-06-07 15825, 2022
18:37 PM
bitmap
sure
2022-06-07 15833, 2022
18:37 PM
yvanzo
bitmap: doesn’t it depend on dbmirror2?
2022-06-07 15829, 2022
18:38 PM
bitmap
nope, it just stores the index 'events' in pg
2022-06-07 15814, 2022
18:41 PM
yvanzo
I closed the ticket as won't do then.
2022-06-07 15812, 2022
18:46 PM
PrathameshG_ joined the channel
2022-06-07 15848, 2022
18:46 PM
Leftmost_ joined the channel
2022-06-07 15850, 2022
18:46 PM
monkey_ joined the channel
2022-06-07 15821, 2022
18:47 PM
bitmap
okay, I will still need to document maintenance steps for artwork-indexer more throroughly, but can create tickets for that when needed
2022-06-07 15808, 2022
18:48 PM
Arsen_ joined the channel
2022-06-07 15830, 2022
18:48 PM
chrisshepherd_ joined the channel
2022-06-07 15846, 2022
18:48 PM
bitmap
reosarevok: the blog post looks good, I think
2022-06-07 15857, 2022
18:48 PM
reosarevok
Thanks!
2022-06-07 15817, 2022
18:49 PM
atj1 joined the channel
2022-06-07 15807, 2022
18:50 PM
reosarevok
Oh, I see yvanzo made a small change, thanks too
2022-06-07 15819, 2022
18:50 PM
yvanzo
I’m just fixing tickets’ title
2022-06-07 15824, 2022
18:50 PM
reosarevok
Ok
2022-06-07 15828, 2022
18:50 PM
reosarevok
I'll wait
2022-06-07 15836, 2022
18:50 PM
yvanzo
But the editor is too slow for me.
2022-06-07 15843, 2022
18:50 PM
PrathameshG has quit
2022-06-07 15843, 2022
18:50 PM
Leftmost has quit
2022-06-07 15844, 2022
18:50 PM
santiagofn has quit
2022-06-07 15844, 2022
18:50 PM
ephemer0l has quit
2022-06-07 15844, 2022
18:50 PM
atj has quit
2022-06-07 15844, 2022
18:50 PM
chrisshepherd has quit
2022-06-07 15844, 2022
18:50 PM
monkey has quit
2022-06-07 15845, 2022
18:50 PM
Arsen has quit
2022-06-07 15845, 2022
18:50 PM
Leftmost_ is now known as Leftmost
2022-06-07 15845, 2022
18:50 PM
monkey_ is now known as monkey
2022-06-07 15845, 2022
18:50 PM
PrathameshG_ is now known as PrathameshG
2022-06-07 15819, 2022
18:51 PM
qookie has quit
2022-06-07 15820, 2022
18:51 PM
Arsen_ has quit
2022-06-07 15855, 2022
18:51 PM
qookie joined the channel
2022-06-07 15858, 2022
18:51 PM
Arsen joined the channel
2022-06-07 15838, 2022
18:53 PM
reosarevok
Just wordpress things
2022-06-07 15827, 2022
18:54 PM
yvanzo
reosarevok: done
2022-06-07 15834, 2022
18:54 PM
reosarevok
Thanks!
2022-06-07 15812, 2022
18:58 PM
BrainzGit
2022-06-07 15828, 2022
18:59 PM
yvanzo
bitmap: About service usage: I added MBS-12440 to relax requiring Redis only when needed.
2022-06-07 15829, 2022
18:59 PM
BrainzBot
2022-06-07 15823, 2022
19:01 PM
santiagofn joined the channel
2022-06-07 15807, 2022
19:04 PM
bitmap
yvanzo: makes sense. thanks
2022-06-07 15854, 2022
19:12 PM
atj1 is now known as atj
2022-06-07 15854, 2022
19:14 PM
vardan joined the channel
2022-06-07 15831, 2022
19:16 PM
BrainzGit
2022-06-07 15854, 2022
19:51 PM
reosarevok
2022-06-07 15845, 2022
20:15 PM
skelly37 has quit
2022-06-07 15808, 2022
20:40 PM
ephemer0l joined the channel
2022-06-07 15858, 2022
20:56 PM
qookie has quit
2022-06-07 15806, 2022
20:57 PM
qookie joined the channel
2022-06-07 15811, 2022
20:58 PM
qookie has quit
2022-06-07 15820, 2022
20:58 PM
qookie joined the channel
2022-06-07 15857, 2022
21:27 PM
odnes has quit
2022-06-07 15850, 2022
22:02 PM
vardan has quit
2022-06-07 15852, 2022
22:30 PM
strider has quit
2022-06-07 15846, 2022
22:31 PM
strider joined the channel
2022-06-07 15820, 2022
22:42 PM
strider has quit
2022-06-07 15818, 2022
23:35 PM
strider joined the channel