[Bug 1991553] Re: can't add a private PPA
Launchpad Bug Tracker
1991553 at bugs.launchpad.net
Tue Aug 29 07:56:10 UTC 2023
This bug was fixed in the package software-properties - 0.99.39
---------------
software-properties (0.99.39) mantic; urgency=medium
* Add cjwatson patch to use getArchiveSubscriptionURL() for private PPAs
* Fix getArchiveSubscriptionURL() API call and tests
* Resolve adding private PPAs, which do not yet have a token LP: #1991553
-- Dimitri John Ledkov <dimitri.ledkov at canonical.com> Fri, 25 Aug 2023
22:17:31 +0100
** Changed in: software-properties (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/1991553
Title:
can't add a private PPA
Status in software-properties package in Ubuntu:
Fix Released
Bug description:
As per today's discussion in ~is :
add-apt-repository has a bug when adding a private PPA. Quoting
~cjwatson :
===
It asks Launchpad for all your personal archive subscriptions _that have tokens_. But `Person:+archivesubscriptions` also shows subscriptions without tokens - the token is generated when you click on Viewt here for the first time.
Instead, `add-apt-repository` should call `getArchiveSubscriptionURL` (not `getArchiveSubscriptionURLs`) for the archive it's interested in. That generates tokens on-demand. Either it will get an HTTP 401, or it will get a URL which it can parse for the username and password.
===
Thanks !
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1991553/+subscriptions
More information about the foundations-bugs
mailing list