Команда Build - Добавить встраивание `oscript_modules` в пакет
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- build-system, cli
Research direction
Start by locating the build command and its package assembly hook, then compare its behavior with the provided ПередСборкой procedure and the gitsync-plugins release example. Check how opm 0.14+ installs dependencies locally, ensure oscript_modules is included in the package, and verify that local dependencies are preferred before the internet.
Written by the indexing model from the issue text.
Description
Можно пересобрать пакет с зависимостями по примеру https://github.com/khorevaa/gitsync-plugins/releases там все зависимости упакованы вместе с пакетом в каталог oscript_modules и устанавливаются сначала из него потом уже интернет. Но это возможно столько на версиях opm 0.14+
@artbear Процедура сборки пакета
Процедура ПередСборкой(Знач РабочийКаталог) Экспорт
УдалитьФайлы(ОбъединитьПути(РабочийКаталог, "oscript_modules"), "*.*");
СистемнаяИнформация = Новый СистемнаяИнформация;
ЭтоWindows = Найти(НРег(СистемнаяИнформация.ВерсияОС), "windows") > 0;
Если ЭтоWindows Тогда
ИмяУтилиты = "opm.bat";
Иначе
ИмяУтилиты = "opm";
КонецЕсли;
СтрокаЗапуска = СтрШаблон("%1 install -l", ИмяУтилиты);
Процесс = СоздатьПроцесс(СтрокаЗапуска, РабочийКаталог);
Процесс.Запустить();
Процесс.ОжидатьЗавершения();
Если Процесс.КодВозврата <> 0 Тогда
ВызватьИсключение "Ошибка сборки пакета";
КонецЕсли;
КонецПроцедуры
@artbear @nixel2007 Вообще эту функциональность надо запилить в команду build -) Дойдут руки сделаю
@khorevaa ну и включить в сборку, верно?
.ВключитьФайл("oscript_modules")
Источник https://gitter.im/EvilBeaver/oscript-library?at=5b616f2695988830b0919e88
@khorevaa @nixel2007 @EvilBeaver
- Dominant language
- 1C Enterprise
- Stars
- 85
- Forks
- 35
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from oscript-library/opm
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
oscript-library/opm#271 · 2 reactions ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
oscript-library/opm#277 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
oscript-library/opm#274 ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
oscript-library/opm#270 · 2 comments ·
-
feat: Добавить удаление пакетаPossibly taken @nixel2007 claimed this 240 days ago. Open
oscript-library/opm#259 · 3 comments · 1 reaction · 2 assignees ·
All issues in oscript-library/opm
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Make Catch2 optional when `RDK_BUILD_CPP_TESTS=OFF`Possibly taken @pechersky claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
state:triage-needed
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day