#musicbrainz-devel

/

      • ruaok joined the channel
      • 2010-01-09 00950, 2010

      • pronik` joined the channel
      • 2010-01-09 00915, 2010

      • osmosis joined the channel
      • 2010-01-09 00902, 2010

      • pronik`` joined the channel
      • 2010-01-09 00945, 2010

      • ijabz joined the channel
      • 2010-01-09 00958, 2010

      • ijabz joined the channel
      • 2010-01-09 00912, 2010

      • nikki__ joined the channel
      • 2010-01-09 00914, 2010

      • ruaok joined the channel
      • 2010-01-09 00957, 2010

      • ijabz joined the channel
      • 2010-01-09 00956, 2010

      • djce joined the channel
      • 2010-01-09 00915, 2010

      • nikki_ joined the channel
      • 2010-01-09 00932, 2010

      • nikki_ joined the channel
      • 2010-01-09 00942, 2010

      • Sinogn joined the channel
      • 2010-01-09 00944, 2010

      • Sinogn
        hello
      • 2010-01-09 00955, 2010

      • luks
        hi
      • 2010-01-09 00912, 2010

      • Sinogn
        i am on http://musicbrainz.org/doc/DatabaseDownload there was a ftp path, but i cant seem to find it
      • 2010-01-09 00922, 2010

      • Sinogn
        i want to get the updated db's
      • 2010-01-09 00942, 2010

      • luks
        all the .bz2 file names are links
      • 2010-01-09 00959, 2010

      • Sinogn
        so they are the latest ?
      • 2010-01-09 00924, 2010

      • luks
        they are just links where you select your mirror, etc.
      • 2010-01-09 00932, 2010

      • luks
        and that will point you to the FTP
      • 2010-01-09 00903, 2010

      • Sinogn
        ok great, i thought it will download and didnt click on them, silly me
      • 2010-01-09 00918, 2010

      • Sinogn
        its been awhile since i used the db, kind of slipped my memory, does it include the genre for tracks ?
      • 2010-01-09 00941, 2010

      • luks
        not directly
      • 2010-01-09 00959, 2010

      • luks
        there are tags, which might contain genres
      • 2010-01-09 00915, 2010

      • Sinogn
        so if say i want to find what genre Pearl Jam - Last Kiss is ?
      • 2010-01-09 00927, 2010

      • Sinogn
        as an example
      • 2010-01-09 00933, 2010

      • luks
        you can't do that in general
      • 2010-01-09 00945, 2010

      • luks
        and MB will not help you with impossible things :)
      • 2010-01-09 00923, 2010

      • Sinogn
        ok so its in tags
      • 2010-01-09 00924, 2010

      • luks
        I can guarantee you that even we two wouldn't agree on what genre the song it
      • 2010-01-09 00937, 2010

      • luks
        is
      • 2010-01-09 00940, 2010

      • Sinogn
        no thats fine, i just need to get some value
      • 2010-01-09 00954, 2010

      • Sinogn
        my music is genreless, lol
      • 2010-01-09 00958, 2010

      • luks
        tags should work then
      • 2010-01-09 00903, 2010

      • luks
        but you need to filter them
      • 2010-01-09 00913, 2010

      • luks
        because users are free to use them for whatever purpose
      • 2010-01-09 00914, 2010

      • Sinogn
        ok just want to make sure before i spend the next few hours recreating the db
      • 2010-01-09 00940, 2010

      • Sinogn
        first time i did it on windows, not on nix oh joy
      • 2010-01-09 00938, 2010

      • Sinogn
        thanks ill be back if there is any issues
      • 2010-01-09 00940, 2010

      • Sinogn has left the channel
      • 2010-01-09 00939, 2010

      • nikki joined the channel
      • 2010-01-09 00954, 2010

      • nikki joined the channel
      • 2010-01-09 00901, 2010

      • warp
        aCiD2: any idea how I can instantiate a MusicBrainz::Server::Data::Editor from a commandline script? (no catalyst running).
      • 2010-01-09 00941, 2010

      • aCiD2
        warp: You'll need to use MusicBrainz::Server::Test->create_test_context and use that
      • 2010-01-09 00949, 2010

      • aCiD2
        like in the t/data* unit tests
      • 2010-01-09 00927, 2010

      • pronik
        aCiD2: not that it matters currently, but I've tried running dbix-class-schema-loader with the mb database and it generated a bunch of really nice classes
      • 2010-01-09 00933, 2010

      • pronik
        could be a task for ngs+1
      • 2010-01-09 00906, 2010

      • pronik
        (background being: we are starting playing with dbix::class at work so I wanted to experiment a bit)
      • 2010-01-09 00945, 2010

      • warp
        aCiD2: thanks, I'll try that.
      • 2010-01-09 00914, 2010

      • aCiD2
        pronik: Yea, DBIx::Class is nice, but it takes quite a bit to get to work as well as what we have atm
      • 2010-01-09 00933, 2010

      • aCiD2
        I'm waiting for the new Moose version to come before I even consider that, certainly ngs+x, where x > 1
      • 2010-01-09 00910, 2010

      • pronik
        you mean the dbix-class based on moose? yes, that'd be very nice, however, I couldn't find any metions about actually producing code for that
      • 2010-01-09 00938, 2010

      • pronik
        I sure hope I have enough dbix-class experience when mb moves to it ;)
      • 2010-01-09 00920, 2010

      • aCiD2
        It hasn't started being done yet, heh
      • 2010-01-09 00932, 2010

      • aCiD2
        well, we have no plans to move to it yet
      • 2010-01-09 00941, 2010

      • aCiD2
        If anything I want to refactor our stuff more atm
      • 2010-01-09 00907, 2010

      • luks
        it's actually MB::S::Contect->create_script_context();
      • 2010-01-09 00915, 2010

      • luks
        see for example admin/RunReports.pl
      • 2010-01-09 00902, 2010

      • warp
        luks: ah, that sounds much better
      • 2010-01-09 00939, 2010

      • pronik
        aCiD2: I've seen you've killed a lot of module cruft recently
      • 2010-01-09 00948, 2010

      • pronik
        any chance you could do the same for templates too?
      • 2010-01-09 00956, 2010

      • aCiD2
        pronik: Yea, i was planning to do that
      • 2010-01-09 00957, 2010

      • aCiD2
        I'll do that now
      • 2010-01-09 00918, 2010

      • pronik
        niiiiceee :)
      • 2010-01-09 00919, 2010

      • pronik
        thanks
      • 2010-01-09 00903, 2010

      • nikki
        yay
      • 2010-01-09 00910, 2010

      • nikki has been waiting for that too
      • 2010-01-09 00949, 2010

      • ruaok joined the channel
      • 2010-01-09 00942, 2010

      • Sinogn joined the channel
      • 2010-01-09 00911, 2010

      • Sinogn
        ok ran into a bit of an issue, bit wondering if i use http://bugs.musicbrainz.org/browser/mb_server/tru… is it compliant with the db archives ?
      • 2010-01-09 00943, 2010

      • nikki
        no
      • 2010-01-09 00957, 2010

      • nikki
        you want branches/RELEASE-20090524 or whatever it is
      • 2010-01-09 00913, 2010

      • aCiD2
        ok pronik, that's about 30 templates killed :)
      • 2010-01-09 00924, 2010

      • Sinogn
        im not seeing a branches folder
      • 2010-01-09 00940, 2010

      • aCiD2
      • 2010-01-09 00904, 2010

      • Sinogn
        i got a feeling this is going to be painful
      • 2010-01-09 00946, 2010

      • aCiD2
        to do what?
      • 2010-01-09 00957, 2010

      • Sinogn
        to create a replicate database
      • 2010-01-09 00902, 2010

      • Sinogn
        just the data
      • 2010-01-09 00929, 2010

      • Sinogn
        mainly coz i am on windows
      • 2010-01-09 00954, 2010

      • Sinogn
        how can i download that folder ?
      • 2010-01-09 00922, 2010

      • pronik
        aCiD2: awesome!
      • 2010-01-09 00934, 2010

      • pronik
        committed already?
      • 2010-01-09 00905, 2010

      • pronik
        you could try doing a "rm mb_server.pot && make" in the po/ dir before commit
      • 2010-01-09 00906, 2010

      • aCiD2
        not yet
      • 2010-01-09 00915, 2010

      • aCiD2
        I'm makng sure all the tests pass first
      • 2010-01-09 00904, 2010

      • pronik wonders how many strings get axed with those templates
      • 2010-01-09 00903, 2010

      • aCiD2
        I don't think a huge amount as the old templates weren't i18n anyway
      • 2010-01-09 00907, 2010

      • aCiD2
        we shall see
      • 2010-01-09 00946, 2010

      • pronik
        anyway, that's one step closer to the call for translators...
      • 2010-01-09 00954, 2010

      • pronik
        another one being language selector...
      • 2010-01-09 00922, 2010

      • aCiD2
        massive wtf from this test output atm
      • 2010-01-09 00921, 2010

      • pronik
        something unexpected?
      • 2010-01-09 00933, 2010

      • aCiD2
        Well the unit test for editing label id=3 ends up editing label 2
      • 2010-01-09 00932, 2010

      • aCiD2
        pronik: what provides xgettext?
      • 2010-01-09 00906, 2010

      • pronik
        like in "which programm extracts our string"?
      • 2010-01-09 00909, 2010

      • pronik
        *strings?
      • 2010-01-09 00938, 2010

      • aCiD2
        gettext too old, not updating the pot file
      • 2010-01-09 00942, 2010

      • pronik
        it's the po/extract_pot, should be set executable in svn properties btw
      • 2010-01-09 00945, 2010

      • pronik
        oh
      • 2010-01-09 00950, 2010

      • pronik
        wait a sec..
      • 2010-01-09 00930, 2010

      • pronik
        oh, right, "gettext" package
      • 2010-01-09 00911, 2010

      • aCiD2
        i have that, 0.17
      • 2010-01-09 00918, 2010

      • pronik
        0.17, got that too
      • 2010-01-09 00928, 2010

      • pronik
        arch?
      • 2010-01-09 00954, 2010

      • aCiD2
        nvm! brew didn't install it properly
      • 2010-01-09 00909, 2010

      • pronik
        oh, good
      • 2010-01-09 00941, 2010

      • aCiD2
        ok, update
      • 2010-01-09 00943, 2010

      • aCiD2
        +d
      • 2010-01-09 00956, 2010

      • pronik
        from 1137 to 911 strings
      • 2010-01-09 00959, 2010

      • pronik
        not bad!
      • 2010-01-09 00916, 2010

      • aCiD2
        nice :)
      • 2010-01-09 00923, 2010

      • pronik
        and dutch translation already has 235 of them
      • 2010-01-09 00927, 2010

      • aCiD2
        at least the number went the right way
      • 2010-01-09 00924, 2010

      • pronik has just triggered a vcs sync on launchpad
      • 2010-01-09 00924, 2010

      • aCiD2
        when will launchpad update?
      • 2010-01-09 00936, 2010

      • aCiD2
        ah ok
      • 2010-01-09 00942, 2010

      • pronik
        has been scheduled to run in 30 minutes, running asap now
      • 2010-01-09 00900, 2010

      • pronik
        as in: running NOW
      • 2010-01-09 00903, 2010

      • aCiD2 goes to do some chores
      • 2010-01-09 00904, 2010

      • aCiD2
        cool :)
      • 2010-01-09 00937, 2010

      • Sinogn
        i tired running the mysql command "mysql musicbrainz < CreateTables.sql" mentioned here http://bugs.musicbrainz.org/browser/mb_server/bra…
      • 2010-01-09 00946, 2010

      • Sinogn
        but it doesnt seem to like it, does this not work ?
      • 2010-01-09 00951, 2010

      • aCiD2
        well, we don't use mysql
      • 2010-01-09 00913, 2010

      • pronik wonders how he can delete all unneeded mbserver projects from launchpad...
      • 2010-01-09 00939, 2010

      • Sinogn
        was trying since the Install guide mentioned it
      • 2010-01-09 00952, 2010

      • pronik
        damn, it's mentioned there...
      • 2010-01-09 00926, 2010

      • pronik
        Sinogn: mysql is not officially supported and that one paragraph in the INSTALL.advanced is probably several years old by now
      • 2010-01-09 00933, 2010

      • pronik
        ""Mutiny" said on 2003-09-11"
      • 2010-01-09 00944, 2010

      • Sinogn
        good call, well it was worth a try
      • 2010-01-09 00953, 2010

      • pronik
        so it's 7 years old now and I guess nobody actually verified whether mysql worked since then
      • 2010-01-09 00901, 2010

      • pronik
        aCiD2: do you know how to integrate po/make install into main Makefile.PL?
      • 2010-01-09 00915, 2010

      • luks
        mighty git-svn seems to fail at deleting empty directories in svn :)
      • 2010-01-09 00936, 2010

      • pronik
        luks: it does here
      • 2010-01-09 00944, 2010

      • Sinogn
        ok gonna fire up nix and see if i can get this going, thanks for the help, will be back if i get stuff somewehre
      • 2010-01-09 00905, 2010

      • luks
        pronik: it does fail? :)
      • 2010-01-09 00912, 2010

      • pronik
        it does delete ;)
      • 2010-01-09 00909, 2010

      • pronik
        at least Server/Moderation is gone
      • 2010-01-09 00910, 2010

      • luks
        not in svn
      • 2010-01-09 00921, 2010

      • luks
        you can't check in git, as it doesn't track directories at all
      • 2010-01-09 00953, 2010

      • pronik
        right
      • 2010-01-09 00905, 2010

      • pronik
        anyway, my git-svn clone doesn't have them
      • 2010-01-09 00923, 2010

      • luks
        because it's a git repository, it can't have them
      • 2010-01-09 00946, 2010

      • luks
        I was talking about the svn repository
      • 2010-01-09 00911, 2010

      • pronik
        forget everything I said ;)
      • 2010-01-09 00912, 2010

      • aCiD2
        luks: yea, sadly git doesn't have a concept of directories
      • 2010-01-09 00923, 2010

      • luks
        I know
      • 2010-01-09 00934, 2010

      • luks
        but I'd still expect git-svn to delete empty directories
      • 2010-01-09 00940, 2010

      • luks
        because that's effectively what git does