#metabrainz

/

      • UmkaDK joined the channel
      • 2017-10-10 28301, 2017

      • MajorLurker
        reosarevok, no worries at all....
      • 2017-10-10 28345, 2017

      • reosarevok
      • 2017-10-10 28317, 2017

      • reosarevok
        In case we needed more reason to avoid doing our own copyright checkups like the plague: Commons, which is obviously a bigger org, has FIFTY DAYS of backlog for checkups
      • 2017-10-10 28331, 2017

      • samj1912
        ruaok: managed to get the complete search setup running on my localhost, even fed in the data :)
      • 2017-10-10 28306, 2017

      • reosarevok
        samj1912: did you use docker for all in the end or is it a 100% local install? (if the latter, any difficulties that we need to clarify in the docs?)
      • 2017-10-10 28316, 2017

      • samj1912
        100% local install
      • 2017-10-10 28342, 2017

      • samj1912
        reosarevok: yup, lots of little dependencies here and there, although I am not sure if thats due to my machine/os
      • 2017-10-10 28359, 2017

      • reosarevok
        If you're up for improving the docs a bit, that wouldn't hurt ;)
      • 2017-10-10 28312, 2017

      • reosarevok
        (if you aren't sure if it'll happen to everyone, you can always say "you might need X" :) )
      • 2017-10-10 28317, 2017

      • samj1912
        yeah
      • 2017-10-10 28352, 2017

      • samj1912
        hmm, work index is failing
      • 2017-10-10 28335, 2017

      • lazka has quit
      • 2017-10-10 28307, 2017

      • samj1912
        umm where can I find the mbdata package?
      • 2017-10-10 28330, 2017

      • samj1912
        ah, nvm, found it
      • 2017-10-10 28300, 2017

      • samj1912
        Mineo: AttributeError: 'CustomWork' object has no attribute 'language' is this supposed to be present? I cant find the language attribute in either mbdata or sir models
      • 2017-10-10 28308, 2017

      • samj1912
        there is a language relationship list
      • 2017-10-10 28313, 2017

      • samj1912
        in CustomWork
      • 2017-10-10 28307, 2017

      • reosarevok
        samj1912: we recently changed work language to be work language*s*
      • 2017-10-10 28312, 2017

      • reosarevok
        So that probably just needs updating
      • 2017-10-10 28317, 2017

      • samj1912
        ah
      • 2017-10-10 28318, 2017

      • samj1912
        gotcha
      • 2017-10-10 28335, 2017

      • samj1912
        so how do we determine the work langauges then?
      • 2017-10-10 28340, 2017

      • samj1912
        we just return it as a list?
      • 2017-10-10 28324, 2017

      • samj1912
        also reosarevok can you link me to the schema change ticket?
      • 2017-10-10 28342, 2017

      • reosarevok
      • 2017-10-10 28342, 2017

      • BrainzBot
        MBS-5452: Support multiple lyric language values for works
      • 2017-10-10 28304, 2017

      • samj1912
        and if possible an example output on the current search server for the same :P
      • 2017-10-10 28324, 2017

      • samj1912
        with multiple languages I mean
      • 2017-10-10 28328, 2017

      • reosarevok
        I'm on it
      • 2017-10-10 28336, 2017

      • samj1912
        thanks :D
      • 2017-10-10 28311, 2017

      • reosarevok
      • 2017-10-10 28338, 2017

      • samj1912
        so language is mul when there are multiple
      • 2017-10-10 28346, 2017

      • samj1912
        and if there is a single language then just 1
      • 2017-10-10 28321, 2017

      • reosarevok
        Seems so
      • 2017-10-10 28324, 2017

      • samj1912
        argh, so many dependencies :\
      • 2017-10-10 28334, 2017

      • samj1912 is now looking at both mbdata nad mbrng
      • 2017-10-10 28343, 2017

      • agentsim has quit
      • 2017-10-10 28354, 2017

      • samj1912
        hmm, so only editor and work have language lists
      • 2017-10-10 28332, 2017

      • reosarevok
        Yeah
      • 2017-10-10 28346, 2017

      • reosarevok
        We might eventually want to add them for release, but so far we haven't :)
      • 2017-10-10 28331, 2017

      • samj1912
        reosarevok: can we update the md data scheme vector diagram on the wiki?
      • 2017-10-10 28339, 2017

      • samj1912
        maybe we can add it as a task for gci
      • 2017-10-10 28315, 2017

      • reosarevok
        I'm not sure what that means, but maybe? :D
      • 2017-10-10 28333, 2017

      • reosarevok
      • 2017-10-10 28352, 2017

      • samj1912
      • 2017-10-10 28354, 2017

      • samj1912
        this yes
      • 2017-10-10 28359, 2017

      • reosarevok
        (if so, that's done with some lukz tool but I don't see a reason not to)
      • 2017-10-10 28305, 2017

      • samj1912
        ah
      • 2017-10-10 28307, 2017

      • samj1912
        cool
      • 2017-10-10 28322, 2017

      • Dalek_ joined the channel
      • 2017-10-10 28322, 2017

      • reosarevok
        (it probably shouldn't be in the wiki anymore though, it's impossible to read while embedded anyway...)
      • 2017-10-10 28325, 2017

      • samj1912
        maybe we can do something more readable at a glace
      • 2017-10-10 28326, 2017

      • reosarevok
        (not that I have a better idea)
      • 2017-10-10 28330, 2017

      • samj1912
        yeah
      • 2017-10-10 28354, 2017

      • arbenina_ joined the channel
      • 2017-10-10 28308, 2017

      • Dalek_ has quit
      • 2017-10-10 28315, 2017

      • samj1912
      • 2017-10-10 28328, 2017

      • samj1912 doesnit think it is as it adds a function to a list and returns nothing
      • 2017-10-10 28302, 2017

      • samj1912
        oh, the list comprehension is for just a throwaway
      • 2017-10-10 28309, 2017

      • samj1912
        it should just return then I guess
      • 2017-10-10 28314, 2017

      • samj1912 will fix that
      • 2017-10-10 28352, 2017

      • github joined the channel
      • 2017-10-10 28352, 2017

      • github
        [sir] samj1912 opened pull request #29: SOLR-51: Fix missing return type_list on function call (master...solr51) https://git.io/vdVJL
      • 2017-10-10 28352, 2017

      • github has left the channel
      • 2017-10-10 28308, 2017

      • Dalek_ joined the channel
      • 2017-10-10 28301, 2017

      • ruaok looks at bb
      • 2017-10-10 28309, 2017

      • ruaok
        ping, no ssh. :(
      • 2017-10-10 28322, 2017

      • Dalek_ has quit
      • 2017-10-10 28345, 2017

      • ruaok
        BB node is up, but didn't come up correctly.
      • 2017-10-10 28330, 2017

      • ruaok
        Leftmost: LordSputnik Leo_Verto : ^^
      • 2017-10-10 28344, 2017

      • ruaok
        now its up!
      • 2017-10-10 28342, 2017

      • samj1912
        ruaok: whom do I ask about mbrng?
      • 2017-10-10 28306, 2017

      • ruaok
        that mmd-schema, no?
      • 2017-10-10 28344, 2017

      • samj1912
        specifically, I am trying to build a language list, but it wont let me call to_etree since the language elements in the list arent an object but a stirng
      • 2017-10-10 28315, 2017

      • ruaok
        in the mmd-schema project?
      • 2017-10-10 28319, 2017

      • samj1912
      • 2017-10-10 28345, 2017

      • ruaok
        oh, I've never even seen that project before.
      • 2017-10-10 28351, 2017

      • samj1912
        :P
      • 2017-10-10 28316, 2017

      • ruaok
        looks like gentlecat's work, which means we have no one to really help. :(
      • 2017-10-10 28321, 2017

      • samj1912
        there's a ton of db dependencies
      • 2017-10-10 28333, 2017

      • ruaok
        db dependencies?
      • 2017-10-10 28336, 2017

      • reosarevok
        Well Mineo is listed as a contributor on that file, so maybe he has some idea
      • 2017-10-10 28340, 2017

      • samj1912
        mmd schema, mbdata, mbrng
      • 2017-10-10 28351, 2017

      • samj1912
        all do some sort of processing to the mb db
      • 2017-10-10 28356, 2017

      • samj1912
        or are related to it
      • 2017-10-10 28328, 2017

      • samj1912
        hmm
      • 2017-10-10 28338, 2017

      • samj1912
        I think we need to update the repo to reflect schema changes
      • 2017-10-10 28321, 2017

      • ruaok
        "the repo"
      • 2017-10-10 28342, 2017

      • ruaok
        when you're slinging around so many repo names, please be specific on which one you mean.
      • 2017-10-10 28347, 2017

      • samj1912
        uh, mb-rngpy
      • 2017-10-10 28303, 2017

      • samj1912
        did we remove label list?
      • 2017-10-10 28341, 2017

      • ruaok
        not sure. I think most of your questions are best addressed to bitmap. reosarevok might also know.
      • 2017-10-10 28358, 2017

      • samj1912
        ok
      • 2017-10-10 28303, 2017

      • reosarevok
        I can try to help :)
      • 2017-10-10 28313, 2017

      • reosarevok
        Label list for releases? I'd expect that to still exist
      • 2017-10-10 28332, 2017

      • samj1912
        I think theres a of little things left in sir, mostly broken or unimplemented data schema changes
      • 2017-10-10 28303, 2017

      • reosarevok
        We can look through the latest schema changes
      • 2017-10-10 28309, 2017

      • reosarevok
        Give me a couple min to finish a few edits
      • 2017-10-10 28312, 2017

      • samj1912
        cool
      • 2017-10-10 28315, 2017

      • ruaok
        reosarevok: <3
      • 2017-10-10 28343, 2017

      • bitmap
      • 2017-10-10 28355, 2017

      • bitmap on a train to ORD
      • 2017-10-10 28320, 2017

      • ruaok
        moin, bitmap!
      • 2017-10-10 28346, 2017

      • bitmap
        Moin!
      • 2017-10-10 28349, 2017

      • reosarevok
        Oh. Under *artist*?
      • 2017-10-10 28354, 2017

      • Freso
        samj1912: Using "mul" for multiple languages is, I think, mostly a legacy thing. Prior to this year's schema change, Works could only have one language assign, so this language would be "mul" in case it actually consisted of multiple languages.
      • 2017-10-10 28357, 2017

      • reosarevok
        Why would we have that in the first place :D
      • 2017-10-10 28344, 2017

      • reosarevok
        It is a legacy thing, but I guess we need to keep doing it?
      • 2017-10-10 28354, 2017

      • reosarevok
        Unless we're saying that SOLR + ws/3 drops stuff like this
      • 2017-10-10 28319, 2017

      • reosarevok
        (I'm not sure if ws/3 is expected to drop legacy stuff left in only for backwards-compatibility or not)
      • 2017-10-10 28325, 2017

      • ruaok
        SOLR needs to work for ws/2 as well.
      • 2017-10-10 28326, 2017

      • reosarevok
        re: "mul"
      • 2017-10-10 28332, 2017

      • reosarevok
        Ok :)
      • 2017-10-10 28338, 2017

      • ruaok
        is it a ws/1 thing?
      • 2017-10-10 28344, 2017

      • reosarevok
        No, it's a recent change
      • 2017-10-10 28356, 2017

      • reosarevok
        So I guess it stays
      • 2017-10-10 28331, 2017

      • Freso
        reosarevok: Well, ws/2 currently returns both "mul" but also an actual list of languages.
      • 2017-10-10 28310, 2017

      • reosarevok
        Sure
      • 2017-10-10 28329, 2017

      • reosarevok
        But we still need to keep returning mul anyway
      • 2017-10-10 28332, 2017

      • Freso
        Sure.
      • 2017-10-10 28329, 2017

      • reosarevok
        samj1912: I am guessing it already supports events?
      • 2017-10-10 28344, 2017

      • samj1912
        "it"?
      • 2017-10-10 28349, 2017

      • reosarevok
        the SOLR server
      • 2017-10-10 28357, 2017

      • samj1912
        let me check
      • 2017-10-10 28307, 2017

      • reosarevok
        (looking at schema change stuff)
      • 2017-10-10 28310, 2017

      • samj1912
        yup
      • 2017-10-10 28314, 2017

      • reosarevok
        Ok
      • 2017-10-10 28331, 2017

      • reosarevok
        That and instruments were the last entities added, unless I'm being stupid
      • 2017-10-10 28344, 2017

      • reosarevok
        So if it has both, it should only need small adjustments
      • 2017-10-10 28353, 2017

      • samj1912
        instruments are also supported
      • 2017-10-10 28359, 2017

      • reosarevok
        I'm assuming https://tickets.metabrainz.org/browse/MBS-8938 is going to change quite a bit of stuff, you'll need bitmap to tell you what to change
      • 2017-10-10 28300, 2017

      • BrainzBot
        MBS-8938: Schema changes to support alternative tracklists
      • 2017-10-10 28329, 2017

      • samj1912
        hmmm
      • 2017-10-10 28355, 2017

      • reosarevok
        I'm not going to claim I understand what https://tickets.metabrainz.org/browse/MBS-8800 means, but it might need some changes - it might also be that we're not using it at all so far, since I see all the depends-on-this tickets are open
      • 2017-10-10 28355, 2017

      • BrainzBot
        MBS-8800: Create the earthdistance extension and add a geodetic index for place coordinates
      • 2017-10-10 28358, 2017

      • samj1912
        bitmap: maybe you can help me with this, these are basically auto generated models from the mmd schema https://github.com/metabrainz/mb-rngpy
      • 2017-10-10 28301, 2017

      • samj1912
        for python
      • 2017-10-10 28306, 2017

      • reosarevok
        https://tickets.metabrainz.org/browse/MBS-8433 will need a change if it hasn't been added yet
      • 2017-10-10 28306, 2017

      • BrainzBot
        MBS-8433: Work attributes don't have a uuid
      • 2017-10-10 28325, 2017

      • reosarevok
      • 2017-10-10 28326, 2017

      • reosarevok
        I think that's about it for 2016
      • 2017-10-10 28340, 2017

      • samj1912
      • 2017-10-10 28347, 2017

      • reosarevok
        From 2015, anything I can see that might need changes is https://tickets.metabrainz.org/browse/MBS-1347
      • 2017-10-10 28347, 2017

      • BrainzBot
        MBS-1347: Implement aliases for release groups, releases and recordings
      • 2017-10-10 28301, 2017

      • samj1912
        it has a langauge_.to_etree method but no model for language
      • 2017-10-10 28318, 2017

      • samj1912
        I am adding language_ as a string and that obviously fails
      • 2017-10-10 28309, 2017

      • samj1912
        is this becuase of the way our schema is defined?
      • 2017-10-10 28317, 2017

      • samj1912
        huh, even the solr server hosted at hetzner does not have work indexed
      • 2017-10-10 28340, 2017

      • samj1912
        I guess mineo never got to finishing it