At first, let me provide the output you were asking for:
-bash-4.2$ psql pulpcore -c 'select url, proxy_url from core_remote'
url | proxy_url
----------------------------------------------------------------------------------------------+----------------------------
https://public-yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/ | http://<proxy.example.com>
https://public-yum.oracle.com/repo/OracleLinux/OL7/addons/x86_64/ | http://<proxy.example.com>
https://yum.oracle.com/repo/OracleLinux/OL8/appstream/x86_64/ | http://<proxy.example.com>
https://yum.oracle.com/repo/OracleLinux/OL8/addons/x86_64/ | http://<proxy.example.com>
https://yum.oracle.com/repo/OracleLinux/OL8/baseos/latest/x86_64/ | http://<proxy.example.com>
https://packages.elastic.co/elasticsearch/2.x/centos | http://<proxy.example.com>
(6 rows)
The proxy URL shows up for every single repository I’ve set up. Please note that I have replaced the original proxy URL from the output with http://<proxy.example.com>
, of course
Your second hint sounds very interesting, though I cannot apply the patch itself, since my current version of /usr/lib/python3.6/site-packages/pulp_rpm/app/downloaders.py
only has 52 lines, so it differs from https://github.com/pavelpicka/pulp_rpm/blob/c717196dab597f4a21ed71e3ce10097d14dc49f3/pulp_rpm/app/downloaders.py in more than just one change.
However, I could do the change manually, but I’m not sure if that’s the way to go.
Let me provide you some further information:
relevant pulp package
yum provides /usr/lib/python3.6/site-packages/pulp_rpm/app/downloaders.py
python3-pulp-rpm-3.5.0-3.el7.noarch : RPM plugin for the Pulp Project
Repo : @katello-pulpcore
Matched from:
Filename : /usr/lib/python3.6/site-packages/pulp_rpm/app/downloaders.py
yum list installed | grep python3-pulp-rpm
python3-pulp-rpm.noarch 3.5.0-3.el7 @katello-pulpcore
katello-pulpcore repository
yum provides /etc/yum.repos.d/katello.repo
katello-repos-3.16.0-1.el7.noarch : Definition of yum repositories for Katello
Repo : katello
Matched from:
Filename : /etc/yum.repos.d/katello.repo
yum list installed | grep katello-repos
katello-repos.noarch 3.16.0-1.el7 @/katello-repos-latest
/etc/yum.repos.d/katello.repo
[...]
[katello-pulpcore]
name=pulpcore: Fetch, Upload, Organize, and Distribute Software Packages.
baseurl=https://fedorapeople.org/groups/katello/releases/yum/3.16/pulpcore/el7/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-foreman
enabled=1
gpgcheck=1
module_hotfixes=1
[...]
I hope this helps. Thanks a lot for your support so far!