oscript-library / oscript-library/opm
BUG: Команда `opm install -l` полностью перезаписывает файлы oscript.cfg, оставляю в них одну строку `lib.additional=../oscript_modules`
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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