oscript-library / oscript-library/gitsync

Не прерывается работа при возникновении ошибки.

Open
#243 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
1C Enterprise
Stars
333
Forks
98
PR merge metrics
No merged PRs in 30d

Description

После возникновения ошибки в процессе выгрузки версии в исходники и выдачи сообщения об остановке выполнения, оно продолжается, происходит помещение неполноценной версии в Гит и парсинг следующих версий.
......
Ключ защиты программы больше не доступен! Работа программы завершена.

ОШИБКА - Получен ненулевой код возврата 1. Выполнение скрипта остановлено!
ОТЛАДКА - [oscript.lib.delegate] - Делегат.Исполнить ПриОчисткеКаталогаРабочейКопии
ОТЛАДКА - [oscript.lib.delegate] - Делегат.Исполнить. Имя метода ПриОчисткеКаталогаРабочейКопии, Тип объекта Плагин_ИнкрементальнаяВыгрузка
ОТЛАДКА - [oscript.lib.delegate] - Делегат.Исполнить Кол-во параметров
ОТЛАДКА - [oscript.lib.gitsync] - Найдено файлов выгрузки: 20713 шт.
ОТЛАДКА - [oscript.lib.gitsync] - КаталогРабочейКопии: ./config
ОТЛАДКА - [oscript.lib.gitsync] - Обрабатываю ИмяКаталога: ./config\CommonAttributes
ОТЛАДКА - [oscript.lib.gitsync] - Обрабатываю ИмяКаталога: ./config\CommonModules
ОТЛАДКА - [oscript.lib.gitsync] - Обрабатываю ИмяКаталога: ./config\CommonPictures
ОТЛАДКА - [oscript.lib.gitsync] - Обрабатываю ИмяКаталога: ./config\CommonTemplates
ОТЛАДКА - [oscript.lib.gitsync] - Обрабатываю ИмяКаталога: ./config\ExchangePlans
ОТЛАДКА - [oscript.lib.gitsync] - Обрабатываю ИмяКаталога: ./config\Ext
......

Contributor guide

Open the contributing guide

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

The report references oscript.lib.gitsync and oscript.lib.delegate, including ПриОчисткеКаталогаРабочейКопии; start by tracing error handling around version export and cleanup. Reproduce the failure with an unavailable protection key. Done means execution stops after the error, no incomplete version is placed in Git, and later versions are not parsed.

Written by the indexing model from the issue text.

Assessment

Tech stack
git
Domain
cli, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.