oscript-library / oscript-library/opm

Понятная ошибка отсутствия необходимой версии

Open Beginner friendly
#271 0 comments 2 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

В packagedef имеем строчку .ЗависитОт("1connector", "1.0.0")
Выполяем opm install -l в каталоге проекта и получаем ошибку:

Скачиваю файл: 1connector-1.0.0.ospx
ИНФОРМАЦИЯ - Ошибка подключения к хабу ОсновнойСерверПакетов <404>
ИНФОРМАЦИЯ - Ошибка подключения к хабу ЗапаснойСерверПакетов <404>

Однако хабы доступны, нет лишь указанной версии.
Нужно поменять текст ошибки на более информативный. Например: "Указанная версия не найдена в хабе"

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

Reproduce the problem with a packagedef dependency on version 1.0.0 and run opm install -l in the project directory. Find the code that reports the hub responses, then verify that a missing package version produces an informative not-found message rather than reporting a hub connection failure.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.