oscript-library / oscript-library/v8runner

Определение самой новой платформы

Open
#135 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

При наличии более новой х86 платформы 1С:Предприятия 8.3.18.1334 скрипт получает путь к более старой x64 платформе 8.3.14.1854. Это происходит при коммите в гит в момент попытки разбора расширения (сделанного в 8.3.18.1334, без режима совместимости) на исходники.
ОШИБКА - {Модуль C:\Program Files\OneScript\lib\v8runner\src\v8runner.os / Ошибка в строке: 1388 / Для работы с этим расширением конфигурации необходима версия платформы не меньше, чем 8.3.18.
Текущая версия 8.3.14.1854.

Не совсем уверен, что это ошибка, т.к. OneScript x64, и, соответственно, он пытается вызвать 1С x64.

Contributor guide

No contributing guide indexed for this repository

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

Start by inspecting lib/v8runner/src/v8runner.os around line 1388, where the extension is parsed and the platform version is reported. Reproduce the commit-time case with 8.3.18.1334 and 8.3.14.1854 installed in x86 and x64 variants. Done means the script selects the appropriate newest platform and no longer reports the older 8.3.14 version for the extension.

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
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.