Comment 2 for bug 330711

Revision history for this message
Celso Providelo (cprov) wrote : Re: Unhelpful error message on copy-and-rebuild: "same version already has published binaries in the destination archive"

Hi Chris,

You are right, we could do better in this case. For the record, the fact that we don't rebuild sources in the same location isn't exactly a limitation, it's a feature that avoids messing the PPA clients systems.

I totally agree with your first suggestion we can use JS on the client side for blocking selections of 'This PPA' and 'rebuild sources' and render a more specific error message. Also, instead of rendering the specific error message for every copy candidate we could easily render a generic 'you cannot rebuild sources within the same archive' error.

I have a complementary suggestion for having more helpful error messages without cluttering the current UI. We can point users to a wiki page in help.launchpad.net where copy errors are verbosely explained, similarly to what we already do for source upload errors.

Let me know what you think.