#metabrainz

/

      • CatQuest
        I did try to create an entry last time with an unset name. it wouldn't sae any other data i set
      • 2016-04-16 10747, 2016

      • CatQuest
        but i could delete it ine as i did earleir
      • 2016-04-16 10731, 2016

      • Leftmost
        CatQuest, you could save with the alias deleted?
      • 2016-04-16 10741, 2016

      • CatQuest
        yes. no name
      • 2016-04-16 10749, 2016

      • CatQuest
        but that was a longer time ago
      • 2016-04-16 10754, 2016

      • CatQuest
        before the current changes
      • 2016-04-16 10727, 2016

      • Leftmost
        Oh, are you saying you can no longer do that?
      • 2016-04-16 10738, 2016

      • CatQuest
        I did some other stuff.. I don't remember.. I was not paying attention. I'll try this later on
      • 2016-04-16 10754, 2016

      • CatQuest
        i havent tried it again :)
      • 2016-04-16 10756, 2016

      • CatQuest
        i will
      • 2016-04-16 10758, 2016

      • Leftmost
        Ahh, okay.
      • 2016-04-16 10712, 2016

      • Leftmost
        Okay, rika is started with the changes I made.
      • 2016-04-16 10729, 2016

      • CatQuest
        also with things like a fullwith space or messed up character instead of empthy
      • 2016-04-16 10731, 2016

      • LordSputnik
        Great
      • 2016-04-16 10732, 2016

      • CatQuest
        things...
      • 2016-04-16 10743, 2016

      • LordSputnik
        So, can we just ignore any identifiers which have no value?
      • 2016-04-16 10706, 2016

      • Leftmost
        LordSputnik, that's what I'm doing in the client-side code, so that should be fine server-side as well.
      • 2016-04-16 10741, 2016

      • CatQuest
        hey, wil lyo uguys still be here in 4-5 hours time?
      • 2016-04-16 10748, 2016

      • LordSputnik
        CatQuest: yeah probably :)
      • 2016-04-16 10700, 2016

      • CatQuest
        great
      • 2016-04-16 10701, 2016

      • Leftmost
        I won't be fully here, but I'll be around-ish.
      • 2016-04-16 10714, 2016

      • CatQuest
        you'llbe.. leftmost?
      • 2016-04-16 10711, 2016

      • LordSputnik
        So why does submitting a deleted valueless identifier cause a new identifier to be created?
      • 2016-04-16 10744, 2016

      • Leftmost
        My areas of concern for testing: do forms prevent the adding of data that breaks our rules? Do we correctly inform the user when they've entered invalid data? Is there data the user can enter that will break form submission? Does the relationship editor behave as expected?
      • 2016-04-16 10746, 2016

      • adesh joined the channel
      • 2016-04-16 10723, 2016

      • Leftmost
        LordSputnik, I'm not sure. It doesn't actually succeed, as type_id isn't NULLable. It 500s trying to add it to the database.
      • 2016-04-16 10744, 2016

      • JesseW joined the channel
      • 2016-04-16 10751, 2016

      • LordSputnik
        But if it's removed with the button, it shouldn't be part of the state, and shouldn't be submitted in the form
      • 2016-04-16 10753, 2016

      • adesh
        does brainzbot automatically runs test on jenkins whenever i add any commit to PR?
      • 2016-04-16 10700, 2016

      • Leftmost
        Aha, I'm misusing the interface (which is a bug in itself): I'm clearing the identifier type, but not removing the identifier.
      • 2016-04-16 10746, 2016

      • LordSputnik
        Ahh
      • 2016-04-16 10759, 2016

      • Leftmost
        It lets me submit the form, though.
      • 2016-04-16 10704, 2016

      • LordSputnik
        So we need to do some validation to make sure there are no unexpected blank identifiers
      • 2016-04-16 10732, 2016

      • Leftmost
        We should, but we should also not allow blanking the identifier type field.
      • 2016-04-16 10738, 2016

      • Leftmost
        Actually, same with publication.
      • 2016-04-16 10711, 2016

      • LordSputnik
        I'd leave the server as is actually - it errors when it gets to the database, but that's fine because the submitted form was invalid - there are many forms which could cause a DB exception, and we don't handle any of them at present
      • 2016-04-16 10749, 2016

      • Leftmost
        Yeah, the server side of that is fine. For valueless identifiers, though, that should fail.
      • 2016-04-16 10725, 2016

      • LordSputnik
        Leftmost: could we simply add a check constraint on the DB that the identifier value can't be empty?
      • 2016-04-16 10733, 2016

      • Leftmost
        Sure.
      • 2016-04-16 10702, 2016

      • LordSputnik
        and handle it nicely on the client with better validation
      • 2016-04-16 10725, 2016

      • LordSputnik
        Leftmost: it won't let me submit with a valueless identifier
      • 2016-04-16 10750, 2016

      • Leftmost
        The client-side correctly prevents it now, but the server-side doesn't do anything.
      • 2016-04-16 10756, 2016

      • LordSputnik
        OK
      • 2016-04-16 10702, 2016

      • Leftmost
        That was one of the fixes I pushed.
      • 2016-04-16 10731, 2016

      • LordSputnik
        it also seems to block null types
      • 2016-04-16 10727, 2016

      • Leftmost
        Oh, I bet that's a side-effect of my changes for valueless identifiers. Before it didn't check identifier validity for form submission at all.
      • 2016-04-16 10702, 2016

      • Gentlecat
        adesh: yes
      • 2016-04-16 10748, 2016

      • adesh
        thats cool. okay
      • 2016-04-16 10726, 2016

      • Leftmost
        LordSputnik, reworking the select component to take allowClear as a prop.
      • 2016-04-16 10707, 2016

      • MBJenkins
        Yippee, build fixed!
      • 2016-04-16 10707, 2016

      • MBJenkins
        Project metabrainz.org build #174: FIXED in 1 min 52 sec: https://ci.metabrainz.org/job/metabrainz.org/174/
      • 2016-04-16 10716, 2016

      • LordSputnik
        Leftmost: good idea :)
      • 2016-04-16 10722, 2016

      • JesseW has quit
      • 2016-04-16 10703, 2016

      • LordSputnik
        So, with that, I think all that will need to be done is to add the DB check that the value is not empty
      • 2016-04-16 10719, 2016

      • LordSputnik
        and then the identifier bugs should be gone
      • 2016-04-16 10757, 2016

      • Leftmost
        Excellent.
      • 2016-04-16 10739, 2016

      • kartikgupta0909 has quit
      • 2016-04-16 10703, 2016

      • Leftmost
        LordSputnik, I'm going to assume we also don't want to let the user clear any of the selects in the relationship editor.
      • 2016-04-16 10751, 2016

      • LordSputnik
        Leftmost: good assumption :)
      • 2016-04-16 10739, 2016

      • LordSputnik
        bitmap: seeing an erro parsing entities.json in Constants.pm: ", or } expected while parsing object/hash" - have you (or Gentlecat) ever encountered that before?
      • 2016-04-16 10720, 2016

      • bitmap
        nope, haven't seen that
      • 2016-04-16 10733, 2016

      • bitmap
        I'm pretty sure it's valid json, otherwise MBS would crash for me
      • 2016-04-16 10702, 2016

      • bitmap
        at least when I left in trailing commas before, that's what it did
      • 2016-04-16 10711, 2016

      • bitmap
        oh, this is that weird context issue we fixed
      • 2016-04-16 10748, 2016

      • bitmap
      • 2016-04-16 10733, 2016

      • bitmap
        it sounds like JSON:PP is getting used for you, for whatever reason :/
      • 2016-04-16 10748, 2016

      • LordSputnik
        OK, I'll try to install JSON:XS
      • 2016-04-16 10751, 2016

      • LordSputnik
        This is on rika
      • 2016-04-16 10743, 2016

      • adesh
        Gentlecat: I am unable to get the stylesheets working. "fab compile_styling" yields while running fab "Warning: Command(s) not found: compile_styling"
      • 2016-04-16 10718, 2016

      • adesh
        and even after setting COMPILE_LESS= True in config.py
      • 2016-04-16 10720, 2016

      • LordSputnik
        bitmap: that seems to fix it, thanks ;)
      • 2016-04-16 10736, 2016

      • bitmap
        good :)
      • 2016-04-16 10737, 2016

      • adesh
        it still generates 404 for the css files
      • 2016-04-16 10707, 2016

      • adesh
        any idea what i might be doing wrong?
      • 2016-04-16 10712, 2016

      • Gentlecat
        build system has changed
      • 2016-04-16 10736, 2016

      • Gentlecat
        you need to install node, run `npm install`, and then fab build_static
      • 2016-04-16 10748, 2016

      • Gentlecat
        I didn't update the documentation yet
      • 2016-04-16 10720, 2016

      • Leftmost
        LordSputnik, fix pushed to master. Can you look it over to make sure it looks sane before I send it to rika?
      • 2016-04-16 10707, 2016

      • adesh
        okay
      • 2016-04-16 10752, 2016

      • Gentlecat
        take a look at bootstrap.sh
      • 2016-04-16 10755, 2016

      • adesh
        alright
      • 2016-04-16 10743, 2016

      • Leftmost
        LordSputnik, as far as putting -data-js on npm, I was debating that myself. In some ways it seems reasonable, but it's not a terribly useful package without -sql and it's not what most people will want for interacting with BB anyhow.
      • 2016-04-16 10710, 2016

      • adesh
        Gentlecat: its working now. thanks. btw im getting a lot of error 404 for missing-art.png
      • 2016-04-16 10702, 2016

      • Gentlecat
        where?
      • 2016-04-16 10742, 2016

      • adesh
        on "browse reviews"
      • 2016-04-16 10711, 2016

      • adesh
        shouldn't it intead be "placeholder_disc.svg" and not missing-art.png?
      • 2016-04-16 10742, 2016

      • adesh
        wait a minute
      • 2016-04-16 10751, 2016

      • Gentlecat
      • 2016-04-16 10755, 2016

      • Gentlecat
        nada
      • 2016-04-16 10734, 2016

      • adesh
        yeah i think its in my own pull request
      • 2016-04-16 10747, 2016

      • adesh
        yeah it is. just verified that
      • 2016-04-16 10755, 2016

      • adesh
        sorry for the trouble
      • 2016-04-16 10736, 2016

      • Gentlecat
        you might want to rebase on master
      • 2016-04-16 10722, 2016

      • adesh
        yep. good idea.
      • 2016-04-16 10725, 2016

      • armalcolite joined the channel
      • 2016-04-16 10701, 2016

      • JesseW joined the channel
      • 2016-04-16 10738, 2016

      • Leftmost
        Oh, LordSputnik, my personal address is the one associated with apiary.
      • 2016-04-16 10706, 2016

      • adesh has quit
      • 2016-04-16 10741, 2016

      • Freso
      • 2016-04-16 10707, 2016

      • Freso
        (And, wow, it's really confusing that you've called the build bot BrainzBot...)
      • 2016-04-16 10704, 2016

      • sampsyo joined the channel
      • 2016-04-16 10724, 2016

      • yeeeargh has quit
      • 2016-04-16 10710, 2016

      • gcilou
        ^ I was highly confused
      • 2016-04-16 10725, 2016

      • Gentlecat
        it's there to make sure that only approved people can run the code
      • 2016-04-16 10702, 2016

      • Mineo
        is the code of brainzbot available somewhere?
      • 2016-04-16 10742, 2016

      • Gentlecat
        it's just a user posting comments and setting build status
      • 2016-04-16 10759, 2016

      • Gentlecat
      • 2016-04-16 10718, 2016

      • LordSputnik
        isn't BrainzBot the chatlogger?
      • 2016-04-16 10716, 2016

      • Gentlecat
        they are asking about github user
      • 2016-04-16 10707, 2016

      • Gentlecat
        I liked the name, decided to use it there as well. don't see why it's so confusing
      • 2016-04-16 10706, 2016

      • Leftmost
        LordSputnik, does that change to select2 seem sane?
      • 2016-04-16 10706, 2016

      • MBJenkins
        Project musicbrainz-server_master build #359: SUCCESS in 18 min: https://ci.metabrainz.org/job/musicbrainz-server_…
      • 2016-04-16 10726, 2016

      • Leftmost
        Pushing so it can get testing later.
      • 2016-04-16 10713, 2016

      • LordSputnik
        Leftmost: looks good
      • 2016-04-16 10744, 2016

      • Leftmost
        Oh good, found a new bug.
      • 2016-04-16 10707, 2016

      • LordSputnik
        What's this one? :P
      • 2016-04-16 10708, 2016

      • Leftmost
        The edition languages box width is off.
      • 2016-04-16 10743, 2016

      • Leftmost
        It displays mostly right, but the placeholder text is cut off.
      • 2016-04-16 10756, 2016

      • Leo_Verto
        I was already on the GH page for BrainzBot, wondering since when we've had Jenkins set up :p
      • 2016-04-16 10712, 2016

      • Leftmost
        Same with work languages. I must have messed something up with multiple selects.
      • 2016-04-16 10729, 2016

      • Leo_Verto
        Gentlecat, I think this is the perfect opportunity to get a fancy logo for BrainzBot :D
      • 2016-04-16 10720, 2016

      • Leftmost
        I need to run out. I'll take a look at that later if you don't get to it.
      • 2016-04-16 10723, 2016

      • Leftmost
        At a glance, though, I have no idea what the heck is going on. :-P
      • 2016-04-16 10726, 2016

      • Leo_Verto
        wow, MBS testing on Jenkins takes a long time
      • 2016-04-16 10704, 2016

      • LordSputnik
        Leftmost: there's nothing obviously wrong :/
      • 2016-04-16 10749, 2016

      • MBJenkins
        Project musicbrainz-server_master build #360: SUCCESS in 18 min: https://ci.metabrainz.org/job/musicbrainz-server_…
      • 2016-04-16 10713, 2016

      • mrc0mmand has quit
      • 2016-04-16 10758, 2016

      • mrc0mmand joined the channel
      • 2016-04-16 10713, 2016

      • Skeebadoo joined the channel
      • 2016-04-16 10707, 2016

      • Skeebadoo
        Hey
      • 2016-04-16 10723, 2016

      • Skeebadoo
        What am I supposed to do if the same recording has different titles on different mediums?
      • 2016-04-16 10757, 2016

      • Skeebadoo
        Almost the whole tracklist is the same for a release I'm adding
      • 2016-04-16 10713, 2016

      • Skeebadoo
        Except one track has a different title on vinyl
      • 2016-04-16 10724, 2016

      • Skeebadoo
        But I've checked the samples on retailers
      • 2016-04-16 10730, 2016

      • Skeebadoo
        lenghts are the same too
      • 2016-04-16 10744, 2016

      • Mineo
        Skeebadoo: #musicbrainz is a better place for that question
      • 2016-04-16 10702, 2016

      • Skeebadoo
        Ugh, right
      • 2016-04-16 10724, 2016

      • Skeebadoo
        Got this channel in browser history
      • 2016-04-16 10710, 2016

      • Skeebadoo has left the channel
      • 2016-04-16 10745, 2016

      • gcilou
        writing a blog post for google open source blog. This part's about how I chose my mother org ;) https://www.irccloud.com/pastebin/QdLnYt8U/
      • 2016-04-16 10752, 2016

      • Leo_Verto
        I assume you just sorted the table of Open Source Nonprofits by awesomeness? :P
      • 2016-04-16 10716, 2016

      • gcilou
        yeah sure :)
      • 2016-04-16 10741, 2016

      • alastairp
        gcilou: you're really lucky we didn't do GCI last year (although wayback machine has no css, so it looks even worse than it was http://web.archive.org/web/20150205221636/http://…)
      • 2016-04-16 10723, 2016

      • alastairp
        ruaok: amazon.es has 20% off on a bunch of cycle stuff until 24th: https://www.amazon.es/b/ref=dp_bc_2?ie=UTF8&n…
      • 2016-04-16 10738, 2016

      • Leo_Verto
        odd, here's a version with CSS though https://web.archive.org/web/20140517214205/http:/…
      • 2016-04-16 10742, 2016

      • alastairp
        I'm probably at the very least going to get some high-lumen lights
      • 2016-04-16 10757, 2016

      • alastairp
        Leo_Verto: still looks bad :)
      • 2016-04-16 10758, 2016

      • gcilou
        oh yikes. You mean you're lucky ;)
      • 2016-04-16 10749, 2016

      • alastairp
        don't get cocky now!
      • 2016-04-16 10753, 2016

      • gcilou
        hehe