LotR: I just can't conceive of writing test cases that are not going to be brittle
ruaok waves at nikki
grr. and niklas
:-)
niklas
:(
something wrong?
ah
hello
ruaok
tab complition got nikki not niklas :-)
nikki waves back at ruaok anyway
lol
LotR
ruaok: I thought it'd be useful to not have to do all the testing by hand. even if it might be a bit brittle, it still seems less work to me to figure out if a test is genuinely failing or if it's just because the test isn't good enough.
ruaok: I can stop if you're not interested though :)
ruaok
well, at this stage it makes no sense.
one change and the test results are ALL DIFFERENT.
It's too early for what you're suggesting.
once I figure out what I'm doing, I'll come back to this...
nikki
I'm only half paying attention, but isn't the idea that you can put a list of searches and a list of results there and see whether they're found properly or not without doing the same searches over and over?
LotR
ruaok: you can also write TODO tests. so you write them how you'd *like* the results to be, and then if you run the test it will fail, but it won't really count
nikki: right.
jacknetgb
ruaok which user using psql?
ruaok
just do ./psql READWRITE
it tests the settings in DBDefs.pm
jacknetgb
Still the ident error
ruaok
did you restart postgres? or HUP it?
jacknetgb
i restarted it
ruaok
then pg_hba is still wrong somehow.
I have yet to get the pg from pre-built packages to work.
I always install from source. that works predictably.
I doubt that this would change it, but try cd'ing into admin and rerun with the path for import fixed up
xlotlu
'night
xlotlu has quit
niklas
warp: are you going to make the tool keep track of which releases have been submitted?
warp
niklas: i can do that, if you don't expect anything fancy :)
niklas
warp: ok :) would be great
warp
it's a commandline tool, i'm assuming people will run it in their ~/music directory or something. an easy way to do it is to assume each release lives in its own subdirectory, and just write a small file there which says the release has already been submitted.
the other option would be to keep a central database of submitted MBIDs, also shouldn't be much work with python, but i'm not that familiar with such databases.
LotR
warp: you could just read the files for MB tags, no? no need for extra files
warp
LotR: i can't _see_ with just an mbid if that release has already been submitted to niklas' collection db.
LotR
I guess I don't know what 'collection db' is
warp
LotR: niklas' summer of code project!
niklas
warp: would it help you when developing if you can see "duplicates"? mbid's that have been submitted but already are in the database
niklas: not really, i think it would be better to just silently ignore them. I don't think there is any harm.
niklas
no but I was thinking just while youre developing, to make sure theyre saved correctly
warp
niklas: I think I actually have one duplicate in my /mnt/music directory. (flac and mp3 versions of the same release which _I_ consider seperate releases, they have different catalog #s, but for MB they are just one release).
niklas
because I did that. keep a list of duplicates. doesnt require any extra querys. but I'll just remove it if it is unnecessary
aha
warp
niklas: maybe other users would eventually like to see that reported, so don't ask _just_ me :).
niklas
true
I'll keep it for now
Im gonna go buy groceries
CatCat
omg nerdvana
hi guys
warp
hellomo
byeniklas
CatCat
I sure do hope that MGdesigner guy shows up again- cool people from asia in #musicbrainz
its the next logical step after this scandinvasion
Kerensky97
It'd be nice just so we get people adding Asian albums en mass.
When I was in Japan going through used CD stores I was thinking how cool it would be just to get paid to go though all the CDs there and enter them into MB.
nikki
I always think that in second hand CD shops anyway
Kerensky97
yeah :)
LotR
so get a job at a 2nd hand cd store? :)
CatCat
or *record* store
@_@
Tykling joined the channel
speaking of scandinvasions
hmm canidae har ikke vært her inne på en stund :
(
MBChatLogger
Yes! There is hope!
CatCat
ladedida obama ladedida
\o/
srotta
I've been thinking about going to local library with a laptop and just going through all the releases.
CatCat
\o/^2
srotta
They removed locked cases from cds so I could actually do that some day.
warp
haha
Wizzcat
at the library here they have signs saying they can and will ask you what you're doing if you use a computer to listen to music in the library
srotta
By all means.
I might even answer.
8)
Wizzcat
it specifically mentions that "ripping" is illegal :p