[Merge] lp:~manishsinha/software-properties/list-ppa-names-for-user-or-team into lp:software-properties

Manish Sinha (मनीष सिन्हा) manishsinha at ubuntu.com
Tue Nov 8 20:11:29 UTC 2011


Manish Sinha (मनीष सिन्हा) has proposed merging lp:~manishsinha/software-properties/list-ppa-names-for-user-or-team into lp:software-properties.

Requested reviews:
  Ubuntu Core Development Team (ubuntu-core-dev)

For more details, see:
https://code.launchpad.net/~manishsinha/software-properties/list-ppa-names-for-user-or-team/+merge/81634

When the PPA name is provided wrong, then via launchpadlib, it is checked if the user or team exists. 
If it exists, then notify the user that PPA does not exist.

In case the user/team has a PPA, then list down the PPAs
In case the user/team does not have a PPA, show an message - "The team named 'cheers' does not have any PPA"

Note: Using people.is_team the user passed clearly marked as team or user.

=======================
Example error messages:

$ sudo ./add-apt-repository ppa:mhr3/foo
Cannot add PPA: 'ppa:mhr3/foo'.
The user named mhr3 has no PPA named foo
Please choose from the following available PPAs:
* test-ppa:  Testing PPA


$ sudo ./add-apt-repository ppa:cheers/foo
Cannot add PPA: 'ppa:cheers/foo'.
The team named 'cheers' does not have any PPA
-- 
https://code.launchpad.net/~manishsinha/software-properties/list-ppa-names-for-user-or-team/+merge/81634
Your team Ubuntu Core Development Team is requested to review the proposed merge of lp:~manishsinha/software-properties/list-ppa-names-for-user-or-team into lp:software-properties.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: review-diff.txt
Type: text/x-diff
Size: 2487 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-reviews/attachments/20111108/c8856a0e/attachment.diff>


More information about the Ubuntu-reviews mailing list