openSUSE / openSUSE/MirrorCache

Question: whitelisting / retrieve applicable mirror list in machine-readable format?

Open
#615 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Perl
Stars
50
Forks
23
PR merge metrics
No merged PRs in 30d

Description

Hi,

we were asked to provide URL whitelists for Internet access, and regarding openSUSE downloads would like to automate this by querying MirrorCache.

I'm aware of using i.e. "https://download.opensuse.org/distribution/leap/15.6/iso/openSUSE-Leap-15.6-DVD-x86_64-Build710.3-Media.iso?mirrorlist" to receive a currentlist of potential mirrors in human-readable format. Is there some query parameter I may add so that i.e. a JSON is returned?

And with regards to the list of applicable mirrors returned - comparing to "mirrors.opensuse.org" I can tell that above URL only returns a subset of mirrors. And as I see at least a few connects to mirrors not contained the the result from above URL (but contained in mirrors.opensuse.org) I must assume that the "?mirrorlist" query will return changing entries across multiple queries. True?

How are others handlng whitelisting requirements?

Contributor guide

No contributing guide indexed for this repository

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 with the MirrorCache mirrorlist URL in the issue and compare its results with mirrors.opensuse.org. Determine whether a machine-readable response is supported, whether the returned mirror set is intentionally variable, and what documented behavior would satisfy automated whitelist users; no repository file or test is named.

Written by the indexing model from the issue text.

Assessment

Tech stack
perl
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.