#metabrainz

/

      • alastairp
        👍 modifications to that file look fine to me, then. and we know that it generates valid python because we've already released in test
      • 2020-12-23 35825, 2020

      • ruaok
        ok, then merge into prod again.
      • 2020-12-23 35824, 2020

      • alastairp
        waiting for tests
      • 2020-12-23 35834, 2020

      • ruaok
      • 2020-12-23 35853, 2020

      • ruaok
        should I run the update script against TS?
      • 2020-12-23 35805, 2020

      • alastairp
        yes please
      • 2020-12-23 35807, 2020

      • ruaok
        k
      • 2020-12-23 35831, 2020

      • alastairp
        seeing sporadic test failures, but they've not happened before so I'm tempted to go on without them
      • 2020-12-23 35837, 2020

      • ruaok
        > psql -U listenbrainz_ts listenbrainz_ts < /tmp/2020-11-21-playlists.sql
      • 2020-12-23 35846, 2020

      • ruaok
        inside the timescale container. that look sane?
      • 2020-12-23 35802, 2020

      • ruaok
        the sql file was taken from master just now.
      • 2020-12-23 35829, 2020

      • alastairp
        Mr_Monkey: one thing if you have time - would be nice for you to verify that the ci js failure isn't urgent:
      • 2020-12-23 35832, 2020

      • alastairp
      • 2020-12-23 35846, 2020

      • alastairp
        ruaok: fine
      • 2020-12-23 35857, 2020

      • ruaok
        executed without errors.
      • 2020-12-23 35851, 2020

      • ruaok
      • 2020-12-23 35825, 2020

      • alastairp
        I don't know if iliekcomputer normally added lineitems for all PRs to the release notes, or if he just copied big features
      • 2020-12-23 35838, 2020

      • ruaok
        not sure.
      • 2020-12-23 35802, 2020

      • alastairp
        I'm going to add a top section with some interesting new features, and then just leave everything else in-place
      • 2020-12-23 35809, 2020

      • ruaok
        k
      • 2020-12-23 35850, 2020

      • alastairp
        merging
      • 2020-12-23 35856, 2020

      • ruaok
        should we update all prod containers?
      • 2020-12-23 35811, 2020

      • ruaok
        or just -web?
      • 2020-12-23 35813, 2020

      • alastairp
        what do you mean?
      • 2020-12-23 35820, 2020

      • ruaok
        which containers do we restart today?
      • 2020-12-23 35823, 2020

      • alastairp
        they're all based on the same container, right? I'd do all of them
      • 2020-12-23 35829, 2020

      • ruaok
      • 2020-12-23 35829, 2020

      • alastairp
        urg, based on the same image
      • 2020-12-23 35832, 2020

      • ruaok
        ok.
      • 2020-12-23 35857, 2020

      • alastairp
        I don't know why there are different versions here
      • 2020-12-23 35814, 2020

      • ruaok
        because not all containers are always updated.
      • 2020-12-23 35824, 2020

      • ruaok
        but I feel you, lets update all.
      • 2020-12-23 35808, 2020

      • alastairp
        alternatively, if you want to do it in stages upgrade all there to the current most recent push (v-2020-11-20.0 ?) , and then another one with today
      • 2020-12-23 35836, 2020

      • alastairp
        how are you time-wise? I don't want to release now only to have things fall apart with 5 minutes before you have to walk out the door
      • 2020-12-23 35857, 2020

      • ruaok
        we're at exactly that point, sadly.
      • 2020-12-23 35843, 2020

      • ruaok
        not wise, but the limited time I have remaining past curfew today is to run troi and to announce the playlists tomorrow.
      • 2020-12-23 35859, 2020

      • ruaok
        I think we'll be fine. <famous last words>
      • 2020-12-23 35804, 2020

      • alastairp
        OK. going ahead with merge
      • 2020-12-23 35828, 2020

      • BrainzGit
        [listenbrainz-server] alastair merged pull request #1207 (production…master): Merge to production for playlists release (2020-12-23) https://github.com/metabrainz/listenbrainz-server…
      • 2020-12-23 35852, 2020

      • ruaok
        actually to minimize possible screw ups, lets just update -web container.
      • 2020-12-23 35857, 2020

      • alastairp
        k
      • 2020-12-23 35800, 2020

      • ruaok
        I dont think we have changes for other containers.
      • 2020-12-23 35811, 2020

      • alastairp
        tagging v-2020-12-23.0
      • 2020-12-23 35820, 2020

      • ruaok
        perfect.
      • 2020-12-23 35824, 2020

      • ruaok
        is it pushed?
      • 2020-12-23 35831, 2020

      • alastairp
        tag pushed, building image
      • 2020-12-23 35853, 2020

      • ruaok
        reviewing the changelog, just updating -web makes sense to me.
      • 2020-12-23 35839, 2020

      • alastairp
        publishing release on github
      • 2020-12-23 35844, 2020

      • BrainzGit
        [listenbrainz-server] release v-2020-12-23.0 has been published by release-drafter[bot]: https://github.com/metabrainz/listenbrainz-server…
      • 2020-12-23 35836, 2020

      • ruaok
        how goes the build?
      • 2020-12-23 35810, 2020

      • alastairp
        metabrainz/listenbrainz:v-2020-12-23.0 pushed
      • 2020-12-23 35820, 2020

      • ruaok
        here goes nothing.
      • 2020-12-23 35855, 2020

      • ruaok
        pulling services.
      • 2020-12-23 35816, 2020

      • ruaok
        stopping prod
      • 2020-12-23 35838, 2020

      • ruaok
        done
      • 2020-12-23 35850, 2020

      • alastairp
      • 2020-12-23 35804, 2020

      • ruaok
        woo!
      • 2020-12-23 35813, 2020

      • alastairp
      • 2020-12-23 35815, 2020

      • alastairp
        fuck yeah
      • 2020-12-23 35821, 2020

      • alastairp
        why did we ever doubt ourselves?
      • 2020-12-23 35832, 2020

      • ruaok
        because we fuck up at times.
      • 2020-12-23 35835, 2020

      • ruaok
        well done, alastairp!
      • 2020-12-23 35839, 2020

      • ruaok
        well done Mr_Monkey!
      • 2020-12-23 35845, 2020

      • ruaok
        well done shivam-kapila !
      • 2020-12-23 35852, 2020

      • ruaok
        well done _lucifer
      • 2020-12-23 35814, 2020

      • ruaok
        right, thanks for this, alastairp. I'm out.
      • 2020-12-23 35825, 2020

      • ruaok
        I'll push the recommendations starting tonight.
      • 2020-12-23 35833, 2020

      • alastairp
        I'm here all day
      • 2020-12-23 35839, 2020

      • alastairp
        you'll be at monkey house?
      • 2020-12-23 35846, 2020

      • ruaok
        yeah. you?
      • 2020-12-23 35847, 2020

      • alastairp
        whatsapp me if there's a problem
      • 2020-12-23 35854, 2020

      • ruaok
        ok.
      • 2020-12-23 35800, 2020

      • alastairp
        he's got my number
      • 2020-12-23 35825, 2020

      • alastairp
        L is finally off school / work for the year, so we're taking it easy
      • 2020-12-23 35828, 2020

      • alastairp
        have a good night!
      • 2020-12-23 35841, 2020

      • ruaok
        thanks much. ttfn!
      • 2020-12-23 35847, 2020

      • _lucifer
        !m The MetaBrainz Team :D
      • 2020-12-23 35847, 2020

      • BrainzBot
        You're doing good work, The MetaBrainz Team :D!
      • 2020-12-23 35811, 2020

      • alastairp
        ruaok: I have your number too. I didn't know if you still used WA :)
      • 2020-12-23 35836, 2020

      • ballin joined the channel
      • 2020-12-23 35858, 2020

      • ruaok
        I do. Signal, telegram as well.
      • 2020-12-23 35825, 2020

      • alastairp
        i'll draft a blog post for playlists + recommendations
      • 2020-12-23 35826, 2020

      • _lucifer
        has anyone tried creating a playlist using the website UI. I am unable to add any tracks. It also shows a HTTP Error at the bottom of the page.
      • 2020-12-23 35806, 2020

      • alastairp
        I made a playlist but didn't try and add a track
      • 2020-12-23 35816, 2020

      • _lucifer
        {"code":400,"error":"JSPF playlist.extension.https://musicbrainz.org/doc/js… field must be given."}
      • 2020-12-23 35823, 2020

      • _lucifer
        This is the response I get.
      • 2020-12-23 35826, 2020

      • alastairp
        ah, right
      • 2020-12-23 35837, 2020

      • alastairp
        ruaok and I made some changes to the API, and I bet we didn't tell Mr_Monkey about it
      • 2020-12-23 35851, 2020

      • alastairp
        I'll fix it this afternoon
      • 2020-12-23 35859, 2020

      • alastairp
        thanks for reporting
      • 2020-12-23 35800, 2020

      • sumedh joined the channel
      • 2020-12-23 35847, 2020

      • _lucifer
        alastairp: i looked around the code a bit. Should adding a track require the public field?
      • 2020-12-23 35809, 2020

      • _lucifer
        That data is probably only required in creating a playlist.
      • 2020-12-23 35816, 2020

      • _lucifer
        I found this in the logs https://chatlogs.metabrainz.org/brainzbot/metabra… . so probably no?
      • 2020-12-23 35841, 2020

      • alastairp
        _lucifer: yes, right. we need to remove the check when editing a playlist
      • 2020-12-23 35845, 2020

      • alastairp
        I'm in the middle of this fix now
      • 2020-12-23 35805, 2020

      • _lucifer
        alastairp: oh, i have the fix ready. just running the tests.
      • 2020-12-23 35816, 2020

      • alastairp
        how did you do it?
      • 2020-12-23 35838, 2020

      • _lucifer
        added a `require_public` arg to `validate_playlist`
      • 2020-12-23 35859, 2020

      • alastairp
        yeah, I thought about that, but I don't think it's a good solution
      • 2020-12-23 35845, 2020

      • alastairp
        instead we should have 2 types of validators, one which validates the _types_ of parameters if they're set (e.g. checks that public is boolean if it it exists, or checks that title is non-empty if it's set), and a second set of validators for the actual content - e.g. one that checks the required fields for new playlist, and one that checks required fields for editing/adding
      • 2020-12-23 35801, 2020

      • alastairp
        this will make it easier to modify in the future without adding more parameters
      • 2020-12-23 35831, 2020

      • _lucifer
        yeah right, that's better.
      • 2020-12-23 35825, 2020

      • alastairp
        do you want to make those changes?
      • 2020-12-23 35808, 2020

      • _lucifer
        sure, if you haven't started yet i'll be happy to take that up
      • 2020-12-23 35816, 2020

      • alastairp
        go for it, thanks!
      • 2020-12-23 35824, 2020

      • _lucifer
        👍
      • 2020-12-23 35848, 2020

      • BrainzGit
        [listenbrainz-server] amCap1712 opened pull request #1208 (master…validate-playlist-fix): Do not check for public field while adding tracks https://github.com/metabrainz/listenbrainz-server…
      • 2020-12-23 35847, 2020

      • _lucifer
        looks like there is a bug in brainzbot on github, commented the same message 4 times
      • 2020-12-23 35807, 2020

      • _lucifer
        alastairp: can you check the PR and verify the patch so that the CI can run
      • 2020-12-23 35844, 2020

      • alastairp
        I approved
      • 2020-12-23 35849, 2020

      • _lucifer
        I had a few failing tests locally but those seem to be unrelated to changes. probably because my env is not properly set up for the playlist stuff
      • 2020-12-23 35807, 2020

      • alastairp
        it's not a bug, it's because there are 4 tests, and the bot asks for each of them
      • 2020-12-23 35818, 2020

      • alastairp
        it's a bit annoying, but I don't think there's much we can do about it
      • 2020-12-23 35833, 2020

      • _lucifer
        oh ok!
      • 2020-12-23 35827, 2020

      • _lucifer
        alastairp: there are 8 test failures here https://ci.metabrainz.org/job/listenbrainz-integr… due to connection errors
      • 2020-12-23 35853, 2020

      • _lucifer
        i see that has been the case for earlier builds as well!
      • 2020-12-23 35827, 2020

      • BrainzGit
        [mbsssss] yvanzo opened pull request #54 (master…firstreleasedate): MBS-218 (schema) / MBS-384 (schema): Add `firstreleasedate` search field for recording and release group https://github.com/metabrainz/mbsssss/pull/54
      • 2020-12-23 35829, 2020

      • alastairp
        yes, I've seen those before. They all appear to be to an external domain, i wonder if it's related to the docker network setup where the tests run, it's something we need to look into
      • 2020-12-23 35829, 2020

      • BrainzGit
        [mbsssss] yvanzo opened pull request #55 (master…packaging): SEARCH-590 (schema): Add `packaging` search field for release https://github.com/metabrainz/mbsssss/pull/55
      • 2020-12-23 35825, 2020

      • BrainzGit
        [mbsssss] yvanzo opened pull request #56 (master…fuzzy-medium-format): SEARCH-574: Make easier to type medium format https://github.com/metabrainz/mbsssss/pull/56
      • 2020-12-23 35847, 2020

      • v6lur joined the channel
      • 2020-12-23 35817, 2020

      • ballin has quit
      • 2020-12-23 35856, 2020

      • yef has quit
      • 2020-12-23 35824, 2020

      • sumedh has quit
      • 2020-12-23 35805, 2020

      • davic joined the channel
      • 2020-12-23 35802, 2020

      • Gazooo79494 has quit
      • 2020-12-23 35844, 2020

      • Gazooo79494 joined the channel
      • 2020-12-23 35818, 2020

      • Nyanko-sensei joined the channel
      • 2020-12-23 35827, 2020

      • D4RK-PH0ENiX has quit
      • 2020-12-23 35844, 2020

      • v6lur has quit
      • 2020-12-23 35844, 2020

      • ruaok
        ok, I'm finally done for the day: troi is playing santa and generating playlists for people: https://listenbrainz.org/user/troi-bot/playlists
      • 2020-12-23 35820, 2020

      • shivam-kapila
        Wow playlists feature released
      • 2020-12-23 35835, 2020

      • shivam-kapila
        A perfect 4 am news :p
      • 2020-12-23 35851, 2020

      • shivam-kapila
        Congratulations LN team
      • 2020-12-23 35855, 2020

      • shivam-kapila
        LB*
      • 2020-12-23 35805, 2020

      • ruaok
        there are still some bugs, but we wanted to get some playlists made for the holidays.
      • 2020-12-23 35814, 2020

      • ruaok
        (with zero holiday music)
      • 2020-12-23 35837, 2020

      • shivam-kapila
        But this is a good christmas gift
      • 2020-12-23 35853, 2020

      • ruaok
        let see what people say.
      • 2020-12-23 35809, 2020

      • ruaok
        the script to generates playlists is runing now. will run all night I think.
      • 2020-12-23 35804, 2020

      • shivam-kapila
        Lets see what it gets for us on christmas eve 🤞