Add support for private PPAs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charm Helpers |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
At present, the apt fetch.add_sources() uses 'add-apt-
...
| # deb http://
| # deb-src http://
|
| deb https:/
| deb https:/
| deb https:/
As per the add-apt-repository man page[1], it says if you use the repository string ppa:... it will add the source to /etc/apt/sources.d but unfortunately digging into the code, it doesn't support private PPAs:
software-
| class PPAShortcutHand
| def __init__(self, shortcut):
| super(PPAShortc
| try:
| self.shortcut = mangle_
| except:
| raise ShortcutExcepti
| .format(
| info = get_ppa_
|
| if "private" in info and info["private"]:
| raise ShortcutException(
| _("Adding private PPAs is not supported currently"))
|
| self._info = info
Any chance we could update fetch.add_sources() to handle private PPAs properly and ship them out to /etc/apt/sources.d like we're already doing for cloud: and proposed:?
[1]http://