oscript-library / oscript-library/opm

BUG: Команда `opm install -l` полностью перезаписывает файлы oscript.cfg, оставляю в них одну строку `lib.additional=../oscript_modules`

Open
#223 1 comment 0 reactions 0 assignees View on GitHub

@artbear is already working on this.

Since Jul 2, 2024.

  • #224 by @artbear — open
Dominant language
1C Enterprise
Stars
85
Forks
35
Avg merge
1m
Merged PRs (30d)
1

Description

при выполнении команды opm install -l происходит очистка файла oscript.cfg
и в нем принудительно оставляется одна строка
lib.additional=../oscript_modules

хотя в моих исходных файлах их две

lib.system=../oscript_modules
lib.additional=../oscript_modules

оставлял одну строку, с system, результат не меняется

а без system приложение неверно работает, т.к. ищет зависимости не внутри oscript_modules, а в системных библиотеках

в ванесса-раннер обошел подменой файла oscript.cfg и последующим восстановлением после выполнения opm install -l

обсуждение из https://t.me/oscript_library/124218

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 opm install -l command and inspect how it writes oscript.cfg; the issue does not name source files or tests. Reproduce with both lib.system=../oscript_modules and lib.additional=../oscript_modules, then review linked pull request #224. Done means installation preserves the existing configuration entries and dependencies still resolve from oscript_modules.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.