oscript-library / oscript-library/opm
Не удаляются файлы от старых версий пакета при установке/обновлении
Open
Nobody has claimed this yet.
- Dominant language
- 1C Enterprise
- Stars
- 85
- Forks
- 35
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
Если в новой версии пакета удалены файлы, то при установке/обновлении пакета opm i/u ххх они остаются в папке пакета.
Пример проблемы:
- в
v8unpaсk 1.0.6удален файл lib.config, но он остается в папке и приводит к ошибке загрузки библиотеки в onescript 2.0
PS C:\Users\nadulich> vrunner --help
{Модуль C:\Users\nadulich\AppData\Local\ovm\current\lib\vanessa-runner\oscript_modules\v8unpack\package-loader.os / Ошибка в строке: 6 / Внешнее исключение (System.Exception): Error loading assemblies:
Inner exception [0]System.TypeLoadException: Could not load type 'ScriptEngine.Machine.Contexts.ICollectionContext' from assembly 'ScriptEngine, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'.
Inner exception [1]System.TypeLoadException: Could not load type 'ScriptEngine.Machine.IValue' from assembly 'ScriptEngine, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'.
}
- описание здесь https://t.me/oscript_library/123762
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 by locating the implementation behind the opm i/u install and update commands, then reproduce the case with v8unpack, where lib.config was removed in 1.0.6. Trace how the package directory is replaced or synchronized; done means files deleted from a newer package no longer remain after installation or update.
Written by the indexing model from the issue text.
Assessment
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100