Hi

Please retain cc to the bug report.


> 1. Have pbuilder print out a warning if the file extension is not .dsc -
> something along the lines of 
> 
> "A .dsc file must be the last parameter of a pbuilder command.
> Please verify your command. 
> 
> Trying to proceed with the current command."



> 2. After printing the above messages try to parse the actual file. I think all
> you need is at least one line after the 
> "Files:"
> or you could look at all the lines until the first blank line. The difference
> between the .changes file and the .dsc file is that those lines in the
> .changes file have 5 fields separated by space(s) and the .dsc file has only 3
> fields. I think it shouldn't be fragile.

After a bit more thought, this sounds like over-engineering.  Is there
any existing tool that can be used for verification ?

How about using some of dpkg tools, they should be able to check.





regards,
        junichi
-- 
[EMAIL PROTECTED],netfort.gr.jp}   Debian Project


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to