adhawkins: the proper fix is to make sure we don't try and insert such huge data into indexes
2013-11-28 33201, 2013
ocharles
I made a ticket for investigating that
2013-11-28 33252, 2013
adhawkins
Yep, that's what I was envisaging.
2013-11-28 33206, 2013
adhawkins
Have you done a catch up on your slave? Or might there be more?
2013-11-28 33204, 2013
ocharles
Yea, my slave got all the way to now
2013-11-28 33249, 2013
adhawkins
Ok cool.
2013-11-28 33254, 2013
Jozo
Hjum. maybe I should add git update before each replication packet import... :)
2013-11-28 33255, 2013
adhawkins
I'm sure mine will one day soon :D
2013-11-28 33231, 2013
Jozo
InitDb.pl is a bit confusing... It really does not tell user what difference is --createdb, --clean and --import (and can they used together). Also --help gives outdated information (it contains options that not available on GetOptions())...
2013-11-28 33217, 2013
Jozo
And I also do not like way that it does mixes database admin and musicbrainz using on postgresql interaction... (I've copied admin privileges needed commands out of it to separate script)
2013-11-28 33249, 2013
Jozo
(and that was just comment why we may have so many initing database -related question on there)
2013-11-28 33204, 2013
Jozo
I also yesterday installed (partially) search server. I didn't found any way define index_dir outside WEB-INF/web.xml. Something I wanted is some way define it on tomcat Context config....
2013-11-28 33225, 2013
Jozo
(And I do not liked that search server servlet tests need port 8080 and it's hardcoded so many places...)
2013-11-28 33236, 2013
Jozo
(I founded way define some random port on maven pom.xml, but tests code has that port also hardcoded.... And I do not really familiar with java)
2013-11-28 33214, 2013
kuno
Jozo: complaining about it on irc isn't going to fix any of that however. I agree with many of your complaints, but it's probably more helpful to either fix them or report them in our issue tracker.
2013-11-28 33204, 2013
Jozo
kuno: I was just about to ask is some my notes worth for reporting it to jira......
2013-11-28 33224, 2013
Jozo
musicbrainz jenkins is down?
2013-11-28 33248, 2013
ocharles
yes
2013-11-28 33251, 2013
ocharles
the whole machine is down
2013-11-28 33206, 2013
Jozo
Oh. (maybe I install jenkins to my local machine just for fun... I've not used it for while)
2013-11-28 33228, 2013
ocharles
that's a very warped sense of fun
2013-11-28 33229, 2013
ocharles
:)
2013-11-28 33258, 2013
mat_ joined the channel
2013-11-28 33201, 2013
mat_ joined the channel
2013-11-28 33230, 2013
Jozo
luks: inspired your mbdata/mbslave solr things I created musicbrainz core to my solr and used solr's DataImportHandler for importing and solr's velocity for browsing... works pretty well (I also used only one index..)
2013-11-28 33203, 2013
adhawkins
ocharles: All caught up now, thanks.
2013-11-28 33227, 2013
Hadora
Why is artist_deletion not used ?
2013-11-28 33241, 2013
Hadora
I am wondering why we have not deleted that artist from our db 259b602f-7f41-47dc-aecc-a5a75307b219
2013-11-28 33257, 2013
Hadora
everything doesn't go though artist_gid_redirect i guess
2013-11-28 33215, 2013
Hadora
but then i thought, maybe for deleted artists it goes in artist_deletion
2013-11-28 33227, 2013
Hadora
but no sign of that gid in either
2013-11-28 33257, 2013
ocharles
Hadora: artist_deletion is only used for subscription emails
2013-11-28 33259, 2013
ocharles
(right now)
2013-11-28 33217, 2013
ocharles
it helps us keep the subscription tables consistent, while also being able to do subscription summaries at mignight
But how can i know automatically it has been deleted ?
2013-11-28 33258, 2013
ocharles
You can add your own triggers to the artist table, and log deletions
2013-11-28 33225, 2013
Hadora
yup i see, it's not something i missed
2013-11-28 33227, 2013
Hadora
ty!
2013-11-28 33214, 2013
voiceinsideyou joined the channel
2013-11-28 33208, 2013
voiceinsideyou1 joined the channel
2013-11-28 33213, 2013
Jozo
kuno: I added three tickets to jira. Thanks for note that complaining on irc never change anything... :)
2013-11-28 33243, 2013
rvedotrc joined the channel
2013-11-28 33252, 2013
kuno
Jozo: np :)
2013-11-28 33202, 2013
Jozo
ijabz: http://tickets.musicbrainz.org/browse/SEARCH-333 - mvn install builds war, so I assumed I can use it with tomcat. I'm not really familiar with servlets and paramaters (I always hated when I needed install some random app)...
2013-11-28 33207, 2013
CallerNo6 joined the channel
2013-11-28 33236, 2013
Jozo
ijabz: (I always wondered that I've must doing something wrong... ) When install instructions says that you have to modify some things source code before building... (or after that war is unpacked to somewhere) ... It's a bit painful to upgrade software when you have to repeat those steps everytime... (just for some directory paths or parameters)
CallerNo6 looks to see if there's already a ticket
2013-11-28 33232, 2013
CallerNo6 doesn't find anything. Guest2323, do you want to make a ticket? Or shall I?
2013-11-28 33244, 2013
ijabz
Jozo yes you can use Tomcat, whats your question ?
2013-11-28 33222, 2013
Jozo
ijabz: Just what I said on ticket... (I thougt that you thinked that it's not bug but just some intentional thing to do so)
2013-11-28 33200, 2013
Jozo
ijabz: What is more generic way? (modify source and build or build something and then after unpack something and then modify?)
2013-11-28 33209, 2013
Jozo
ijabz: Just say me that I've wrong and there is way to define parameters to that war (without unpacking it and modifying some files)
2013-11-28 33253, 2013
ijabz
Well no you are right, you have to modify the web.xml file if using a nonstandard location, whther you do this before building or after unpacking depends on your own circumstances
2013-11-28 33216, 2013
Jozo
ijabz: And that is something that I have to tolerate?
2013-11-28 33217, 2013
rvedotrc joined the channel
2013-11-28 33237, 2013
ijabz
But even if you dont unpack the war yourself the servlet container usually unpacks it for you anyway
2013-11-28 33249, 2013
Sophist-UK joined the channel
2013-11-28 33249, 2013
Jozo
ijabz: So I have to do that everytime I update search server code?
2013-11-28 33236, 2013
Sophist-UK
Hi all - looking for some Picard insight - anyone here who can help?
2013-11-28 33241, 2013
ijabz
No, if you are checkng out direct from svn like me your modified files will not get overwritten, so you only have to modify web.xml once
2013-11-28 33244, 2013
Jozo
ijabz: Why you/we want keep that hardcoded thing and not making it to some more elegant way?
2013-11-28 33218, 2013
ijabz
Its not hardcoded in the code, in a configuration file
2013-11-28 33238, 2013
Jozo
ijabz: It's hardcoded if you have to modify SOURCE before building.
2013-11-28 33203, 2013
ijabz
You dont have to, you can modify the deployed file
2013-11-28 33224, 2013
ijabz
I dont like the way the instructions are written make it sound more difficult than it is
2013-11-28 33259, 2013
ijabz
Modifying the source file is just useful, because then you only have to do it once avoiding the annoyance you are encountering
2013-11-28 33216, 2013
Jozo
ijabz: That's why I hate java and every java-coder.... (no offence)
2013-11-28 33204, 2013
Jozo
hardcoded paths, hardcoded variables, hardcoded everything... and java is everywhere still... haha
2013-11-28 33259, 2013
ijabz
Its not hardcoded, it is a configuration file, you could keep your own configuration file somewhere and just overwrite the existing one with that if you want
2013-11-28 33209, 2013
ijabz
its anot a java issue
2013-11-28 33203, 2013
ijabz
But your solution is to use tomcat specific features to have it working on tomcat, use jetty specific features to make it work on jetty ectera
ijabz: And that is not tomcat specific (if I understand correcly)
2013-11-28 33201, 2013
Jozo
ijabz: What is difference init-param and context-param?
2013-11-28 33235, 2013
Jozo
(I readed some answer, but I want hear your answer)
2013-11-28 33231, 2013
ijabz
I dont know
2013-11-28 33211, 2013
ijabz
conguring servlet can be a real pain, which is why I prefer to keep it simple
2013-11-28 33235, 2013
Jozo
ijabz: Why we use init-parm instead of context-param?
2013-11-28 33206, 2013
Jozo
(I've not read any java specs, but they may give answer that)
2013-11-28 33206, 2013
ijabz
Dunno, cant remember why, who cares ?
2013-11-28 33216, 2013
Jozo
ijabz: I cared
2013-11-28 33230, 2013
Jozo
ijabz: One can be overwritten other one can't
2013-11-28 33200, 2013
ijabz
Why can one be overwritten and the other cannot ?
2013-11-28 33226, 2013
Jozo
And yeah, everytime I see java, it's just real pain...
2013-11-28 33248, 2013
ijabz
what language do you like then ?
2013-11-28 33240, 2013
Jozo
ijabz: I do not know. But tomcat do not provide any way overwrite them... And I'm pretty sure that jetty do not allow either (You can prove that I've wrong just prove that Jetty can do something that tomcat can't)
2013-11-28 33233, 2013
ijabz
Do you mean the file, you can overwrite the web.xml file
2013-11-28 33244, 2013
Jozo
ijabz: It's not language what I like. Everytime I come across Java there is some hardcoded things or some other weirdes...
2013-11-28 33219, 2013
Jozo
ijabz: If jetty provides that functionality I happily which to jetty...
2013-11-28 33210, 2013
Freso joined the channel
2013-11-28 33252, 2013
ijabz
As I understand it context xmls file are vey similar to web.xml so I dont really get the improvement
2013-11-28 33205, 2013
ijabz
Feel free to add a more concrete propsal to the ticket
2013-11-28 33230, 2013
Jozo
ijabz: So next I have to paste some Java servlet documentation to you?
2013-11-28 33246, 2013
Jozo
ijabz: What version do you want?
2013-11-28 33235, 2013
ijabz
jozo ffs you need to explain why having it moved out of one configuration file into another is going to improve things fo ryou
2013-11-28 33205, 2013
Jozo
ijabz: I do not want It to moved anywhere, I just want way to overwrite it. And I suggested that context-param may be better than init-param. (And yeah that makes me to read java specs...)
2013-11-28 33219, 2013
Sophist-UK
Hi all - looking for some Picard insight - anyone here who can help?
2013-11-28 33234, 2013
ijabz
Ive already said i dont know the difference, going for some noshg
2013-11-28 33242, 2013
Jozo
ijabz: Do you have some well written java servlet your mind?
Jozo: ijabz is not in any way shape or form responsible for the version of Jira we're running. There's no reason to ping him about that.
2013-11-28 33203, 2013
Jozo
Freso: That's not just symbol what some "do this and this and this" on actual program data instead of proper configuration files...
2013-11-28 33224, 2013
Jozo
Freso: s/not//
2013-11-28 33228, 2013
Freso
Jozo: That did not make any sense.
2013-11-28 33217, 2013
Sophist-UK
Ok - I have started to see a recordingtitle tag appearing in the metadata box. Doesn't happen in 1.2, does happen in latest github. Cannot track down how this is set - I raised a PR a couple of months ago (merged) which adds a ~recordingtitle, but I have NO idea where the recordingtitle tag comes in. Have searched the source code and cannot find anything which would cause this.
2013-11-28 33229, 2013
Guest2323
maybe someone wants to share server installation tutorial from scratch?
2013-11-28 33237, 2013
Jozo
Freso: Basically: "You have that .war file, but you have to modify this and this and this file before you can upgrade"
2013-11-28 33225, 2013
Jozo
Freso: (Just for define some directory or some other thing)
2013-11-28 33259, 2013
Freso
Jozo: I have no idea what you're getting at or how it's related to ijabz (not) being responsible for our Jira install.
Jozo: How is that related to the version of our Jira install?
2013-11-28 33231, 2013
Jozo
Freso: (Not really relate) Jira was just one example where that "edit that, edit that, edit that" methods is used (instead of defining those on some your own configuration file)
2013-11-28 33247, 2013
Jozo
Freso: Who is responsible of MusicBrainz's Jira?
2013-11-28 33203, 2013
Jozo
Freso: What you think hardcoded paths in general? (Do you use them on python programs?
2013-11-28 33223, 2013
Jozo
I suggest that we should hardcode all musicbrainz related data paths to /var/lib/musicbrainz =)
2013-11-28 33235, 2013
Jozo
Freso: And if you use hardcoded path do you except that users overwrite them on source code?
2013-11-28 33222, 2013
Freso
I think you're being intentionally daft, Jozo. Have fun with that.