#metabrainz

/

      • ruaok
        ok, hopefully our new gsoc slaves^H^H^H^H^H^Hstudents can make that too .:)
      • 2020-05-05 12611, 2020

      • ishaanshah[m]
        sounds good to me!
      • 2020-05-05 12607, 2020

      • ruaok
        and I will have a next version of this document ready by then.
      • 2020-05-05 12638, 2020

      • ishaanshah[m]
        iliekcomputers: Hi!
      • 2020-05-05 12648, 2020

      • iliekcomputers
        hey
      • 2020-05-05 12623, 2020

      • iliekcomputers
      • 2020-05-05 12625, 2020

      • BrainzBot
        LB-540: Enforce a schema for the statistics stored in postgres https://tickets.metabrainz.org/browse/LB-540
      • 2020-05-05 12625, 2020

      • BrainzBot
      • 2020-05-05 12646, 2020

      • iliekcomputers
        i added LB-542, LB-540 and LB-557 for this week.
      • 2020-05-05 12648, 2020

      • BrainzBot
        LB-542: Expose the artist stats on an API endpoint https://tickets.metabrainz.org/browse/LB-542
      • 2020-05-05 12648, 2020

      • BrainzBot
        LB-557: Move current artist graph to React https://tickets.metabrainz.org/browse/LB-557
      • 2020-05-05 12605, 2020

      • iliekcomputers
        though I think LB-557 will probably not finish this week.
      • 2020-05-05 12615, 2020

      • ishaanshah[m]
        I have nearly completed 542
      • 2020-05-05 12628, 2020

      • iliekcomputers
        oh
      • 2020-05-05 12630, 2020

      • iliekcomputers
        cool
      • 2020-05-05 12647, 2020

      • ishaanshah[m]
        Only one test is remaining, I was not sure how to proceed
      • 2020-05-05 12603, 2020

      • iliekcomputers
        i estimated 2 days of work for that, do you think that's still reasonable?
      • 2020-05-05 12607, 2020

      • ishaanshah[m]
      • 2020-05-05 12656, 2020

      • ishaanshah[m]
        For 557?
      • 2020-05-05 12616, 2020

      • iliekcomputers
        for 542.
      • 2020-05-05 12653, 2020

      • ishaanshah[m]
        Oh, I don't think I will need another day
      • 2020-05-05 12639, 2020

      • iliekcomputers
        let's keep it at a minimum of 1, otherwise we'll get too granular. I'll put in an estimate of 1 for now.
      • 2020-05-05 12601, 2020

      • ishaanshah[m]
        Ok, sure
      • 2020-05-05 12621, 2020

      • iliekcomputers
        do the other tasks seem reasonable to you for this week? Is there something else you'd like to work on first?
      • 2020-05-05 12601, 2020

      • ishaanshah[m]
        For 557 I should use nivo right?
      • 2020-05-05 12626, 2020

      • iliekcomputers
        yeah, works for me.
      • 2020-05-05 12647, 2020

      • ishaanshah[m]
        Ok, so I think that will 2 days, 3 at worst
      • 2020-05-05 12612, 2020

      • iliekcomputers
        cool, let's be conservative and say 3 then.
      • 2020-05-05 12622, 2020

      • ishaanshah[m]
        be*
      • 2020-05-05 12610, 2020

      • iliekcomputers
        I think we should pull out the schema validation thing for now then.
      • 2020-05-05 12616, 2020

      • ishaanshah[m]
        For enforcing the schema, are we gonna use protobuf or jsonschema?
      • 2020-05-05 12619, 2020

      • iliekcomputers
        it won't finish in a day.
      • 2020-05-05 12624, 2020

      • iliekcomputers
        not sure :D
      • 2020-05-05 12636, 2020

      • SomalRudra has quit
      • 2020-05-05 12600, 2020

      • ishaanshah[m]
        Ok, I haven't worked with protobuf yet, I will spend some time and read about it
      • 2020-05-05 12620, 2020

      • iliekcomputers
        sure, i've pulled it out for now.
      • 2020-05-05 12623, 2020

      • Chinmay3199 has quit
      • 2020-05-05 12630, 2020

      • iliekcomputers
        we have around 4 days of work, that should be good for this week.
      • 2020-05-05 12645, 2020

      • iliekcomputers
        if you finish early and are bored, could you pick up https://tickets.metabrainz.org/browse/LB-495
      • 2020-05-05 12646, 2020

      • BrainzBot
        LB-495: Fix Documentation error for validate token endpoint, 401 status code not mentioned
      • 2020-05-05 12658, 2020

      • ishaanshah[m]
        Yes, maybe we could discuss how the UI will lool later if we get time
      • 2020-05-05 12610, 2020

      • ishaanshah[m]
        look*
      • 2020-05-05 12624, 2020

      • iliekcomputers
        yes! definitely
      • 2020-05-05 12620, 2020

      • ishaanshah[m]
        One more thing, I needed some help with the API tests
      • 2020-05-05 12641, 2020

      • iliekcomputers
        yeah, sure.
      • 2020-05-05 12644, 2020

      • iliekcomputers
        what's up
      • 2020-05-05 12603, 2020

      • ishaanshah[m]
      • 2020-05-05 12631, 2020

      • ishaanshah[m]
        I have added two tests, one to check if 404 is returned when user is not present
      • 2020-05-05 12657, 2020

      • ishaanshah[m]
        And another one to check 404 is returned when stats haven't been calculated
      • 2020-05-05 12602, 2020

      • iliekcomputers
        hmm
      • 2020-05-05 12612, 2020

      • iliekcomputers
        i'm not sure if 404 makes sense for when the user does not have stats
      • 2020-05-05 12642, 2020

      • ishaanshah[m]
        Yes, even I was not sure about that
      • 2020-05-05 12649, 2020

      • iliekcomputers
        204 No Content, maybe.
      • 2020-05-05 12614, 2020

      • iliekcomputers
        with an empty list of artists
      • 2020-05-05 12632, 2020

      • ishaanshah[m]
        Yes, that makes more sense
      • 2020-05-05 12635, 2020

      • ishaanshah[m]
        I will change that
      • 2020-05-05 12658, 2020

      • ishaanshah[m]
        The only test remaining is for the valid case
      • 2020-05-05 12622, 2020

      • iliekcomputers
        mhmm
      • 2020-05-05 12638, 2020

      • ishaanshah[m]
        But I am not sure how we can add statistics in the db for the temporary user that we create
      • 2020-05-05 12621, 2020

      • iliekcomputers
      • 2020-05-05 12627, 2020

      • iliekcomputers
        call this function ?
      • 2020-05-05 12628, 2020

      • iliekcomputers
        in the test, I mean.
      • 2020-05-05 12659, 2020

      • iliekcomputers
        `def test_stats: db_stats.insert_user_stats(mock_data); api_request; assert200; assertDataValid`
      • 2020-05-05 12613, 2020

      • ishaanshah[m]
        Ohk, that will work, thanks
      • 2020-05-05 12627, 2020

      • iliekcomputers
        awesome!
      • 2020-05-05 12647, 2020

      • ishaanshah[m]
        I will have to call this test after the above 204 one
      • 2020-05-05 12649, 2020

      • v6lur has quit
      • 2020-05-05 12608, 2020

      • iliekcomputers
        I'd say make them different tests
      • 2020-05-05 12628, 2020

      • iliekcomputers
        there's a `tearDown` function which resets the database after every test
      • 2020-05-05 12634, 2020

      • ishaanshah[m]
        Yes different test
      • 2020-05-05 12637, 2020

      • iliekcomputers
        so they should work independent of each other
      • 2020-05-05 12600, 2020

      • iliekcomputers
        the order of execution of tests should not matter
      • 2020-05-05 12608, 2020

      • ishaanshah[m]
        Ok, so the tests are independant
      • 2020-05-05 12616, 2020

      • iliekcomputers
        ideally yes
      • 2020-05-05 12621, 2020

      • iliekcomputers
        if they're not, it's a bug :)
      • 2020-05-05 12654, 2020

      • ishaanshah[m]
        :D
      • 2020-05-05 12613, 2020

      • ishaanshah[m]
        I will make the 204 change and add this test
      • 2020-05-05 12617, 2020

      • ishaanshah[m]
        tommorow
      • 2020-05-05 12626, 2020

      • iliekcomputers
        ok, awesome. tag me on the PR when you want me to look at it.
      • 2020-05-05 12604, 2020

      • ishaanshah[m]
        Ya sure, thanks 🙂
      • 2020-05-05 12641, 2020

      • iliekcomputers
        i added LB-495 to the sprint, it's something that we should get done anyways, and should be only a few minutes worth of work
      • 2020-05-05 12641, 2020

      • BrainzBot
        LB-495: Fix Documentation error for validate token endpoint, 401 status code not mentioned https://tickets.metabrainz.org/browse/LB-495
      • 2020-05-05 12630, 2020

      • KindOne has quit
      • 2020-05-05 12619, 2020

      • ishaanshah[m]
        That should be an easy fix. I will do that
      • 2020-05-05 12642, 2020

      • iliekcomputers
        cool! thanks!
      • 2020-05-05 12639, 2020

      • Zastai|2 is now known as Zastai
      • 2020-05-05 12643, 2020

      • Zastai
        Freso: sorry, didn't see your mention til now. not sure what it's about though; I'm not connected to Kodi at all. Maybe you meant zas?
      • 2020-05-05 12608, 2020

      • jmp_music has quit
      • 2020-05-05 12614, 2020

      • alastairp
        can someone give me push permissions to metabrainz/jenkins? zas, yvanzo?
      • 2020-05-05 12609, 2020

      • zas
        alastairp: invite sent
      • 2020-05-05 12639, 2020

      • alastairp
        zas: that works, thanks
      • 2020-05-05 12614, 2020

      • Lotheric_ joined the channel
      • 2020-05-05 12601, 2020

      • Lotheric has quit
      • 2020-05-05 12637, 2020

      • alastairp
        restarting jenkins
      • 2020-05-05 12604, 2020

      • alastairp
        up
      • 2020-05-05 12653, 2020

      • ruaok
        Zastai: all good -- no worries. I know what freso meant.
      • 2020-05-05 12617, 2020

      • KindOne joined the channel
      • 2020-05-05 12632, 2020

      • SomalRudra joined the channel
      • 2020-05-05 12603, 2020

      • SomalRudra has quit
      • 2020-05-05 12652, 2020

      • shivam-kapila
        > I would propose I hour before the normal meeting time on monday to hold this meeting. iliekcomputers, shivam-kapila, ishaanshah[m], alastairp, Mr_Monkey ?
      • 2020-05-05 12652, 2020

      • shivam-kapila
        Works for me.
      • 2020-05-05 12630, 2020

      • shivam-kapila
        The current list of tools that are planned for LB is exciting me. I will sure like to pop in.
      • 2020-05-05 12606, 2020

      • Cyna
        reosarevok: do give me the green light if the PR is fine... I'll start working on the other ones then. thanks
      • 2020-05-05 12652, 2020

      • Cyna
        P.S do comment on the PR as I might get logged out from IRCCloud
      • 2020-05-05 12623, 2020

      • Zastai
        I've seen some stuff come past about MB switching to PostgreSQL 12. What is the timeframe on that requirement going into production? Asking because I use Debian, which is on PG 11, and I'm not sure they'd change that before the next distro release (bullseye, next year).
      • 2020-05-05 12624, 2020

      • yvanzo
      • 2020-05-05 12634, 2020

      • yvanzo
        PG12 features won’t be used before June, 18 at least.
      • 2020-05-05 12621, 2020

      • yvanzo
        You should be able to use https://wiki.postgresql.org/wiki/Apt if needed.
      • 2020-05-05 12628, 2020

      • Zastai
        ah ok they have an APT repository, so upgrading from 11 to 12 should be easy enough.
      • 2020-05-05 12604, 2020

      • ruaok
        lol. 13k pages affected.
      • 2020-05-05 12651, 2020

      • zas
        yes, soft 404
      • 2020-05-05 12659, 2020

      • zas
        I checked few, and ... well, they just work
      • 2020-05-05 12617, 2020

      • zas
        that said, Google isn't very clear about what's a "soft 404" for them
      • 2020-05-05 12640, 2020

      • zas
      • 2020-05-05 12640, 2020

      • zas
        https://musicbrainz.org/release/cac1e12e-44d7-488… was reported as soft 404 for example
      • 2020-05-05 12639, 2020

      • BrainzGit
        [musicbrainz-server] reosarevok opened pull request #1496 (master…MBS-10732): MBS-10732: Add collaborator validation to collection form https://github.com/metabrainz/musicbrainz-server/…
      • 2020-05-05 12641, 2020

      • BrainzBot
        MBS-10732: Internal Server Error: Adding a collaborator to a collection without selecting from autocomplete dropdown https://tickets.metabrainz.org/browse/MBS-10732
      • 2020-05-05 12650, 2020

      • reosarevok
        Sorry that it took more than two days this time, alastairp :p
      • 2020-05-05 12638, 2020

      • bitmap
        huh. admin/sql/updates/20140130-remove-page-index.sql exists but I don't think it was ever run in production...
      • 2020-05-05 12617, 2020

      • bitmap
        those indexes still exist on floyd but are completely unused, guess we should finally run that
      • 2020-05-05 12623, 2020

      • Zastai
        is that collaborator info queryable via ws, btw?
      • 2020-05-05 12652, 2020

      • bitmap
        I don't think so
      • 2020-05-05 12638, 2020

      • bitmap
        we use the info for fetching user collections and authorizing submissions, but don't think we return a list of collaborators as part of any collection response
      • 2020-05-05 12659, 2020

      • SomalRudra joined the channel
      • 2020-05-05 12621, 2020

      • Zastai
        which reminds me: the MB OAuth2 has scopes for "see email" and "see profile", but there do not seem to be WS endpoints for getting that information. are those scopes of any real use?
      • 2020-05-05 12657, 2020

      • CatQuest
      • 2020-05-05 12605, 2020

      • CatQuest
        maybe those are pages that the mbid redirect becasue of merges? idk
      • 2020-05-05 12644, 2020

      • CatQuest
      • 2020-05-05 12653, 2020

      • CatQuest
        on option: ""Google falsely marks a page as ‘seems to be a 404’ while there is nothing wrong with the page.
      • 2020-05-05 12614, 2020

      • CatQuest
        (sorry if you know these already)
      • 2020-05-05 12646, 2020

      • Zastai
        or could those have been accessed during that weekend where one of the nodes was down, and some requests simply got no answer?
      • 2020-05-05 12645, 2020

      • KindTwo joined the channel
      • 2020-05-05 12614, 2020

      • KindOne has quit
      • 2020-05-05 12622, 2020

      • CatQuest
        ooh yea that sounds not unlikly
      • 2020-05-05 12645, 2020

      • KindOne joined the channel
      • 2020-05-05 12623, 2020

      • KindTwo has quit
      • 2020-05-05 12652, 2020

      • SomalRudra_ joined the channel
      • 2020-05-05 12633, 2020

      • SomalRudra has quit
      • 2020-05-05 12633, 2020

      • SomalRudra_ is now known as SomalRudra
      • 2020-05-05 12623, 2020

      • KindOne has quit
      • 2020-05-05 12607, 2020

      • KindOne joined the channel
      • 2020-05-05 12629, 2020

      • v6lur joined the channel
      • 2020-05-05 12657, 2020

      • Zastai|2 joined the channel
      • 2020-05-05 12614, 2020

      • Zastai has quit
      • 2020-05-05 12611, 2020

      • Cyna has quit
      • 2020-05-05 12623, 2020

      • thomasross has quit
      • 2020-05-05 12653, 2020

      • thomasross joined the channel
      • 2020-05-05 12600, 2020

      • adhawkins has quit
      • 2020-05-05 12635, 2020

      • adhawkins joined the channel
      • 2020-05-05 12612, 2020

      • Lotheric joined the channel