Re: Why are multiple revisions allowed in submissions
"Andy Key" <[email protected]> Fri, 02 Jan 2004 22:07:02 +0000
| Newsgroups | gmane.comp.audio.freedb.devel |
|---|---|
| Message-ID | <[email protected]> |
> >> Are there any known clients which submit files with multiple revision > >> lines? > > > > No, I don't know any - If I knew such clients, I would have notified > > the authors about the bug. > >Why not refuse to accept submissions from a client which gives two >revisions? That would strongly encourage clients to behave, and make >cddbd's behavior more predictable. [This is not a flame] Wouldn't it be better to fix the flawed server-side logic instead (storing mandatory information in "comment" lines, update vs. insert semantics, get rid of genre as part of the primary key for CD's, no multiple entries for same CDDBID hash/genre combination, etc...)? Unfortunately, it was designed wrong from the very beginning (or probably just grew from a scetch on a napkin), and that makes it difficult to change once the critical mass of users has been reached. It would be nice if there was a good way to migrate away from the current DB format to an RDBMS, use XML for encoding submissions, updates and queries, which would allow for automatic validation and parsing without every single client having to reinvent the wheel. XML has another nice side-effect of making it easy to use various character encodings. -Andy _________________________________________________________________ Chatujte bezpecne s lidmi, ktere si umistite na seznam svych pratel - stahujte MSN Messenger 6.1! http://www.msn.cz/procmessenger