#metabrainz

/

      • opatel99
        Jinja?
      • 2015-12-28 36233, 2015

      • LordSputnik
        Leo_Verto: are you logged in? Did you leave your sesdion for a long time?
      • 2015-12-28 36252, 2015

      • Freso
        CallerNo6 | Freso, I might be the crazy cat lady of sortnames, but that doesn't mean that they're not broken (and that we're all doomed). -- ... what?
      • 2015-12-28 36211, 2015

      • zas
        CJ_: it is hardcoded i think, just use musicbrainz_user / musicbrainz for your postgresql user
      • 2015-12-28 36221, 2015

      • CJ_
        zas, Thanks.
      • 2015-12-28 36222, 2015

      • Leo_Verto
        LordSputnik, still logged in
      • 2015-12-28 36204, 2015

      • Gentlecat
        opatel99: I'm not sure what you mean by "run on cb/frontend"
      • 2015-12-28 36239, 2015

      • opatel99
        Gentlecat: Never mind that. My new concern is that gulp doesn't have a jinja compiling plugin
      • 2015-12-28 36245, 2015

      • CallerNo6
        Freso, akk, typo as usual. basically, sort name style is broken and we're all doomed :-)
      • 2015-12-28 36245, 2015

      • Gentlecat
        there's no package.json either, you just need to install less compiler
      • 2015-12-28 36249, 2015

      • CatQuest has quit
      • 2015-12-28 36211, 2015

      • Gentlecat
        why would you do that?
      • 2015-12-28 36227, 2015

      • Gentlecat
        these parts are unrelated
      • 2015-12-28 36209, 2015

      • opatel99
        I'm confused on what the task is supposed to do. I was under the assumption I was to make gulp compile JS and LESS
      • 2015-12-28 36230, 2015

      • Gentlecat
        what task are we talking about?
      • 2015-12-28 36240, 2015

      • opatel99
      • 2015-12-28 36241, 2015

      • gcibot
        CB: Set up build system for JavaScript and CSS || 3 days || Code || MetaBrainz Foundation
      • 2015-12-28 36259, 2015

      • Gentlecat
        right, Less and JavaScript/JSX
      • 2015-12-28 36220, 2015

      • Gentlecat
        Jinja templates shouldn't be involved in that
      • 2015-12-28 36254, 2015

      • Gentlecat
        probably should be similar to this https://github.com/metabrainz/acousticbrainz-serv…
      • 2015-12-28 36218, 2015

      • opatel99
        CB uses Javascript in Jinja right, or is there a directory of js files that I neglected to see. (Also, JSX is for React components. I don't think CB uses React)
      • 2015-12-28 36233, 2015

      • gcilou
        Is there any place in BB where you can just browse the database?
      • 2015-12-28 36229, 2015

      • Gentlecat
        no JSX then
      • 2015-12-28 36245, 2015

      • opatel99
        But where is the javascript located?
      • 2015-12-28 36227, 2015

      • Gentlecat
      • 2015-12-28 36255, 2015

      • Gentlecat
        other stuff is in templates and should be extracted into bundles
      • 2015-12-28 36251, 2015

      • opatel99
        All of the files in /static/js are already minified, but could be bundled. The concern about the templates is that gulp doesn't have a jinja plugin to extract the js from the jinja templates
      • 2015-12-28 36219, 2015

      • Gentlecat
        gulp doesn't need to extract JS from templates
      • 2015-12-28 36232, 2015

      • Gentlecat
        you need to do it yourself and add references
      • 2015-12-28 36245, 2015

      • opatel99
        Ohhh. For all the files?
      • 2015-12-28 36229, 2015

      • Gentlecat
        I'd think so. can't say for sure
      • 2015-12-28 36223, 2015

      • opatel99
        Just the scripts in the enclosed <script> tag?
      • 2015-12-28 36242, 2015

      • Gentlecat
        yeah
      • 2015-12-28 36201, 2015

      • opatel99
        Oh ok.
      • 2015-12-28 36205, 2015

      • opatel99
        I can do that then.
      • 2015-12-28 36231, 2015

      • Gentlecat
        look at that pull request I linked and MBS for reference
      • 2015-12-28 36252, 2015

      • Gentlecat
        this is kind of what I'm looking for
      • 2015-12-28 36255, 2015

      • opatel99
        Gentlecat: I get it now. At first I though I was to extract all the templating too. But now it is clarified to extract the inline script. Do you want all of those in separate files beforehand? event.js artist.js. <-- Before compiled
      • 2015-12-28 36252, 2015

      • Leo_Verto
        LordSputnik, Freso mentioned you tried uncluttering botbotme-web before but it ended up not working anymore, could you tell me what exactly you did?
      • 2015-12-28 36249, 2015

      • LordSputnik
        Leo_Verto: if I could remember I would :P
      • 2015-12-28 36208, 2015

      • opatel99
        Leo_Verto: Uncluttering how?
      • 2015-12-28 36225, 2015

      • LordSputnik
        I think the first step there would just be to upgrade to the latest version of botbot
      • 2015-12-28 36238, 2015

      • Leo_Verto
      • 2015-12-28 36255, 2015

      • reosarevok
        I might not make it home on time for the meeting and my phone battery is kinda empty. So just in case: Freso: my report is mostly "I was sick in bed all week and it was terrible"
      • 2015-12-28 36208, 2015

      • Leo_Verto
        opatel99, it was designed to be a public website and stuff like the registrations form don't work and are just not required for MeB
      • 2015-12-28 36229, 2015

      • LordSputnik
        Once you've done that I could ptobably re-apply the UI stuff I was working on
      • 2015-12-28 36253, 2015

      • Leo_Verto
        Hm, I think a merge would be more appropriate than a rebase here, wouldn't it?
      • 2015-12-28 36254, 2015

      • Freso
        opatel99: You did nothing wrong in completing work that someone else had been working on too. They abandoned the task to work on something else, so if you also finished work on the task, the task is yours for completing and counting in your "task pool".
      • 2015-12-28 36202, 2015

      • LordSputnik
        gcilou: there's no browse, but there will be regular data dumps when we write a script to do it
      • 2015-12-28 36210, 2015

      • CJ_
        zas, Either that is not the correct password or I did not grant permission correctly. I am still receiving the same error.
      • 2015-12-28 36214, 2015

      • Freso
        reosarevok: Read /topic. There's no meeting today.
      • 2015-12-28 36251, 2015

      • reosarevok
        Oh! Well good then :)
      • 2015-12-28 36257, 2015

      • Freso
        ;)
      • 2015-12-28 36240, 2015

      • Freso
        I figured that with people spread around and it being holiday season etc., it's just easier for people if they don't have to guarantee availability for an hour at a fixed time.
      • 2015-12-28 36201, 2015

      • Freso
        I wasn't sure I'd be around tonight either, though it looks like I will.
      • 2015-12-28 36201, 2015

      • CJ_
        Freso, What?! I was all set to give my status report! :(
      • 2015-12-28 36225, 2015

      • Freso
        CJ_: Save it and paste it in a week and 40 minutes. ;)
      • 2015-12-28 36232, 2015

      • CJ_
        It won't be the same. I will have done more.
      • 2015-12-28 36240, 2015

      • Freso
        So add to it.
      • 2015-12-28 36226, 2015

      • Leo_Verto
        LordSputnik, merged :D
      • 2015-12-28 36239, 2015

      • ariscop has quit
      • 2015-12-28 36248, 2015

      • chirlu`
        It’s certainly not forbidden to post progress reports during the non-meeting time.
      • 2015-12-28 36202, 2015

      • Freso
        chirlu`: True. :)
      • 2015-12-28 36254, 2015

      • bitmap
        odd, google is saying it's been crawling a large number of URLs similar to https://pastee.org/s75bc all of a sudden
      • 2015-12-28 36211, 2015

      • weeksio
        trying to setup musicbrainz server on my machine and ran into a problem with node dependencies
      • 2015-12-28 36253, 2015

      • weeksio
        I guess fsevents is mac only?
      • 2015-12-28 36254, 2015

      • chirlu`
        weeksio: You need npm ≥ 3.
      • 2015-12-28 36205, 2015

      • weeksio
        ah
      • 2015-12-28 36246, 2015

      • mjc_ has left the channel
      • 2015-12-28 36202, 2015

      • CJ_
        zas, Do you have a minute to take a look at the server and see what I am doing wrong?
      • 2015-12-28 36207, 2015

      • chirlu`
      • 2015-12-28 36242, 2015

      • bitmap
        heh. I had a slight suspicion it was albunack
      • 2015-12-28 36258, 2015

      • chirlu`
        Me too. :) Who else combines MB and Discogs?
      • 2015-12-28 36232, 2015

      • Freso
        I don't see pastee.org links on the page?
      • 2015-12-28 36210, 2015

      • Freso
        Or is the albunack thing something else?
      • 2015-12-28 36231, 2015

      • Freso
        ... Or is it not the actual pastee.org URL Google is indexing? -.-
      • 2015-12-28 36234, 2015

      • chirlu`
        Freso: It’s the clearly-labelled “here” link in the middle of the page.
      • 2015-12-28 36236, 2015

      • Freso opens the pastee.org link
      • 2015-12-28 36246, 2015

      • Freso
        chirlu`: Yeah, I understood the comment as being "https://pastee.org/s75bc" being crawled by Google, so I didn't open up the paste in the browser.
      • 2015-12-28 36253, 2015

      • Freso
        Everything makes more sense now.
      • 2015-12-28 36259, 2015

      • Freso
        Hail Aneris.
      • 2015-12-28 36220, 2015

      • drsaunde
        Hodor
      • 2015-12-28 36255, 2015

      • LordSputnik
        Valar morghulis
      • 2015-12-28 36219, 2015

      • dseomn has quit
      • 2015-12-28 36211, 2015

      • ariscop joined the channel
      • 2015-12-28 36226, 2015

      • dseomn joined the channel
      • 2015-12-28 36216, 2015

      • stanislas
        LordSputnik: :) I've a problem with creating a copy of a list member. I don't want it to change, when I remove things from this list. I've tried copy.copy(), copy.deepcopy() and even making some other requests, but it is still changing or doesn't working. Do you have some idea on what should I do ?
      • 2015-12-28 36207, 2015

      • opatel99
        Gentlecat: Can I get your suggestion of extracting the <scripts>. Do you want one .js for each file or a massive .js for the templates?
      • 2015-12-28 36221, 2015

      • gcilou
        LordSputnik: Does the BB team ever plan to make browsing a part of their site? It seems that it would be helpful
      • 2015-12-28 36242, 2015

      • Leo_Verto
        Uh, I think we had a ticket for that somewhere
      • 2015-12-28 36243, 2015

      • LordSputnik
        stanislas: Do you have some sample code to show what you're trying to do?
      • 2015-12-28 36258, 2015

      • stanislas
        No, I don't think that posting 200 lines is a good idea, I will create one in a moment
      • 2015-12-28 36207, 2015

      • LordSputnik
        gcilou: I've thought about it, but considering there are likely to eventually be lots of entities, browsing might be difficult. How do you think it should work?
      • 2015-12-28 36217, 2015

      • gcilou
        LordSputnik, browsing would probably be done best alphabetically by entity type, so if I wanted to look at the authors, I would browse the creators and either just scroll alphabetically or skip to a certain letter. I was trying to look at examples of data in BB and found it difficult to find something to look at. I just ended up looking up 'a' and then browsing through that.
      • 2015-12-28 36256, 2015

      • chirlu`
        We removed MusicBrainz’s simply browsing interface a while ago because it had become useless with millions of entries.
      • 2015-12-28 36200, 2015

      • chirlu`
        *simple
      • 2015-12-28 36239, 2015

      • gcilou
        For someone who doesn't know much about BB (like myself), I think a browse section would be helpful to understand what the project is
      • 2015-12-28 36244, 2015

      • chirlu`
        There is a new Explore feature from last year’s GSoC: https://bitbucket.org/metabrainz/musicbrainz-serv…
      • 2015-12-28 36204, 2015

      • stanislas
      • 2015-12-28 36243, 2015

      • gt joined the channel
      • 2015-12-28 36229, 2015

      • opatel99
        Gentlecat: For the bundles, do you want a build directory in the static folder?
      • 2015-12-28 36251, 2015

      • gcilou
        Change of subject: In BB in the entity editing pages, what is 'Disambiguation' used for? Is it necessary for every entity type?
      • 2015-12-28 36240, 2015

      • stanislas
        LordSputnik: ?
      • 2015-12-28 36217, 2015

      • ruaok
        Bitmap: looks like pingu isn't any better. :-(
      • 2015-12-28 36244, 2015

      • bitmap
        I saw :/ I'm taking it out of rotation
      • 2015-12-28 36202, 2015

      • bitmap
        it didn't freak out until I did the release
      • 2015-12-28 36251, 2015

      • ruaok
        I rebooted it yesterday too.
      • 2015-12-28 36213, 2015

      • ruaok
        May need to fire up dagon
      • 2015-12-28 36223, 2015

      • ruaok
        Or whatever it's name is.
      • 2015-12-28 36235, 2015

      • bitmap
        yeah, we're limping a bit with 3 machines
      • 2015-12-28 36243, 2015

      • CallerNo6
        There's a server named after a Lovecraftian Old One? Yay!
      • 2015-12-28 36207, 2015

      • opatel99
        LordSputnik: Can you explain how an HTML file knows which part of a bundle.js to look at after compressing with gulp? If variables conflict, wouldn't there be a problem?
      • 2015-12-28 36214, 2015

      • bitmap wonders why his ssh sessions into ernie time out so fast lately
      • 2015-12-28 36201, 2015

      • ruaok
        bitmap: I wonder if that is part of the socket things we've changed.
      • 2015-12-28 36211, 2015

      • ruaok
        which have done nothing in the grand scheme of things.
      • 2015-12-28 36256, 2015

      • chirlu`
        Yes, might be necessary to lower the keep-alive setting accordingly.
      • 2015-12-28 36255, 2015

      • Freso
        gcilou: Hello :)
      • 2015-12-28 36259, 2015

      • bitmap
        ah, I was wondering if it was my connection at first
      • 2015-12-28 36209, 2015

      • gcilou
        Hola Freso!
      • 2015-12-28 36240, 2015

      • bitmap
        I'm gonna put pingu back in and watch it
      • 2015-12-28 36255, 2015

      • Freso
        gcilou: I would imagine BB's disambiguation comments/fields to work very similar to MB's: https://wiki.musicbrainz.org/Disambiguation
      • 2015-12-28 36203, 2015

      • gcilou
        Thanks Freso, that helps!
      • 2015-12-28 36210, 2015

      • Freso
        legoktm: Is the "navigation" menu on the wiki "user" (ie., admin) editable? Or is that specified in some config file somewhere as well?
      • 2015-12-28 36204, 2015

      • weeksio has quit
      • 2015-12-28 36233, 2015

      • opatel99
        Freso: The sidebar?
      • 2015-12-28 36216, 2015

      • CallerNo6
      • 2015-12-28 36240, 2015

      • opatel99
        Gentlecat: Is base.html the only time the resources are called?
      • 2015-12-28 36257, 2015

      • Freso
        Gracias, CallerNo6 :)
      • 2015-12-28 36258, 2015

      • Freso
        CallerNo6: Does my edit make sense?
      • 2015-12-28 36236, 2015

      • CallerNo6
        Freso, makes sense to me. I /was/ wondering about the new logo, and why we went with a no-text version.
      • 2015-12-28 36229, 2015

      • gt has quit
      • 2015-12-28 36201, 2015

      • CallerNo6
        There still may be some caching something-something that requires legoktm-intervention.
      • 2015-12-28 36222, 2015

      • Freso
        I reckon if there's any caching, it'll catch up eventually.
      • 2015-12-28 36244, 2015

      • Freso
        It's not *that* important of a change that people absolutely must see it yesterday.
      • 2015-12-28 36238, 2015

      • Freso
        I was thinking though, should I add a third "section" as well for stuff like Jira, forums/discourse, chatlogs, ...
      • 2015-12-28 36204, 2015

      • Freso
        ("community"?)
      • 2015-12-28 36217, 2015

      • Freso
        stanislas gcilou opatel99, http://blog.musicbrainz.org/2015/12/28/server-upd… :) - some of your changes should be live on musicbrainz.org now!
      • 2015-12-28 36219, 2015

      • gcilou
        Yay!
      • 2015-12-28 36258, 2015

      • legoktm
        Freso, CallerNo6: I bumped up the cache timestamp so the sidebar update should show up for logged out users now
      • 2015-12-28 36241, 2015

      • Freso
        legoktm: You shouldn't have to though. As I said, it'll update on its own eventually. It's hardly a critical change. :)
      • 2015-12-28 36224, 2015

      • legoktm
        it'll update whenever something forces the page to re-render, which can easily take a long time :P
      • 2015-12-28 36200, 2015

      • Freso
        Sure.
      • 2015-12-28 36223, 2015

      • opatel99
        Woot!
      • 2015-12-28 36228, 2015

      • Gentlecat
        opatel99: which resources
      • 2015-12-28 36230, 2015

      • Gentlecat
        ?
      • 2015-12-28 36218, 2015

      • opatel99
        Gentlecat: I have a starter gulpfile.js. Could I send it to you to test?
      • 2015-12-28 36253, 2015

      • Gentlecat
        just create a pull request
      • 2015-12-28 36203, 2015

      • ariscop has quit
      • 2015-12-28 36209, 2015

      • Gentlecat
        I will take a look when I have time, or someone else will
      • 2015-12-28 36219, 2015

      • ariscop joined the channel