#musicbrainz-devel

/

      • ocharles
        just ws/1 I think
      • djce
        ah. that should probably changed then
      • to cover all of /ws I think
      • ocharles nods
      • ocharles
        please throw a ticket at me and I'll get that sorted
      • djce
        will do
      • luks
        interesting, components/relationships.tt was never tested by html_ok
      • warp
        ocharles: I get conflicts merging master into next, is that expected?
      • ocharles
        it's possible
      • depends what's conflicting
      • warp
        CONFLICT (content): Merge conflict in lib/MusicBrainz/Server/Data/CoreEntity.pm
      • CONFLICT (add/add): Merge conflict in lib/MusicBrainz/Server/Data/Role/GetByGID.pm
      • ocharles
        mm, yea, I know why that is
      • let me finish this work and I'll merge master into next and resolve that
      • warp
        awesome, thanks
      • zazi joined the channel
      • ocharles
        warp: next updated
      • warp, djce: do you know if mail headers are case sensitive?
      • We add the 'BCC' header sometimes, but I'm wondering if it's not working because it should be 'Bcc'
      • djce
        I'd say it wouldn't matter
      • ocharles
        Hm
      • Well somewhere in our mail setup BCC isn't getting stripped out from the headers
      • nor is an additional mail being sent
      • djce
        send me your evidence and I'll take a look when I can
      • ocharles
        djce: https://gist.github.com/1014328 is the result of me dumping the email right before it gets to the sendmail function
      • wages joined the channel
      • warp
        ocharles: are you sure the sendmail function you're calling parses that from the headers?
      • ocharles
        well that's where To and From comes from so I can't see why not
      • warp
        ocharles: "If you don't specify recipients, it will use all the email addresses it can find in the To and Cc headers by default."
      • ocharles
        where are you reading this?
      • bignoise joined the channel
      • warp
      • via the documentation for Email::Sender::Simple
      • so Email::Sender::Simple parses the headers for you, but is limited in what it does for you.
      • ocharles
        hm
      • but looking at the source code, it should still be passing all headers through to sendmail
      • also, there's no way to do { bcc => 'blah' }, so I don't think that's it
      • warp
        /usr/sbin/sendmail doesn't do anything with headers
      • ocharles
        sure, but the whole message gets passed to the MTA I thought, which would look at headers?
      • warp
        ocharles: well, the /usr/sbin/postfix has a '-t' option to set recipients from headers, but in general /usr/sbin/sendmail did not generally do that for you.
      • ocharles
        hum, well I dunno what to do then :)
      • warp
        ocharles: normally you would have to set the recipients and the envelope sender on the command line.
      • ocharles
        i'll ask rjbs and see what he says
      • warp
        ocharles: I expect there's a CPAN module which does all that stuff for you, but Email::Sender::Simple is not it.
      • ocharles
        Email::Sender::Simple is part of Email::Sender, but that doesn't look like it has a method either
      • warp
        ocharles: Mail::Sender seems to do it, but that's probably using SMTP as the transport.
      • ocharles
        mm
      • i'll leave it til rjbs gets back to me, probably have better things to do than chase this down
      • warp nods.
      • reosarevok joined the channel
      • ruaok joined the channel
      • hawke_ joined the channel
      • aeontech joined the channel
      • ijabz joined the channel
      • voiceinsideyou1 joined the channel
      • voiceinsideyou joined the channel
      • warp
        ocharles: I'm looking into some performance issues. what would be the best way to profile mbserver?
      • ruaok joined the channel
      • oh, a new index helps quite a lot.
      • ocharles: I'd like to discuss MBS-2347 with you at some point, I think it needs a new indexes on artist_name and label_name.
      • ruaok
        I like more indexes. :)
      • I wonder how many other 502s can be taken care of with more indexes. :)
      • warp
        hah
      • haha
      • ijabz
        Quite a few I hope (but maybe we could cut down no of queries, clever queries as well)
      • ruaok wasn't kidding
      • warp
        ruaok: I guess our benefit is that many writes which deal with those tables are done through modbot, and thus don't need to be super fast.
      • ijabz
        ruaok: Did you do a new search deploy for me ?
      • ruaok
        but, modbot is grouchy enough. maybe some indexes will help his (her?) disposition. :)
      • ijabz: its 50% done. :)
      • warp
        lol
      • ruaok
        new indexes should be out, I just need to update the search servers.
      • ijabz
        So the new index builder code is already done, and indexes have been built with that code ?
      • Coz if that is the case my fix hasnt worked :(
      • ruaok
        new indexes have been built, but no new code pushed out.
      • I'll do that in a minute.
      • ocharles
        I'm heading up to a friends now for an hour or so
      • warp: we can discuss it when I get back, if that's ok with you?
      • (then we can do the release, etc)
      • will try and be back for 7:30 bst, toodles!
      • ruaok nods
      • warp
        ocharles: sure
      • warp pays bills
      • ijabz
        oh right, (there will be no fix until the indexes have been built with the new code)
      • ppawel joined the channel
      • ruaok
        the indexes have already been built with new code.
      • Batsy
        ruaok: emailed design doc last night, let me know when you've had a chance to look over it
      • ruaok
        Batsy: will do. you're next on the list after updating the search server.
      • and thx! :)
      • Batsy
        okay :)
      • Batsy is going to go take a quick shower, will be back ~10 mins or so
      • ruaok
        eww. stinky girl. :)
      • ijabz: one server update and live now.
      • sanity check please?
      • both servers updated now.
      • ijabz
        Yeah, should have fixed http://tickets.musicbrainz.org/browse/SEARCH-70, but hasn't
      • reosarevok
        ruaok: why this agenda? Is there a meeting today?
      • ruaok sees no agenda
      • ijabz
        My fix must be wrong then , if te ewn code was used to build indexes, cant see it though
      • Oh well, Im off on a bike ride now to lose a few pounds
      • reosarevok
        I see "agenda: SEARCH-65, MBS-390, MBS-2294" on the room description…
      • ruaok
        feck. indexes have not been updating at all. :(
      • reosarevok kinda suspected that but forgot to say
      • reosarevok
        (an artist I added 10 hours ago is still not indexed)
      • ijabz
        oh, ok i'll catchup with u later
      • aeontech joined the channel
      • ruaok
        yay. travel visa. sweet!
      • 23 */3 * * * root ulimit -n 10240 ; exec su -l -c 'build.cron' search
      • */3
      • wow.
      • ianmcorvidae
        yup
      • any number divisible by three
      • ianmcorvidae uses */5 for my email-download script
      • ruaok
        I guess now we need to wait 63 minutes to find out if the stuck cron process was the culprit
      • well, the build process works. not sure why cron got stuck.
      • zazi joined the channel
      • MBChatLogger
        is logging
      • niven.freenode.net
        Users on #musicbrainz-devel: MBChatLogger zazi aeontech ppawel ruaok voiceinsideyou reosarevok bignoise dinog shultz luks Mineo warp Batsy murdos Leftmost kurtjx nikki bitmap davitf flamingspinach ianmcorvidae Muz enjayhch sampsyo ocharles lfranchi
      • ruaok
        Batsy: I'm reading the design doc now
      • Batsy
        okay.
      • ruaok
        I like what I see, good work.
      • but there are a few things we ought to address.
      • Batsy nod
      • what is the &callback=<identifier> argument on the URL?
      • ianmcorvidae
        jsonp callback
      • presumably
      • Batsy
        yes, that
      • ruaok
        so thats the name of the function that will wrap the json data?
      • Batsy
        yup.
      • ruaok
        does it need to by dynamic?
      • can't we just pick one and use it consistently everywhere?
      • Batsy
        probably
      • it needs to be if it's jquery calling the jsonp
      • ruaok
        needs to be what?
      • Batsy
        dynamic
      • ruaok
        why?
      • ianmcorvidae
        jquery autogenerates the name
      • you don't provide a name to it
      • Batsy was typing, but what he said, basically :P
      • ruaok
        huh. so jquery tells you what the callback name needs to be on a per call basis?
      • Batsy
        it generates a name to use, so
      • ruaok
        interesting. I'm sure it has a good reason to do that.
      • or at least I hope so.
      • ianmcorvidae
        looks like you can pass it a callback name, looking at it, but it's not recommended
      • "It is preferable to let jQuery generate a unique name as it'll make it easier to manage the requests and provide callbacks and error handling."
      • ruaok
        ok
      • ianmcorvidae now bugs off and lets you two talk without me interrupting :P
      • lol