oscript-library / oscript-library/opm

Невозможно отключить использование серверов пакетов по умолчанию

Open
#162 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
1C Enterprise
Stars
85
Forks
35
Avg merge
1m
Merged PRs (30d)
1

Description

При установке пакета строится кеш пакетов по всем серверам (два предопределённых + из настроек), при этом выполняется попытка получения списка пакетов с каждого из серверов. При недоступности запасного сервера (предопределённого) это приводит к длительной задержке установки, пока получение не отвалится по таймауту.

Как лучше избежать этой ситуации?
Может, добавить опцию для возможности отключения добавления предопределённых серверов в список? Или есть другие идеи?

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 by tracing package installation, cache construction, and the assembly of package-server settings. Determine where the two predefined servers are added and how unavailable servers cause timeout delays. Done means users can avoid querying unwanted predefined servers, with the chosen behavior covered by an appropriate test.

Written by the indexing model from the issue text.

Assessment

Domain
cli, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.