Merge lp:~manishsinha/software-properties/fix-887249-handle-404-error into lp:software-properties
Status: | Merged |
---|---|
Merged at revision: | 726 |
Proposed branch: | lp:~manishsinha/software-properties/fix-887249-handle-404-error |
Merge into: | lp:software-properties |
Diff against target: |
26 lines (+8/-1) 1 file modified
add-apt-repository (+8/-1) |
To merge this branch: | bzr merge lp:~manishsinha/software-properties/fix-887249-handle-404-error |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ubuntu Core Development Team | Pending | ||
Review via email: mp+81488@code.launchpad.net |
Commit message
In case the user provides a wrong username or ppa name, then the exception is handled
* The exception handler checks that if the username starts with a ~, in this case
it suggests does the user mean the username without a ~. e.g. if the user does
sudo apt-add-repository ppa:~gnome3team
if he means ppa:gnome3team/
* Even better friendlier messages can be provided, but for that it will introduce
lauchpadlib as a dependency
Description of the change
In case the user provides a wrong username or ppa name, then the exception is handled
* The exception handler checks that if the username starts with a ~, in this case
it suggests does the user mean the username without a ~. e.g. if the user does
sudo apt-add-repository ppa:~gnome3team
if he means ppa:gnome3team/
* Even better friendlier messages can be provided, but for that it will introduce
lauchpadlib as a dependency