-
Notifications
You must be signed in to change notification settings - Fork 31
Feature/custombinpath #79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/custombinpath #79
Conversation
Исправленна документация. Добавленно чтение настроек opm.cfg с различных путей системных настроек и настроек пользователя.
README.md
Outdated
| opm update -all | ||
| ``` | ||
|
|
||
| ## Настройка прокси серевера для скачивания пакетов |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Опечатка - правильно "прокси-сервера"
artbear
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Хороший PR
но нужны небольшие дополнения
src/Классы/УстановкаПакета.os
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Как-то некрасиво смотрится использование англоязычной функции в русском коде :(
Предлагаю исправить на русское имя
src/Модули/НастройкиПриложенияOpm.os
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Опечатка - правильно НастройкиНайдены (одна н)
src/Модули/НастройкиПриложенияOpm.os
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Идет дублирование магической строки "opm.cfg", хотя уже есть спец.публичная переменная ИмяФайлаНастроек в КонстантыOpm.os
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Магия Модулей и Классов и их использование одного из другого - пишет ошибку при использовании из константы.
src/Модули/НастройкиПриложенияOpm.os
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Опечатка- правильно Возвращает
src/Модули/НастройкиПриложенияOpm.os
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Вместо использования НастройкиНайдены предлагаю юзать Прервать сразу после успешного чтения файла настроек, код становится проще и понятнее.
src/Модули/НастройкиПриложенияOpm.os
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Здесь нужно поменять порядок согласно поведению и доке
Правильно
текущий каталог запуска, домашний каталог пользователя, системная настройка, Каталог opm (для совместимости)
README.md
Outdated
| ``` | ||
|
|
||
| ## Настройка прокси серевера для скачивания пакетов | ||
| ## Настройка прокси-серевера для скачивания пакетов |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
все равно опечатка серевера :)
src/Модули/НастройкиПриложенияOpm.os
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Используй Если Не НастройкиНайден Тогда - и Сонар, и стандарт 1С ругается
|
В мастер :( |
|
Женя, косяк :( |
Добавил чтение переменной окружения для настройки пути создания скриптов. OSCRIPTBIN - можно переопределять пути для создания bat/sh файлов.
Исправленна документация.
Добавленно чтение настроек opm.cfg с различных путей системных настроек и настроек пользователя.