#metabrainz

/

      • lucifer
      • 2024-02-05 03651, 2024

      • mayhem
        ok, so then we would clone the repo and add a submodule to our pyproject?
      • 2024-02-05 03608, 2024

      • lucifer
        yes
      • 2024-02-05 03645, 2024

      • mayhem[m]
        ok.
      • 2024-02-05 03617, 2024

      • lucifer
        but uh actually
      • 2024-02-05 03629, 2024

      • lucifer
        this is a c++ project with python bindings
      • 2024-02-05 03652, 2024

      • mayhem[m]
        indeed.
      • 2024-02-05 03617, 2024

      • lucifer
        hmm i am unsure if this would work then even with submodules
      • 2024-02-05 03622, 2024

      • lucifer
        could we upload a locally built wheel with a patched nmslib to pypi?
      • 2024-02-05 03627, 2024

      • mayhem[m]
        I have no idea. I wonder if gcrk (he/him) would know.
      • 2024-02-05 03650, 2024

      • lucifer
      • 2024-02-05 03634, 2024

      • lucifer
        if we could have a branch where nmslib dep points to the github repo and then we could build wheels on that branch and publish to pypi.
      • 2024-02-05 03651, 2024

      • lucifer
        and publish the source distribution using the normal branch.
      • 2024-02-05 03632, 2024

      • lucifer
        it might work, not very desirable ofc.
      • 2024-02-05 03646, 2024

      • theflash__ has quit
      • 2024-02-05 03657, 2024

      • mayhem[m]
        lets see what gcrk (he/him) says about this tomorrow and then take it from there.
      • 2024-02-05 03614, 2024

      • lucifer
        alternatively, we could remove nmslib from requirements. and ask users to install it manually.
      • 2024-02-05 03640, 2024

      • steinke joined the channel
      • 2024-02-05 03644, 2024

      • lucifer
        sure
      • 2024-02-05 03610, 2024

      • lucifer
      • 2024-02-05 03609, 2024

      • mayhem[m]
        lucifer (IRC): do you happen to know where in the LB docs we document command line options, so I can copy that?
      • 2024-02-05 03602, 2024

      • mayhem[m]
        daaaaaamn, those pictures.
      • 2024-02-05 03617, 2024

      • lucifer
      • 2024-02-05 03651, 2024

      • lucifer
        you can check sphinx-click docs on how to document specific commands at specific places, in LB we just document it all one on page.
      • 2024-02-05 03648, 2024

      • mayhem[m]
        thx
      • 2024-02-05 03652, 2024

      • davic joined the channel
      • 2024-02-05 03614, 2024

      • SothoTalKer_ joined the channel
      • 2024-02-05 03614, 2024

      • SothoTalKer__ has quit
      • 2024-02-05 03646, 2024

      • tux0r- is now known as tux0r
      • 2024-02-05 03644, 2024

      • pranavkonidena[m has quit
      • 2024-02-05 03640, 2024

      • mayhem[m]
        ok, that's done too. PR updated, lucifer. lets look at packaging tomorrow.
      • 2024-02-05 03639, 2024

      • lucifer
        mayhem[m]: sounds good
      • 2024-02-05 03619, 2024

      • lucifer
        aerozol: would you prefer the sharebrainz idea to be on LB or MB or MeB page?
      • 2024-02-05 03651, 2024

      • aerozol
        lucifer: I think it has more to do with MusicBrainz, even though it's aimed at a more casual audience (which makes us think 'LB').
      • 2024-02-05 03620, 2024

      • yvanzo[m]
        bitmap: Is there a bug or is it correct? “This doesn't seem to resolve any bug, since the old IDs were still deleted correctly by `_delete_and_redirect_gids`.” It seems that the first commit is just a refactoring.
      • 2024-02-05 03622, 2024

      • aerozol
        MB project (with a prominent link to LB in the page itself)
      • 2024-02-05 03642, 2024

      • lucifer
        ahan cool, makes sense.
      • 2024-02-05 03628, 2024

      • bitmap
        yvanzo[m]: IIRC it was just refactoring, but I don't remember the context (it might've been to simplify something in a later commit)
      • 2024-02-05 03649, 2024

      • yvanzo[m]
        aerozol: Does my comment to your ticket makes sense? Should we elaborate a GSoC idea from that?
      • 2024-02-05 03615, 2024

      • yvanzo[m]
        bitmap: The citation is from the commit message.
      • 2024-02-05 03629, 2024

      • bitmap
        yes
      • 2024-02-05 03615, 2024

      • bitmap
        if you're asking if the commit message is correct, then it looks correct
      • 2024-02-05 03658, 2024

      • yvanzo[m]
        Ok, I just could not connect the two parts of the sentence.
      • 2024-02-05 03617, 2024

      • yvanzo[m]
        But the code change itself is good.
      • 2024-02-05 03624, 2024

      • bitmap
        I think because I initially thought there would be a bug due to this line in sub merge: $self->_delete_and_redirect_gids('artist', $new_id, @$old_ids);
      • 2024-02-05 03617, 2024

      • BrainzGit
        [listenbrainz-server] 14amCap1712 opened pull request #2759 (03master…fixes): Fix db call on artist_entity page https://github.com/metabrainz/listenbrainz-server…
      • 2024-02-05 03649, 2024

      • BrainzGit
        [listenbrainz-server] 14amCap1712 opened pull request #2760 (03master…fix-dump-imports): Fix dump imports https://github.com/metabrainz/listenbrainz-server…
      • 2024-02-05 03607, 2024

      • bitmap
        er, sorry, that's the working line
      • 2024-02-05 03615, 2024

      • bitmap
      • 2024-02-05 03604, 2024

      • bitmap
        I thought I was fixing a bug there, because the old ids wouldn't be passed there correctly (they would be in an array ref)
      • 2024-02-05 03651, 2024

      • bitmap
        which is correct, but also (explicitly) delete them from the cache via $self->_delete_and_redirect_gids('artist', $new_id, @$old_ids);
      • 2024-02-05 03641, 2024

      • mayhem[m]
        lucifer (IRC): are you on this already with the latest PRs? https://community.metabrainz.org/t/unable-to-log-…
      • 2024-02-05 03644, 2024

      • mayhem[m]
        verified, btw.
      • 2024-02-05 03647, 2024

      • bitmap
        so the bug is accidentally worked around because the "old IDs were still deleted" by that line
      • 2024-02-05 03637, 2024

      • rdswift[m] has quit
      • 2024-02-05 03604, 2024

      • lucifer
        mayhem: oh :/, can you please revert lb prod to v-2024-01-31.0 ?
      • 2024-02-05 03614, 2024

      • mayhem[m]
        on it.
      • 2024-02-05 03616, 2024

      • lucifer
        I just logged off 5 mins ago
      • 2024-02-05 03619, 2024

      • lucifer
        Thanks!
      • 2024-02-05 03620, 2024

      • mayhem[m]
        k
      • 2024-02-05 03604, 2024

      • lucifer
        Of course was one thing I didn't test and it had to break.
      • 2024-02-05 03611, 2024

      • lucifer
        *login was
      • 2024-02-05 03632, 2024

      • mayhem[m]
        hahahahahaha, of course.
      • 2024-02-05 03637, 2024

      • mayhem[m]
        I didn't see it either.
      • 2024-02-05 03653, 2024

      • mayhem[m]
        fixed.
      • 2024-02-05 03621, 2024

      • lucifer
        thanks
      • 2024-02-05 03608, 2024

      • KartikOhri[m] has quit
      • 2024-02-05 03614, 2024

      • BrainzGit
        [musicbrainz-server] 14mwiencek opened pull request #3165 (03master…flushsync-type): Update react-dom libdef with flushSync type https://github.com/metabrainz/musicbrainz-server/…
      • 2024-02-05 03637, 2024

      • Cthulhu-fi joined the channel
      • 2024-02-05 03602, 2024

      • Cthulhu-fi
        hello
      • 2024-02-05 03610, 2024

      • Cthulhu-fi
      • 2024-02-05 03642, 2024

      • Cthulhu-fi
        seems like someone's scrobbler is bugging out in a big way
      • 2024-02-05 03651, 2024

      • Cthulhu-fi
        that's all I have to show. bye for now
      • 2024-02-05 03657, 2024

      • Cthulhu-fi has quit
      • 2024-02-05 03640, 2024

      • opal has quit
      • 2024-02-05 03609, 2024

      • opal joined the channel