You should be able to follow that to download the data dumps, set up the database and get the WS running
2016-03-14 07437, 2016
LordSputnik
If you wanted to write some instructions as you go along, that would be wonderful, but if not, I will hopefully get around to it soon (hopefully (maybe))
2016-03-14 07423, 2016
mr-karan_
If I get it working,I'll surely document if for other new users like me :P
2016-03-14 07413, 2016
Jormangeud has quit
2016-03-14 07414, 2016
LordSputnik
Thanks very much! Let me know if you get stuck/have any questions, I'll be around on here on and off for the next few hours
2016-03-14 07435, 2016
Jormangeud joined the channel
2016-03-14 07441, 2016
mr-karan_
sure LordSputnik
2016-03-14 07459, 2016
reosarevok
Freso: I forget, did we already set up an autoeditor election framework?
2016-03-14 07414, 2016
TOPIC: MetaBrainz Community and Development channel | MusicBrainz non-development: #musicbrainz | MeB meeting agenda: Reviews; Schema change review (ruaok), GSoC update (ruaok), DR “nostalgia edition”: MBS-6396, MBS-7501, MBS-7564 (chirlu?); DR: MBS-3722 (Freso)
2016-03-14 07400, 2016
armalcolite joined the channel
2016-03-14 07452, 2016
typhoe has quit
2016-03-14 07402, 2016
typhoe joined the channel
2016-03-14 07409, 2016
Jormangeud has quit
2016-03-14 07451, 2016
Jormangeud joined the channel
2016-03-14 07456, 2016
mr-karan_
LordSputnik: i need to run python setup.py bootstrap --blank from which repo ? bookbrainz-ws ?
2016-03-14 07429, 2016
mr-karan_
there's no setup.py in that FWIW
2016-03-14 07435, 2016
jcazevedo has quit
2016-03-14 07413, 2016
LordSputnik
mr-karan_: that'd be the bookbrainz-schema repo
2016-03-14 07438, 2016
LordSputnik
mr-karan_: Actually, those steps I linked probably aren't going to work. If you're OK to wait, I can write up some proper instructions later?
mootwo: I don't think that exact data is available, but using the search api like alastairp's link is probably sufficient for most cases
2016-03-14 07413, 2016
kepstin
in particular, the search api doesn't sort based on tag counts
2016-03-14 07435, 2016
mootwo
alastairp - brilliant, thanks
2016-03-14 07452, 2016
alastairp
yeah, it's likely that the website view is a direct sql query
2016-03-14 07403, 2016
alastairp
but that is definitely not exposed via the lookup webservice
2016-03-14 07430, 2016
mootwo
so the same info from the web app is not necessarily exposed via the xml service?
2016-03-14 07432, 2016
kepstin
mootwo: yes, that's true in a lot of cases :/
2016-03-14 07408, 2016
mootwo
kepstin: interesting thanks
2016-03-14 07419, 2016
kepstin
it's mostly because the two were originally developed beside each-other - since the website could access the sql db directly, it could do custom views, and they weren't always done on the api side as well.
2016-03-14 07440, 2016
mootwo
so the website does not use the api in its backend then
2016-03-14 07439, 2016
kepstin
exactly.
2016-03-14 07422, 2016
mootwo
ok then let me ask a dumb question, and i think i already know the answer...
2016-03-14 07457, 2016
mootwo
is there any API that allows me to get the same data as the web app, without the frontend?
2016-03-14 07437, 2016
kepstin
not an "api" per say, but you can always replicate the db and run sql queries directly.
2016-03-14 07409, 2016
mootwo
yeah we're already doing that, and with help from here ive been able to source a lot of the data... but some things are not in the database
2016-03-14 07417, 2016
mootwo
like artist bio for example
2016-03-14 07429, 2016
Jormangeud has quit
2016-03-14 07430, 2016
kepstin
artist bios are pulled from wikipedia via javascript
2016-03-14 07431, 2016
kepstin
that'll let you do anything the website can do, and more if you can think of it :)
2016-03-14 07404, 2016
mootwo
right but then i have to know how to use the wikidata api lol
2016-03-14 07407, 2016
Jormangeud joined the channel
2016-03-14 07426, 2016
mootwo
just was trying to avoid doing extra work if it was already available as par tof the server
2016-03-14 07440, 2016
kepstin
hmm. actually, are they done via js? either way, the bios are pulled from wikipedia as part of the web page rendering
2016-03-14 07443, 2016
mootwo
so... the xml web service by nature would only access data that's actually in the database, and even then only a subset of that, correct?
2016-03-14 07417, 2016
mootwo
meaning even if the xml api is ok for some data, for others (like the artist bio), i would still have to parse on my own?
2016-03-14 07435, 2016
kepstin
yeah
2016-03-14 07444, 2016
mootwo
gotcha ok thanks
2016-03-14 07448, 2016
kepstin
the api will only ever return data we store locally, at best
2016-03-14 07454, 2016
kepstin
for linked data, you follow the links :)
2016-03-14 07436, 2016
kepstin
(e.g. cover art you get by doing a separate query to the coverartarchive servers)
2016-03-14 07408, 2016
mootwo
understood, thanks
2016-03-14 07457, 2016
Jormangeud has quit
2016-03-14 07423, 2016
Jormangeud joined the channel
2016-03-14 07416, 2016
JesseW has quit
2016-03-14 07454, 2016
mihaitish joined the channel
2016-03-14 07423, 2016
mootwo
does the info listed under an artist's "relationship" tab come from the database or externally? specifically interested in things like "founding member of" and "member of" etc, to determine what other bands an artist has appeared in
2016-03-14 07425, 2016
mihaitish has quit
2016-03-14 07423, 2016
regagain joined the channel
2016-03-14 07458, 2016
bitmap
those are all stored in the database
2016-03-14 07403, 2016
mootwo
bitmap: thanks, which tables should i start looking in?
2016-03-14 07422, 2016
bitmap
well, artist-artist relationships are in the l_artist_artist table
2016-03-14 07412, 2016
mootwo
is there a doc somewhere showing how these l_ tables work?
in the l_ tables, what is the difference between entity0 and entity1?
2016-03-14 07453, 2016
kepstin
entity0 is the first end of the link, entity1 is the second end.
2016-03-14 07413, 2016
kepstin
to understand the meaning of them, you have to know what the type of link is
2016-03-14 07400, 2016
mootwo
kepstin: understood but for example in artist:artist, im trying to determine what other bands an artists has appeared in... is there a difference if artist X is in entity0 or entity1?
2016-03-14 07430, 2016
mr-karan_
Thanks . I'm on it :)
2016-03-14 07434, 2016
mr-karan_
LordSputnik:
2016-03-14 07444, 2016
kepstin
mootwo: you have to check the docs for the relationship