On Sat, Jan 28, 2012 at 7:54 PM, Bernhard R. Link <[email protected]> wrote:
>
> Do you have any other restrictions in uploaders?
> I think "No distribution accepting '%s'!\n" should only be given
> if uploaders forbid it.
>

I have to handle repositories of 3 types: unsigned uploads, signed
with any key, signed with specific keys.
These are the import errors that I was able to distinguish by parsing
the output:

 - no suitable distribution ("No distribution accepting...")
 - upload not signed ("Data seems not to be signed...")
 - signature not verifiable ("...public key missing...")
 - missing files ("...not found in the incoming dir...")
 - corrupted/invalid files ("...does not match expectations...")

The "No distribution accepting..." message is also given when the
distribution name in changes doesn't match the distribution you're
importing for. I need to distinguish this from the case where upload
is unsigned but required to be.

Alberto



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

Reply via email to