#metabrainz

/

      • mayhem
        I would prefer us to move to HTTP and be done with it.
      • yes, exactly.
      • atj
        i'm sure zas can provide some reasons why it's not so straightforward
      • mayhem
        oh, there is server work to be done?
      • atj
        erm, let me check
      • mayhem
        if it is just the musicbrainz-docker side of things it shouldn't be more than just changing the protocol we use.
      • atj
        yes you're right, http already works
      • OK, that's the simplest fix then
      • zas, yvanzo, reosarevok: what's preventing us switching the Docker scripts to pull dumps via HTTP and announcing FTP access to ftp. is deprecated and will be removed in ~3 months?
      • mayhem
        it would be great if we could get a PR for this fix up today and then merge it in 3 months if we need to the time.
      • yvanzo
        atj: If by Docker scripts you mean musicbrainz-docker, I can look into it.
      • mayhem
        yvanzo: yes.
      • yvanzo
        We need at least to let the schema change go.
      • mayhem
        yvanzo: let me forward you the email from atj
      • meaning we should do it after?
      • yvanzo
        yes, 3 months if 2 months after the schema change, so it's fine.
      • mayhem
        ah, got it.
      • this should be a pretty simple fix, right?
      • yvanzo
        Our Docker Compose project supports FTP only atm, but it should be simple to handle HTTP/S too.
      • lucifer
      • yvanzo
        mbdata is using HTTP already
      • Unless some of our backends need FTP (in which case zas or bitmap would know), I don’t think there is any reason not to drop it.
      • zas
        atj: support for HTTP was a quick hack over FTP (which is here for historical reasons). I see no problem in deprecating FTP, though serving via HTTPS might need some improvements (fancier index pages, ensuring everything is properly configured to serve big files, and better/simpler cert management, etc...)
      • atj
        Well if the status quo is FTP I see no issue with HTTP. HTTPS could be added later.
      • yvanzo
        atj: Is the PASV issue a FTP server configuration issue or client missing flags?
      • (or both)
      • atj
        yvanzo: it's a client and a server issue but not something that can be easily resolved
      • The client host is using IPv4 in IPv6 addressing which is something to do with the clients host network configuration
      • yvanzo
        Ok, that’s really easier to move to HTTP/S then.
      • atj
        you end up in a bizarre situation where wget is making a IPv4 request but think it is making an IPv6 request
      • *thinks
      • and because FTP is so archaic, they had to add additional commands to the FTP protocol to support IPv6
      • yvanzo
        atj: Are you working on a patch to musicbrainz-docker already?
      • atj
        yvanzo: yes, give me 20 mins
      • yvanzo
        Ok, just let me know if you need any help with it.
      • reosarevok, bitmap: What is an "MBID submitter"? It’s not documented in https://musicbrainz.org/doc/Editor and there are none in https://musicbrainz.org/privileged
      • BrainzGit
        [musicbrainz-docker] 14atj opened pull request #242 (03master…mirror-http): Fetch DB dumps via HTTP instead of FTP https://github.com/metabrainz/musicbrainz-docke...
      • atj
        yvanzo: see above, it's draft at the moment because i'm not sure about the changes to fetch-dump.sh
      • yvanzo
        atj: there are FTP mirrors indeed.
      • atj
        hmm, so what behaviour makes sense? if the URL doesn't start with http:// or ftp:// add ftp:// ?
      • that should be backwards compatible
      • mayhem
        lucifer: looks good to me!
      • who is kleinaviad@.... ?
      • yvanzo
        atj: to add a --base-http-url option and deprecate the current option?
      • atj
        yvanzo: you had to choose the more complex option didn't you ;)
      • that makes sense, i'll update the PR
      • zas
        mayhem: I doubt that's anyone we know, likely phishing attempt
      • atj: I think we can merge https://github.com/metabrainz/metabrainz-ansibl... if you have nothing else to add to it.
      • atj
        zas: I want to deploy to sentry first the merge
      • *then
      • zas
        ok
      • atj
        going to have lunch then i'll do it, are you around?
      • yvanzo
        bitmap, reosarevok: updating MB beta servers
      • reosarevok
        Are you releasing prod after this?
      • Mbid submitter is unused iirc
      • It's for some external data users to be able to create their own mbids for stuff they don't want to make public yet
      • mayhem might remember the details
      • yvanzo
        reosarevok: yes for prod
      • reosarevok
        Thanks
      • yvanzo
        reosarevok: Can you please create the blog post? The editor is not loading correctly for me atm.
      • updating MB main servers now
      • mayhem
        reosarevok: pretty much that. still no takers.
      • yvanzo
        reosarevok: on it, seems to work fine with chrome atm
      • reosarevok
        Ok. I can review in a couple hours
      • (going home now)
      • atj
        zas: bootstrapping sentry - do we want the usual user accounts on it or a subset?
      • zas
        I guess we can have usual ones
      • atj
        ok
      • 🤞🏼
      • petitminion_ has quit
      • ok, bootstrap done, deploying site playbook
      • zas: sentry runs the bundled version of docker. the one from the docker repo is newer and has a different package name
      • not 100% sure how that would go so I think we need to organise some downtime for sentry to do the docker install and a reboot
      • yvanzo
        atj, zas: I updated GH RSA key on clash
      • bitmap, reosarevok: The script skipped updating MB API container on clash, but there is no expected change in API anyway.
      • prout has quit
      • prout joined the channel
      • reosarevok
        Ok
      • yvanzo
        Same on patton
      • petitminion_ joined the channel
      • atj: Is FTP download still mostly working or should we have this patch in today’s release?
      • atj
        yvanzo: it's still working for most people
      • yvanzo
        Ok, thanks. We can also release later today if we want to include this patch in the same release.
      • I can no more log into paco: kex_exchange_identification: Connection closed by remote host
      • It's back now.
      • bitmap, reosarevok: Done with updating web containers; I didn't update others as I manually deployed the patch for bootleg report last week.
      • zas
        atj: I guess we can't avoid a small downtime on sentry
      • atj
        it should be very small
      • petitminion_ has quit
      • rain0r joined the channel
      • lucifer
      • atj
        I love how people think that getting a reply within one day is "quick"
      • shows how poor customer support is in general
      • mayhem
        atj: amen to that. but we did have a few exchanges before where our side was fast to respond.
      • atj
        I saw your previous response was "lightning" fast :)
      • mayhem
        atj: I'm dumping all the tax info to our accountants, and I had to admit to our accountants that I failed to pay you last year. And a boozer at my house is not easy to account for, lol. ;)
      • heh, yeah. I guess everything is different when the people are engaged and proud of their worl.
      • work,
      • atj
        i encounter the same type of response a lot at work, especially when they ring and a real person without a script answers the phone
      • mayhem nods
      • yvanzo: i've updated the PR
      • added a "--base-http-url" argument with a default value, the "--base-ftp-url" argument no longer has a default but if specified has precedence over HTTP
      • yvanzo
        OK, looking into it
      • zas: forwarded you a mail about picard
      • atj
        hopefully it matches your thinking
      • mayhem
        taxes submitted. (I love having accountants do the actual work)
      • yvanzo
        atj: It looks neat. Did you test it somehow?
      • atj
        yvanzo: yes, let me add a comment to the PR
      • hah, I just did another test and it broke :)
      • forgot to update createdb.sh
      • yvanzo
        made a few comments
      • monkey
        Looks good for my stats lucifer
      • Nice work :)
      • The real proof will be with user ulkigpulkig and their all_time stats with the two beatles white albums
      • atj
        yvanzo: thanks, maybe we should just add a new --mirror-url option, which can support whatever wget allows, with no heuristics for automatically adding a protocol, and let base-ftp-url override it for backwards compatibility?
      • BrainzGit
        [listenbrainz-server] 14MonkeyDo merged pull request #2451 (03master…fix-lb-1189): LB-1189: YoutubePlayer: Use getVideoIDFromListen utility https://github.com/metabrainz/listenbrainz-serv...
      • atj
        that way we don't tie ourselves into HTTP, and can switch the default to HTTPS later without having to add /another/ argument
      • yvanzo
        atj: If adding HTTP option is simpler for now, I’m fine with adding it, releasing it today, and replacing it later on with something more robust.
      • atj
        i think adding a general option is actually easier
      • yvanzo
        I just added a ticket to track the improvement.
      • 👍
      • Zhele has quit
      • BrainzGit
        [listenbrainz-server] 14MonkeyDo merged pull request #2436 (03master…faraz16iqbal_feature_save-data-header): LB-1011: Don't load album covers if Save-Data HTTP header is on https://github.com/metabrainz/listenbrainz-serv...
      • yvanzo
        atj (apparently this message didn’t go through): We can do that too. These heuristics have been added because many people used to copy/paste URL without scheme.
      • But there are better ways to handle such oversight.
      • reosarevok
        yvanzo: is the blog ready to review? :)
      • yvanzo
        reosarevok: yes :)
      • reosarevok
        Ok!
      • (also, fwiw, at least with opera for some reason if you edit a URL to remove or change something, then copy it, it will copy it without scheme)
      • (no idea why)
      • yvanzo
        We might have a patch for musicbrainz-docker, so release is pending that too.
      • (release blog post)
      • reosarevok
        Ok :)
      • But that won't affect the post text, right? Just the link and whatnot
      • yvanzo
        right
      • reosarevok
        We usually remove "Other" from "other task" if there's no React tasks, right?
      • Made a couple small changes, but it seems good, thanks
      • Is it fine to merge approved stuff to master already then? :)
      • Or do you want to finish the docker + post process?
      • yvanzo
        reosarevok: I updated master with production, it is fine to merge stuff :)
      • reosarevok
        Thanks
      • mayhem: I can take today :)
      • BrainzGit
        [musicbrainz-server] 14reosarevok merged pull request #2754 (03master…MBS-12712): MBS-12712: Improve wording for new release adding on disc ID lookup https://github.com/metabrainz/musicbrainz-serve...
      • [musicbrainz-server] 14reosarevok merged pull request #2761 (03master…MBS-12738): MBS-12738 / MBS-12739: Don't assume "single" and "studio" are ETI unless inside parens https://github.com/metabrainz/musicbrainz-serve...
      • [musicbrainz-server] 14reosarevok merged pull request #2782 (03master…MBS-12785): MBS-12785: Wrap things sensibly on release sidebar https://github.com/metabrainz/musicbrainz-serve...
      • [musicbrainz-server] 14reosarevok merged pull request #2898 (03master…MBS-12989): MBS-12989 / MBS-12998: Edit list quick links improvements https://github.com/metabrainz/musicbrainz-serve...
      • [musicbrainz-server] 14reosarevok merged pull request #2773 (03master…MBS-12779): MBS-12779: Treat "n-bit" and "loop" as ETI if in parens https://github.com/metabrainz/musicbrainz-serve...
      • mayhem
        ok
      • CatQuest
        :D
      • reosarevok
        <BANG>