canonical / ubuntu-pro-client

Ubuntu Pro Client for offerings from Canonical
https://canonical-ubuntu-pro-client.readthedocs-hosted.com/en/latest/
GNU General Public License v3.0
52 stars 73 forks source link

Feature: deprecate and remove apt_http(s)_proxy config settings #3070

Open orndorffgrant opened 5 months ago

orndorffgrant commented 5 months ago

Please describe the scenario where the new feature would be useful

apt_http(s)_proxy is the old name for global_apt_http(s)_proxy but it is still shown in pro config show.

Describe the solution you'd like

apt_http(s)_proxy should be deprecated on currently supported ubuntu releases and removed starting in 24.10.

Current behavior

apt_http(s)_proxy values are already treated as global_apt_http(s)_proxy values. And there are some special warnings and migrations in place for backwards compatibility. These are tested in proxy_config.feature. We'll want to maintain backwards compatibility but add deprecation warnings on older releases while disallowing it on new releases.