← Back to team overview

canonical-ci-engineering team mailing list archive

Re: Programmatically detecting rejected PPA uploads

 

Le 17/01/2014 23:49, Adam Conrad a écrit :
On Fri, Jan 17, 2014 at 03:46:07PM -0700, Adam Conrad wrote:
The right way to detect a reject is via the email that's sent back.
Furthermore, keep in mind that in some cases (like malformed uploads),
there won't even be an email, as we can't safely determine a sensible
target to mail to.

It might be easier to just check if your upload was *accepted*, and
after a sensible timeout, assume it wasn't, and take action.

That's what cupstream2distro is doing btw. It will abort if the source packages are not detected in the ppa corresponding to the wanting version after a 20 minutes timeout.

Didier


References