saltstack / saltstack/salt

pkgrepo.managed should support proxy option

Open
#48,451 10 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug documentation help-wanted P4 pending-community-assignment severity-low stale time-estimate-sprint
Dominant language
Python
Stars
15.7k
Forks
5.6k
Avg merge
2d 44m
Merged PRs (30d)
80

Description

Hi,

With yum it's sometime useful to configure the proxy in the repo configuration to overload the yum.conf configuration

Example I have some local repository that does not use the proxy.

[standard-rhel7-extras]
name=YUM $releasever - $basearch
baseurl=http://myrepo.local/rhel7/standard-rhel7-extras/
enabled=1
proxy=_none_

Best regards,

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the pkgrepo.managed implementation and the yum repository configuration handling. Check how repository options are currently passed, then verify that the requested proxy setting can be represented for a repository such as the local example; the change is done when pkgrepo.managed supports that option without relying only on yum.conf.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.