Public bug reported:
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 !
** Affects: software-properties (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Desktop
Packages, 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:
New
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
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp