18:23 PM
reosarevok
yvanzo: that for sure :)
18:23 PM
Also, edit.display_data.${edit.display_data.entity_type} - how do I do this in React? :)
18:23 PM
("nest" two variables like that)
18:24 PM
yvanzo
reosarevok: IIRC, bitmap has been working on diff and other stuff might still be necessary to convert edit display (?)
18:25 PM
alastairp
iliekcomputers: :3.6.7 is better, but doesn't reflect updates to our base images
18:25 PM
prajjwal
hello!!! I was setting up the local server for acoustic brainz and while running this command ./develop.sh run --rm --user `id -u`:`id -g` -e HOME=/tmp webserver npm install ..my terminal says "Run a one-off command on a service."..How do I proceed?
18:25 PM
yvanzo
reosarevok: By the way, do you have a Solr instance setup along with your MB server?
18:25 PM
alastairp
the idea is that I shouldn't be able to break listenbrainz by pushing a bad python base image
18:26 PM
reosarevok
yvanzo: yeah, he said I shouldn't touch stuff with diffs yet :)
18:26 PM
And no, I don't
18:26 PM
Don't have a local search server at all
18:26 PM
alastairp
prajjwal: mmmm, that sounds like the output from `docker-compose run`
18:26 PM
iliekcomputers
alastairp: yeah, i guess that makes sense.
18:26 PM
alastairp
prajjwal: it's possible that your terminal pasted it in two lines for some reason, causing the full command to not run
18:27 PM
yvanzo
18:27 PM
BrainzBot
MBS-8978: Schema does not include id attribute for <packaging> element of a release
18:27 PM
reosarevok
How does what work?
18:28 PM
yvanzo
Cause solr doesn't have a clue about packaging :/
18:28 PM
18:30 PM
pristine_
iliekcomputers : As discussed earlier, I have written a script to push statistics in RabbitMQ and then eventually in the db.
18:30 PM
reosarevok
I don't know enough about solr to answer this :/
18:30 PM
prajjwal
alastarirp: So instead of copying shall i write it?
18:30 PM
reosarevok
Maybe bitmap does?
18:30 PM
pristine_
It is just for testing purpose as of now.
18:31 PM
To see how to handle data after being processed by spark.
18:32 PM
akhilesh
Mr_Monkey, reosarevok : Can it possible that one work exist in many editions?
18:32 PM
reosarevok
Yes
18:32 PM
Any Shakespeare play for example has a million editions :)
18:32 PM
Mr_Monkey
It's even very likely
18:32 PM
iliekcomputers
pristine_: nice!
18:34 PM
pristine_
iliekcomputers: would try to push it asap. A few changes are required.
18:34 PM
Thanks :)
18:35 PM
iliekcomputers
no worries. :)
18:37 PM
pristine_: we should first discuss the format of the outputs of the queries that we will send over rmq
18:37 PM
pristine_
iliekcomputers: how would that be like?
18:38 PM
iliekcomputers
pristine_: i have no idea yet :D
18:39 PM
pristine_
How about constructing a dictionary from the Dataframes and then sending over after converting to JSON?
18:41 PM
iliekcomputers
hmm, yeah. but the dict that we send over will need to have a defined structure
18:44 PM
pristine_
Umm. We could have list of dicts where each dict would contain all the listen data of a user.
18:45 PM
reosarevok
yvanzo: did you see my question about the nested variable tingies?
18:45 PM
*thingies
18:45 PM
(edit.display_data.${edit.display_data.entity_type})
18:49 PM
iliekcomputers
pristine_: you should look at how we save data already using the stats module in listenbrainz
18:49 PM
pristine_: I'd prefer to keep it similar
18:50 PM
reosarevok
Nevermind, figured it out
18:51 PM
pristine_
iliekcomputers: okay :) I will go through it and would update you tomorrow.
19:05 PM
reosarevok
19:06 PM
bitmap
ok :)
19:07 PM
alastairp: hey
19:08 PM
michelv has quit
19:15 PM
github joined the channel
19:15 PM
github
[critiquebrainz] FannyVieira opened pull request #243: Update database schema (master...master)
https://git.io/fhyuy
19:15 PM
github has left the channel
19:26 PM
bitmap
yvanzo: I wouldn't know how to add support for the id attribute off the top of my head, but it does currently output packaging, so it must know about it somehow?
19:31 PM
code_master5 joined the channel
19:34 PM
prajjwal
Hello! While using "./develop.sh run --rm db psql -U acousticbrainz -h db " command to load psql session, i encountered the following problem "psql: could not translate host name "db" to address: Name or service not known".Can anyone guide me what to do next?
19:34 PM
reosarevok
alastairp, iliekcomputers ^
20:00 PM
amCap1712 has quit
20:47 PM
CatQuest
reosarevok: still around?
21:15 PM
pristine_ has quit
21:23 PM
bukwurm has quit
21:29 PM
akhilesh has quit
21:50 PM
cats joined the channel
21:50 PM
cats is now known as Guest64204
22:33 PM
yvanzo
bitmap: it does, but not packaging id
22:37 PM
bitmap: my main doubt is that musicbrainz-server, mb-solr, and mb-rngpy (which sir depends on) rely on different versions of mmd-schema each.
23:00 PM
code_master5 has quit
23:09 PM
Guest64204 has quit
23:09 PM
cats joined the channel
23:09 PM
cats is now known as Guest21465
23:11 PM
samj1912
yvanzo, hey
23:13 PM
Nyanko-sensei joined the channel
23:14 PM
23:14 PM
Basically you want to take a look at the compile dependencies here and make sure the common dependencies between this and mb-solr have same versions
23:16 PM
Guest21465 has quit
23:16 PM
Guest21465 joined the channel
23:16 PM
Guest21465 has quit
23:16 PM
D4RK-PH0ENiX has quit
23:16 PM
catsed joined the channel
23:17 PM
catsed is now known as cats
23:17 PM
You might have to do this a bit recursively.
23:18 PM
For eg just looking over things, the version updates seem correct
23:18 PM
Main culprit is slf4j generally
23:19 PM
You want to keep that the same
23:19 PM
23:19 PM
Solr4j uses 1.7.24
23:20 PM
I would also be careful about icu4j
23:21 PM
23:21 PM
Solr still uses 62.2
23:21 PM
*62.1
23:25 PM
moufl joined the channel
23:27 PM
23:29 PM
They way I do it is simply grep the jars in the solr download tar
23:29 PM
yvanzo
I see, thank you.
23:30 PM
About docker-solr, is it still used?
23:30 PM
samj1912
Now, we can probably avoid this if we use the maven shade plugin or not use the dependencies included jar
23:31 PM
Which was my plan but I never got around to it
23:31 PM
The latter is the recommended way
23:32 PM
23:32 PM
Basically we should be using the normal jar
23:32 PM
Not the one bundled with dependencies
23:32 PM
Docker-solr, I still use it for Dev and testing
23:33 PM
I think zas had some plans to move solr cloud setup to docker
23:33 PM
It might also be useful for the vm
23:34 PM
yvanzo
Both dockerfile and compose file are more up-to-date in mb-solr
23:34 PM
samj1912
As in?
23:35 PM
yvanzo
I would like to push versionned images of sir and solr for use in the VM indeed.
23:35 PM
samj1912
Also mb solr build are failing
23:35 PM
Well I last updated everything to 7.5
23:35 PM
That should be good enough
23:36 PM
yvanzo
23:36 PM
samj1912
Ah!
23:36 PM
Docker solr
23:36 PM
Completely forgot about that
23:36 PM
Yeah you can deprecate that repo
23:36 PM
yvanzo
I already prepared a patch about it but realized it might be not worth it.
23:37 PM
samj1912
I merged everything in mb-solr
23:37 PM
It was getting too fragmented
23:37 PM
I think I haven't touched docker solr in over an year
23:38 PM
yvanzo
Ok, I will just wait for zas confirmation before removing docker-solr, just in case he used it for development or something.
23:38 PM
samj1912
Ah no no
23:38 PM
He's also using mb-solr
23:38 PM
I thought you meant the dockerized solr in mb-solr
23:38 PM
Not the repo
23:38 PM
That repo is useless
23:40 PM
yvanzo
Ok
23:43 PM
samj1912: One last thing is about search indexes regarding latest changes to mmd-schema.
23:43 PM
samj1912
Yeah?
23:43 PM
What exactly are the changes
23:43 PM
I don't recall
23:43 PM
yvanzo
mb-rngpy refers to a one-year old version, that doesn’t matter?
23:44 PM
23:45 PM
23:45 PM
23:46 PM
23:46 PM
samj1912
Have these been deployed already?
23:46 PM
yvanzo
yes
23:47 PM
samj1912
Okay, so there are a couple of places thing would need to be changed
23:47 PM
Mb rngpy for sir to post things correctly to solr
23:47 PM
Sir.wscompat probably to popular mbrngpy classes
23:47 PM
*populate
23:47 PM
And mb-solr
23:48 PM
23:48 PM
This thing
23:49 PM
And probably solr schema if anything changed with the search Schema
23:49 PM
Like new fields that were added which we want indexed
23:49 PM
Or others that were removed
23:50 PM
This changes will also go in sir.schema
23:51 PM
Also obviously jaxb bindings will need to be updated
23:53 PM
yvanzo
Ok, can reindex be made gradually or does it require to build and replace the whole index for related entity types?