#metabrainz

/

      • Slurpee has quit
      • colbydray has quit
      • yeeeargh has quit
      • Freso|koume joined the channel
      • Slurpee joined the channel
      • JonnyJD has quit
      • Mineo has quit
      • D4RK-PH0ENiX has quit
      • gcilou has quit
      • JesseW joined the channel
      • LordSputnik
        Got a container running https://github.com/metabrainz/coverart_redirect successfully
      • D4RK-PH0ENiX joined the channel
      • D4RK-PH0ENiX has quit
      • D4RK-PH0ENiX joined the channel
      • Freso|koume has quit
      • Freso[koume] joined the channel
      • chirlu has quit
      • chirlu joined the channel
      • Hobbyboy has quit
      • Hobbyboy|BNC joined the channel
      • MajorLurker joined the channel
      • Hobbyboy|BNC is now known as Hobbyboy
      • fqtw_ joined the channel
      • FergusL has quit
      • fqtw has quit
      • FergusL joined the channel
      • ZarkBit has quit
      • ZarkBit joined the channel
      • gcilou joined the channel
      • Hobbyboy has quit
      • Leo_Verto has quit
      • Leo_Verto joined the channel
      • Hobbyboy joined the channel
      • Hobbyboy has quit
      • mihaitish joined the channel
      • JesseW has quit
      • mihaitish has quit
      • gcilou has quit
      • Freso[koume] has quit
      • FergusL has quit
      • ephemer0l has quit
      • ruaok has quit
      • alastairp has quit
      • MightyJay has quit
      • Slurpee has quit
      • regagain_ joined the channel
      • CallerNo6 has quit
      • fqtw_ is now known as fqtw
      • yeeeargh joined the channel
      • Mineo joined the channel
      • MajorLurker has quit
      • chrisskye joined the channel
      • smokeonthewater has quit
      • Mineo
        where are the events on the timeline stored in the source code of MBS?
      • JonnyJD joined the channel
      • chirlu
        Mineo: Nowhere, they are data (rows in statistics.statistic_event).
      • Freso[koume] joined the channel
      • Freso[koume]
        Huh. No ruaok.
      • reosarevok
        Freso[koume]: net-splitted at 8AM
      • Freso[koume]
        Ah.
      • chirlu
        7 am our time.
      • Freso[koume] has quit
      • FergusL joined the channel
      • chrisskye_ joined the channel
      • chrisskye_ has quit
      • kwikadi has quit
      • diana_olhovyk_ joined the channel
      • diana_olhovyk_ has quit
      • Mineo
        so the process to get new events on the timeline is basically "write some sql and send it to barcelona with a bag of chocolate"?:)
      • chirlu
        “Make a PR adding a one-time script to admin/sql/updates”, I’d say. But they won’t refuse chocolate either, I guess.
      • Hobbyboy joined the channel
      • Freso|koume joined the channel
      • colbydray joined the channel
      • chirlu joined the channel
      • JonnyJD has quit
      • djwhitey has quit
      • LordSputnik
        Leftmost: QuoraUK: I'll be 15 minutes late for the meeting today
      • Leftmost
        LordSputnik, alright.
      • QuoraUK
        LordSputnik: no problem
      • LordSputnik
        Leftmost: QuoraUK: ping
      • QuoraUK
        LordSputnik: Pong
      • Leftmost
        Pong.
      • LordSputnik
        How are you both?
      • Leftmost
        Not too bad, overall. Tired, though. Work is taking up all of my energy of late.
      • QuoraUK
        Alright, internet still busted >.<
      • cant move til tuesday now, I think i did jinx myself
      • Leftmost
        Eek.
      • LordSputnik, how's it with you?
      • LordSputnik
        Pretty good, but busy. I finished of OAuth and then closes PRs pretty much
      • *closed
      • Including one of the gamification ones and a lot of dependency upgrades
      • Freso|koume is here, too! :D
      • \o/
      • Leftmost
        Very nice.
      • QuoraUK
        rad :D
      • LordSputnik
        I'd like to close the OAuth PR by Monday evening - Leftmost, will you have had time to look at that point?
      • Leftmost
        Yeah, I spaced it this week but I can get to it today.
      • Sorry about the delay on that.
      • LordSputnik
        OK that's fine :)
      • I'm going to close more PRs and then start implementing Selenium browser tests over the next few days
      • QuoraUK
        LordSputnik: Finally got events firing :D. it was the silly thing :P
      • LordSputnik
        Ahhh OK good
      • QuoraUK
        oh, I also pushed the migrations up
      • LordSputnik
        The missing client JS stuff?
      • Slurpee joined the channel
      • QuoraUK
        the sql ones?
      • oh, yeah. that was it :P
      • LordSputnik
        Hmm. I'm not sure we should include the achievement type data in the migration
      • QuoraUK
        ok, I can move that somewhere else
      • LordSputnik
        However, we've never really done anything like this before (adding new types), so I don't really know the best way to do it
      • QuoraUK
        what do you recommend? A different migration file?
      • CallerNo6 joined the channel
      • LordSputnik
        I think either way you'll end up reading SQL to load the data in, so I guess it might as well be included in the migration
      • But that raises the question - should the types also be included in the schema SQL? Or a similar SQL file used when setting up the database for the first time
      • It seems strange to include something in a migration but not in the initial setup
      • QuoraUK: also, you'll probably want to add lines to drop all the foreign keys to your down.sql script, I think
      • QuoraUK
        Ahh, ok. I did look into that, I assumed those were dropped as well
      • ill get on that shortly
      • LordSputnik
        I'm not 100% sure but I don't think deleting the tables will work for that
      • Leftmost
        It seems like something that'd belong in initial setup, since it's data that could be present in a clean import.
      • chirlu has quit
      • LordSputnik
        OK, so perhaps we could make a new "create_type_data.sql" file in scripts/, and then add the achievement/title types to that along with all the other types in BB
      • or "create_initial_data.sql"
      • QuoraUK
        ok, would that script be called from anywhere in particular?
      • chirlu joined the channel
      • LordSputnik
        Nope, don't think so - it'd be up to users to call it manually if they need the initial data set up in the database
      • The alternative would be to import our official dump
      • QuoraUK
        alright, fair enough
      • LordSputnik
        (when it's publically available)
      • Once there's a docker script, we'll probably do something similar to what musicbrainz-docker does, and allow the user to specify whether to use dumps when setting up the container
      • if not, the initial data will get loaded in
      • QuoraUK
        that shounds like a good idea
      • JesseW joined the channel
      • LordSputnik
        On another note, my OAuth stuff introduces the "co" package to -site - I'm hoping eventually to convert more of our promise logic to use this
      • I'll start with the most complex stuff, because that's where we'll get the most benefit for readability and clarity of code
      • QuoraUK
        oh! I can probably make a move over to that as well
      • LordSputnik
      • Leftmost
        That's the generator spawner?
      • QuoraUK
        since I actually understand promises now :)
      • LordSputnik
        Leftmost: Yeah, it wraps generators and results in a new function returning a promise
      • (Or executes the wrapped generator function immediately, returning a promise)
      • QuoraUK: will definitely help if you have any long .then/.catch chains
      • QuoraUK
        yeah, Ill give it a shot next week perhaps, I think my aim to get better with git worked :P
      • the --patch thing is great :D
      • alright, do we want to get onto the controvesial achievements?
      • LordSputnik
        Yeah, one thing I've noticed though is that your branches do seem to still sometimes combine unrelated features - try to avoid that
      • Guest49514 has quit
      • Leftmost
        LordSputnik, nice. I'd looked at that briefly, but never tried it out.
      • QuoraUK
        yeah, Im working on multiple branches now
      • LordSputnik
        eg. the title hover thing and creation time achievements