oscript-library / oscript-library/gitsync

gitsync all вылетает с исключением

Open
#114 4 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

Экспорт работает нормально, но с командой all вылетает. Есть ощущение, что в конфиге что-то не так...

Сохранение конфигурации хранилища завершено.
	Файл = Z:\tmp\stk266bh.h1q.tmp\v109.cf
ОШИБКА - {Модуль /usr/share/oscript/lib/gitsync/src/core/Классы/МенеджерСинхронизации.os / Ошибка в строке: 59 / Преобразование к типу 'Булево' не поддерживается}
ИНФОРМАЦИЯ - Синхронизация завершена

config.json

{
	"gitsync-options": {
		"global": {
			"email-domain": "company.ua",
			"v8-version": "8.3",
			"git-executable": "git"
		},
		"repositories": [
			{
				"name": "gw-retail",
				"git-local-path": "/DATA/gitsync/gw-retail/src",
				"git-remote": "gitsync:gw-retail",
				"v8-storage-dir": "/DATA/REPO_8.3.9.2233/retail_prod",
				"process-fatform-modules": "on",
				"push-every-n-commits": 5,
				"auto-set-tags": "on",
				"stop-if-empty-comment": "on",
				"check-authors": "on"
			}
		]
	}
}

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

Reproduce the failure with the all command using the provided config.json, then inspect /usr/share/oscript/lib/gitsync/src/core/Классы/МенеджерСинхронизации.os around line 59. Compare the boolean-valued configuration options with the values accepted there; done means synchronization completes without the reported boolean-conversion exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
git
Domain
cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.