#metabrainz

/

      • samj1912 has no idea how a typical git-docker-dev workflow works when you are making changes, testing, etc
      • 2017-10-09 28259, 2017

      • samj1912
        okay
      • 2017-10-09 28210, 2017

      • ruaok
        let me finish one thing, than I can help you look at it.
      • 2017-10-09 28214, 2017

      • samj1912
        cool
      • 2017-10-09 28220, 2017

      • samj1912
        ill go have dinner meanwhile
      • 2017-10-09 28209, 2017

      • ruaok
        which is the project from which you do the docker-compose?
      • 2017-10-09 28236, 2017

      • samj1912
      • 2017-10-09 28213, 2017

      • samj1912
        and the bug is in this project https://github.com/metabrainz/mb-solrquerywriter which I want to fix/test
      • 2017-10-09 28238, 2017

      • samj1912
        I guess I should just git clone all the project and change the dockerfile to build from localfiles instead of using git
      • 2017-10-09 28248, 2017

      • samj1912
        s/project/related projects
      • 2017-10-09 28222, 2017

      • samj1912
        how is this normally maintained? between dev/testing and prod?
      • 2017-10-09 28242, 2017

      • samj1912 looks at some existing projects
      • 2017-10-09 28207, 2017

      • ruaok
        yeah, normally what we do is build from the local dir into a container.
      • 2017-10-09 28216, 2017

      • ruaok
        not sure why gentlecat did it this way.
      • 2017-10-09 28239, 2017

      • samj1912
        okay, so in this case, we need to clone all the repos first and then change the dockerfile to build from localdirs
      • 2017-10-09 28244, 2017

      • ruaok
        each project that creates a docker image should have a Dockerfile
      • 2017-10-09 28251, 2017

      • samj1912
        okay
      • 2017-10-09 28202, 2017

      • samj1912
        so I should be dockerizing all the related solr projects?
      • 2017-10-09 28218, 2017

      • samj1912
        and then using docker compose to put them all together in docker-solr?
      • 2017-10-09 28234, 2017

      • ruaok
        kinda.
      • 2017-10-09 28253, 2017

      • ruaok
        start by copying the bits from docker-solr project into the individual projects.
      • 2017-10-09 28258, 2017

      • samj1912
        okay
      • 2017-10-09 28210, 2017

      • ruaok
        you can start by copying the Dockerfile and removing the bits not relevant to the current repo.
      • 2017-10-09 28217, 2017

      • samj1912
        cool
      • 2017-10-09 28204, 2017

      • ruaok
        the the docker-solr project could be replaced by a shell script, that does a series of "docker run ..." invocations for the containers.
      • 2017-10-09 28224, 2017

      • ruaok
        take the first stab at a dockerfile, then pastbin that. I'll have a look.
      • 2017-10-09 28210, 2017

      • agentsim joined the channel
      • 2017-10-09 28202, 2017

      • bitmap
        solr needs the mmd-schema and querywriter installed inside its container though
      • 2017-10-09 28204, 2017

      • ruaok
        oh, bummer.
      • 2017-10-09 28211, 2017

      • ruaok
        any tips on how to make this more dev friendly?
      • 2017-10-09 28221, 2017

      • agentsim has quit
      • 2017-10-09 28238, 2017

      • ruaok
        sub-repos?
      • 2017-10-09 28232, 2017

      • bitmap
        submodules would let you make changes without pushing to github at least (though they are v.annoying in other ways)
      • 2017-10-09 28246, 2017

      • samj1912
        Very.
      • 2017-10-09 28222, 2017

      • samj1912
        It's a pain dealing with picard plugins and picard when I want to test
      • 2017-10-09 28231, 2017

      • ruaok
        well, the only other option I can think of is to not using containers at all.
      • 2017-10-09 28245, 2017

      • ruaok
        that sucks for another reason
      • 2017-10-09 28244, 2017

      • bitmap mostly just avoids docker for development entirely
      • 2017-10-09 28217, 2017

      • ruaok
        samj1912: I guess just go install it without docker. :-/
      • 2017-10-09 28227, 2017

      • samj1912
        I tried investing time in using docker while developing but it was too cumbersome and I quit :p. This was supposed to be my retry at it. It makes sense while deploying in prod. though
      • 2017-10-09 28231, 2017

      • samj1912
        Okay!
      • 2017-10-09 28221, 2017

      • bitmap
        it's totally awesome for prod, just kinda sucks for dev if you wanna make changes & iterate quickly on those
      • 2017-10-09 28219, 2017

      • samj1912
        Cool, so I'll set one instance on my laptop with limited data and the full version on the vm
      • 2017-10-09 28241, 2017

      • ruaok
        should I just stop the VM for the time being, since you're not going to use it?
      • 2017-10-09 28236, 2017

      • samj1912
        yeah sure
      • 2017-10-09 28242, 2017

      • KodeStar has quit
      • 2017-10-09 28258, 2017

      • Kode_ joined the channel
      • 2017-10-09 28203, 2017

      • rembo10 has quit
      • 2017-10-09 28246, 2017

      • rembo10 joined the channel
      • 2017-10-09 28205, 2017

      • Dalek_ joined the channel
      • 2017-10-09 28233, 2017

      • Nyanko-sensei has quit
      • 2017-10-09 28234, 2017

      • d4rkie joined the channel
      • 2017-10-09 28240, 2017

      • iliekcomputers
        Freso: I'm traveling to college today, so might not make it to the meeting. I've sent my review. Sorry!
      • 2017-10-09 28209, 2017

      • Dalek_ has quit
      • 2017-10-09 28248, 2017

      • Dalek_ joined the channel
      • 2017-10-09 28201, 2017

      • agentsim joined the channel
      • 2017-10-09 28216, 2017

      • agentsim has quit
      • 2017-10-09 28229, 2017

      • Dalek_ has quit
      • 2017-10-09 28226, 2017

      • github joined the channel
      • 2017-10-09 28226, 2017

      • github
        [musicbrainz-server] yvanzo closed pull request #556: Report limited editors to admin and only to admin (master...mbs-9357-part-2-admin-report) https://git.io/vdsTQ
      • 2017-10-09 28226, 2017

      • github has left the channel
      • 2017-10-09 28233, 2017

      • Dalek_ joined the channel
      • 2017-10-09 28255, 2017

      • drsaunde joined the channel
      • 2017-10-09 28225, 2017

      • samj1912
        Freso: added a bunch of picard tasks https://wiki.musicbrainz.org/Google_Code-in/2017/…
      • 2017-10-09 28229, 2017

      • samj1912
        will add more over time
      • 2017-10-09 28246, 2017

      • Dalek_ has quit
      • 2017-10-09 28237, 2017

      • Sophist_UK is now known as Sophist-UK
      • 2017-10-09 28216, 2017

      • Dalek_ joined the channel
      • 2017-10-09 28258, 2017

      • Dalek_ has quit
      • 2017-10-09 28227, 2017

      • chhavi_
        I am trying to make a musicbrainz wiki account and it's giving me a "401 Authorization Required". What is that I must be doing wrong?
      • 2017-10-09 28245, 2017

      • chhavi_
        got it done! :) ^
      • 2017-10-09 28232, 2017

      • reosarevok
        (we know that bit sucks)
      • 2017-10-09 28236, 2017

      • reosarevok
        (but now you know too :D )
      • 2017-10-09 28220, 2017

      • chhavi_
        Hehe yes. For once being a noob is helping to be more proficient in work! :D
      • 2017-10-09 28257, 2017

      • chhavi_
        reosarevok: Is there a specific reason we have that authentication pop up there, where we have to enter "NOTSPAM" as username &password? Can we have alternate authentication way there?
      • 2017-10-09 28231, 2017

      • reosarevok
        Well, we did have a spam problem back in the day
      • 2017-10-09 28242, 2017

      • agentsim joined the channel
      • 2017-10-09 28223, 2017

      • reosarevok
        I'm not sure it'd even matter now, it seems spammers are busy with the main site, but it might not be worth bothering if we're looking into moving the docs out of the wiki and/or implementing single sign in with the MB account
      • 2017-10-09 28254, 2017

      • chhavi_
        Oh so we need not worry about it. We are getting it fixed with the single sign in!? :)
      • 2017-10-09 28219, 2017

      • Dalek_ joined the channel
      • 2017-10-09 28221, 2017

      • reosarevok
        Well, I'd surely hope so
      • 2017-10-09 28233, 2017

      • reosarevok
        I mean it's not like spammers haven't figured out how to create a MB account
      • 2017-10-09 28248, 2017

      • agentsim has quit
      • 2017-10-09 28255, 2017

      • reosarevok
        But I'd like to think they would actually not go spam the wiki with it
      • 2017-10-09 28245, 2017

      • chhavi_
        reosarevok: Okay for now, I will just go on making a list of pitfalls as a new user that I find, and then maybe later we can figure which one needs fixing!
      • 2017-10-09 28252, 2017

      • reosarevok
        Sounds good to me :)
      • 2017-10-09 28216, 2017

      • Dalek_ has quit
      • 2017-10-09 28254, 2017

      • Dalek_ joined the channel
      • 2017-10-09 28204, 2017

      • Freso
        samj1912: Thanks! :)
      • 2017-10-09 28203, 2017

      • Freso
        And even if they do go to spam the wiki, we can delete the root account.
      • 2017-10-09 28204, 2017

      • Freso
        Also.
      • 2017-10-09 28204, 2017

      • Freso
        <BANG>
      • 2017-10-09 28207, 2017

      • Freso
        Hi!
      • 2017-10-09 28247, 2017

      • Freso
        Lots of people have mailed in reviews today, but I hope that most people have arrived safely home from the summit by now (except for the ones intentionally not going home)!
      • 2017-10-09 28206, 2017

      • samj1912
        hello o/
      • 2017-10-09 28235, 2017

      • Freso
        So.
      • 2017-10-09 28238, 2017

      • Freso
        zas says:
      • 2017-10-09 28239, 2017

      • Freso
        """
      • 2017-10-09 28248, 2017

      • Freso
        I came back from the awesome bcn summit, set up gcloud VMs for loujine's visualizations, with the help of ruaok (a MB replicating database is now available on gcloud to be used by others VMs).
      • 2017-10-09 28248, 2017

      • Freso
        I set up few more nagios alerts concerning SSL certificates expiration.
      • 2017-10-09 28248, 2017

      • Freso
        I restored qnap IP blacklist, to reduce useless network traffic and load on gateways.
      • 2017-10-09 28248, 2017

      • Freso
        Googlebot indexation started over few days ago, that's something like 8M hits per day. It explains the higher than usual loads we have on servers.
      • 2017-10-09 28248, 2017

      • Freso
        I did security upgrades and usual supervision. Discourse was upgraded too.
      • 2017-10-09 28249, 2017

      • Freso
        I'm flying to SFO today, going to Google headquarters on Friday for gsoc mentor summit. Tourist/zombie mode enabled this start of week.
      • 2017-10-09 28250, 2017

      • Freso
        """
      • 2017-10-09 28256, 2017

      • Freso
        ferbncode says:
      • 2017-10-09 28258, 2017

      • Freso
        """
      • 2017-10-09 28206, 2017

      • Freso
        For this week I don't have much to report, but during the summit week, I completed dockerizing acousticbrainz [AB-297](thanks iliekcomputers for the help). Other than that, added some GCI tasks for CB. Also started some work on CB-270.
      • 2017-10-09 28207, 2017

      • BrainzBot
      • 2017-10-09 28207, 2017

      • BrainzBot
        CB-270: Add support for reviewing (or atleast rating) more entities https://tickets.metabrainz.org/browse/CB-270
      • 2017-10-09 28209, 2017

      • Freso
        """
      • 2017-10-09 28213, 2017

      • Freso
        Uhm.
      • 2017-10-09 28217, 2017

      • Freso
        LordSputnik says:
      • 2017-10-09 28219, 2017

      • Freso
        """
      • 2017-10-09 28227, 2017

      • Freso
        This week I thought about form validation, which we need to finish off the new entity editing forms. I've started putting together a validator for the publisher form, which should be done soon.
      • 2017-10-09 28227, 2017

      • Freso
        This validator can be run client side and server side, and should improve server reliability and allow us to give better feedback to users on the editing form.
      • 2017-10-09 28227, 2017

      • Freso
        After this, I'll write validators for the remaining entities. Once that's done, we'll test and do a new site release. And then I'll be moving in to writing the new relationship editor.
      • 2017-10-09 28229, 2017

      • Freso
        """
      • 2017-10-09 28231, 2017

      • Freso
        And last one!
      • 2017-10-09 28236, 2017

      • Freso
        iliekcomputers says:
      • 2017-10-09 28238, 2017

      • Freso
        """
      • 2017-10-09 28247, 2017

      • Freso
        I'm traveling to college today so will probably not make it to the meeting. This week, I made a couple minor fixes in the metabrainz.org site, did some code review for AB and LB, addressed some code review in LB for my PRs.
      • 2017-10-09 28248, 2017

      • Freso
        """
      • 2017-10-09 28202, 2017

      • CatQuest joined the channel
      • 2017-10-09 28202, 2017

      • CatQuest has quit
      • 2017-10-09 28202, 2017

      • CatQuest joined the channel
      • 2017-10-09 28203, 2017

      • Freso
        Thanks zas, ferbncode, LordSputnik, and iliekcomputers!
      • 2017-10-09 28212, 2017

      • Freso
        samj1912: Go!
      • 2017-10-09 28215, 2017

      • CatQuest
        hello that was weir
      • 2017-10-09 28217, 2017

      • CatQuest
        d
      • 2017-10-09 28220, 2017

      • samj1912
        Hello o/
      • 2017-10-09 28231, 2017

      • samj1912
        got back home today
      • 2017-10-09 28229, 2017

      • samj1912
        starting to gear up back in action, just finished setting up the solr repo on my local machine and solcing a solr bug SOLR-49
      • 2017-10-09 28229, 2017

      • BrainzBot
        SOLR-49: NULL point exception in the write method on non existing fields https://tickets.metabrainz.org/browse/SOLR-49
      • 2017-10-09 28240, 2017

      • samj1912
        also fixed up the GCI page for picard and added myself as a mentor
      • 2017-10-09 28242, 2017

      • samj1912
        done
      • 2017-10-09 28245, 2017

      • samj1912
        Freso: go
      • 2017-10-09 28259, 2017

      • Freso
        🙋
      • 2017-10-09 28203, 2017

      • Freso
        So in the last two weeks since the last meeting, I think the most prominent thing that happened for me was attending the summit - and organising the live streaming of it.
      • 2017-10-09 28230, 2017

      • ruaok
        nicely done on the streaming!
      • 2017-10-09 28245, 2017

      • Freso
        For anyone who missed it, the streams can be seen at https://www.youtube.com/playlist?list=PLDFCBbxgWJ…
      • 2017-10-09 28254, 2017

      • Freso
        ruaok: Cheers. :)
      • 2017-10-09 28210, 2017

      • CatQuest is also here. somehow
      • 2017-10-09 28227, 2017

      • Freso
        Other than that, I helped a bit with the classical cleanup post, made a blog post about the stream, did some Twitter stuff, looked a bit into OTHER-302, and did some Discourse version updating.
      • 2017-10-09 28227, 2017

      • BrainzBot
        OTHER-302: Add links to MB user pages on Discourse profiles https://tickets.metabrainz.org/browse/OTHER-302
      • 2017-10-09 28240, 2017

      • Freso
        I was also in a bit of conversation with Wikimedia Commons about updating the logos we had at their MusicBrainz page (which I also got made into a #REDIRECT to MetaBrainz (it used to be the other way around)).
      • 2017-10-09 28257, 2017

      • Freso
        Still a bit more to do there, but nothing insurmountable.
      • 2017-10-09 28224, 2017

      • Freso
        I added some spam tickets related to some pre-summit discussions about the spam situation.
      • 2017-10-09 28205, 2017

      • Freso
        Related to which, I've been declared Spam Sensei - but I think we'll talk more about that at a later point (probably a blog post?) once some more of the needed development behind it has been done.
      • 2017-10-09 28218, 2017

      • Freso
        It's a bit too much to talk about during reviews anyway.