On Fri, Sep 4, 2009 at 08:10, Ryan Niebur<[email protected]> wrote: > oops, sorry, I don't know how I missed this email :/
No problem :) > ok, this makes sense. I will consider whether to add a --simple-output > option, or whether I should just change the behavior (I'm thinking the > latter is fine, but want to think it through first). anyways, one way > or another I will make the output simpler to understand. That'd be great. >> > so that debsums can be more clear. >> >> that's of course welcome. >> >> > I don't see the need to complicate the >> > return codes just for the purpose of user output. >> >> what? "complicate the return codes"? >> >> maybe because it's the UNIX standard way to differentiate programs errors? >> > > there's no reason why you need to know whether the problem was because > of missing files or changed files (from the reportbug point of view) > from what I can tell. if I'm wrong, tell me what behavior in reportbug > will change based on whether debsums found changed files, removed > files, or both. from what I understand, you just need debsums to print > things in a clearer wording. If debsums prints a detailed report, then reportbug can be genering in presenting debsums results, like "here is what debsums has to say". >> There is not only 0 and 1/-1 , there are plenty if examples out there. >> > > debsums already has a system where it returns 0, 1, 2, or 3 based on > different errors. adding to that and accounting for all of the > combinations would get way too messy. anyways, I think this is irrelevant. > >> > I do still think >> > that this buglet should be fixed and I think we can come to a >> > solution that works for everybody. >> >> I proposed something, you just pushed that back. Now, how do you want >> to address this bug (clear examples please)? >> > > by changing debsums to output "debsums: missing file <...>" or > "debsums: changed file <...>", as you suggested above. will this > fully address the problem? I think so > I also suggest that in reportbug you change the string "the following > files appear to be missing or changed:" to "debsums found the > following problems with files installed from $PACKAGE:", tho that's a > separate enhancement. Yes, this will be done once debsums will provide a report like the one above. Cheers, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

