package reprepro tags 438941 + confirmed thanks * Wookey <[EMAIL PROTECTED]> [070821 00:03]: > I set up reprepro on a new machine by copying a conf/distibutions file > froma working installation. I commented out the two stanzas I wasn't > using (with # chars) and made some changes to the first stanza. >[...] > This message does not convey at all that it is referring to the > commented-out stanza, so one can spend a _very_ long time staring at > the stanza containing real data, wondering what on earth is wrong with > it.
Indeed, the parser is in a bad shape and it is already on top of my priority list currently. Thanks for reminding me the rewrite will also need to properly deal with comments. (Actually, I'm currently misusing the parser originally written for the Packages files, that simply never was written with comments in mind. So comments are just treated as unknown headers, which are not warned against. So to disable a whole distribution specification, you have to put a # in front of the seperating empty line before or after it, to make it comments into that distribution.) > It would be much better if reprepro just ignored stanzas which > contained nothing but comments, or at least gave a clue which part it > was referring to. I hope this will all get better once the new parser is finished. There is currently just too much abstraction involved. Thanks again for your report, it's coming at an almost moment, as I was plaing to work on the parser this weekend, as I finaly got annoyed enough by it using libz's gzgets in its current form which severly slows down updating... Hochachtungsvoll, Bernhard R. Link -- "Never contain programs so few bugs, as when no debugging tools are available!" Niklaus Wirth -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]