tiomap-dev team mailing list archive
-
tiomap-dev team
-
Mailing list archive
-
Message #02624
[Bug 645404] Re: Support Private PPAs
> * add-apt-repository should support logging in to launchpad and adding
private ppas
added this functionality.
> * private PPAs should be added with auth.conf.d for the auth data
added this functionality.
still does not remove this auth data when the corresponding sources.list
entry is removed.
> * to avoid having to login to launchpad on a server, something like:
>
> - add-apt-repository should gain a --stdin switch that contains lines of repositories with
> options
implemented standard '-' to read a line from stdin
> - add-apt-repository should gain a --remote/-r switch to specify a remote host, and do the auth
> locally and then run the --stdin one on the remote host.
implemented this as well, although I am not sure this is the best
design. It will fail if the remote add-apt-repository isn't at a newer
version (i.e. that supports the '-' param). Additionally, the gpg has
to be manually added, since (for private ppas) that can't be queried
without logging into lp, which is what the remote session is trying to
avoid.
I think simply creating the resulting files - sourceparts, netrcparts,
and trustedparts - on the remote system is going to be more reliable and
simpler than using the remote system's installed add-apt-repository to
try to process things into place. Calling apt-config on the remote
system to gather the right directories to place the files should be
simple; I think the hardest part will be figuring out how to do it
without multiple subprocess runs to call ssh to 1) gather apt-config on
the remote system and then 2) scp/sftp or ssh create-from-stdin the 3
files, and then 3) make sure they are the correct mode.
--
You received this bug notification because you are a member of TI OMAP
Developers, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/645404
Title:
Support Private PPAs
Status in software-properties package in Ubuntu:
In Progress
Status in software-properties source package in Bionic:
In Progress
Status in software-properties source package in Cosmic:
In Progress
Status in software-properties source package in Disco:
In Progress
Status in software-properties source package in Eoan:
In Progress
Bug description:
Software properties add-apt-repository currently does not support
adding private PPAs.
software-properties should connect to the API and observe that it gets
permission denied trying to read the ppa. Then it can reconnect to the
API asking for authentication, which will open a browser window where
you can do the openid ritual. Then using that token it ought to be
possible for it to get the password etc.
ProblemType: BugDistroRelease: Ubuntu 12.04
Package: python-software-properties 0.82.4
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/645404/+subscriptions