oscript-library / oscript-library/opm

feat: команда opm audit для анализа зависимостей

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

Nobody has claimed this yet.

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

Description

Предлагаю добавить команду opm audit — не как security-сканер (базы уязвимостей для OneScript не существует), а как инструмент анализа состояния зависимостей проекта.

Возможные режимы:

  • opm audit --outdated — показать зависимости, для которых в хабе есть более новые версии (только анализ, без изменений, в отличие от update)
  • opm audit --conflicts — обнаружить конфликты версий в дереве транзитивных зависимостей
  • opm audit --licenses — вывести лицензии всех зависимостей (актуально для корпоративных проектов)

Инфраструктура для этого уже есть: МенеджерУстановкиПакетов, КэшУстановленныхПакетов, СерверПакетов. Логику разрешения транзитивных зависимостей можно переиспользовать.

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 reviewing МенеджерУстановкиПакетов, КэшУстановленныхПакетов, and СерверПакетов, then trace the existing logic for resolving transitive dependencies. Before implementation, agree which audit modes and output are in scope; done means the selected analysis works without modifying dependencies.

Written by the indexing model from the issue text.

Assessment

Domain
cli, devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.