oscript-library / oscript-library/v8find

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

Open
#7 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
1C Enterprise
Stars
14
Forks
14
Avg merge
10m
Merged PRs (30d)
1

Description

Добрый день, есть линуксовая машина, на ней стоит несколько версий платформы
image
мне надо как-то передавать версию при выполнении команды, ну например почему б не использовать параметр v8version? Сейчас в поиски платформы это не предусмотрено, т.е. у меня находит по дефолтному пути.

Еще небольшое отступление от вопроса:
Данное условие вернет истину даже если версия такая "0.0.0.0", это верно?
https://github.com/khorevaa/v8find/blob/7e77d1f72fbfb567e605c767ddd9a75afeb7fa78/src/%D0%9A%D0%BB%D0%B0%D1%81%D1%81%D1%8B/%D0%9F%D0%BB%D0%B0%D1%82%D1%84%D0%BE%D1%80%D0%BC%D0%B01%D0%A1.os#L347

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

The issue points to src/Классы/Платформа1С.os around line 347; start there and trace the command’s platform lookup and default-path behavior. Determine where command parameters are handled, then verify that selecting a platform version works and clarify the behavior of the 0.0.0.0 condition. No test or exact command entry point is named, so the interface needs confirmation before coding.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Feature
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.