-
Notifications
You must be signed in to change notification settings - Fork 93
Feature/ref #37
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/ref #37
Conversation
Init работает
У шаблона приложения есть возможность указать команду по умолчанию. Туда можно указать как раз этот новый sync вместо help |
@nixel2007 точно! счас! |
Добавил, каммент исправил |
.vscode/tasks.json
Outdated
@@ -1,137 +1,15 @@ | |||
{ | |||
"version": "0.1.0", | |||
"windows": { |
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 будет недоволен от удаления тасков :)
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.
Сгенерен автоматом из VSC... на что поправить?
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.
Откатить изменения обратно.
Вообще генерация не должна была была перезатереть имеющийся файл, странно :(
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.
У меня с родным не выполнялась компиляция - кракозябры и ошибки
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.
вернул
packagedef
Outdated
@@ -9,9 +9,9 @@ | |||
.ЗависитОт("v8runner") | |||
.ЗависитОт("strings") | |||
.ЗависитОт("1commands") | |||
.ВключитьФайл("src") | |||
.ВключитьФайл("src") |
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.
tabs vs space
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.
Авторское :) Исправлю
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.2.1"; |
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.
Вот это желательно где-нибудь оставить. Предлагаю вынести в отдельный модуль, для того чтобы и из package-def его тоже потом тягать
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.
Тогда его надо экспортным?
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.
угу. и в отдельный модуль.
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.
Да, экспортный метод в отдельном методе.
Например, посмотри packagedef в 1commands
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.
По отдельному модуля не совсем понял, поясни пож-ста
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.
Выглядит титанически!!! Огромное спасибо за труд! |
@nixel2007 вам спасибо, собсно каммент выше объясняет |
@bia-tech для формальности спрошу - тесты проходят? |
мультик не проверял, а остальные да |
@EvilBeaver специально сделал спец.шаблон oscript-template, деплойка и другие проекты юзают именно эту схему. Посмотри его репо. |
@artbear не видел его, поправлю не проблема |
@artbear как написать красиво? |
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.
Предварительное изучение закончил.
Вопросы написал.
Позже буду пристально изучать каждый перенесенный кусок модулей.
Предлагаю не торопиться с мержем
.vscode/tasks.json
Outdated
"tasks": [ | ||
{ | ||
"taskName": "Testing project", |
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.
Почему выкинуты полезные команды для VSC ??
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.
вернул
packagedef
Outdated
@@ -9,9 +9,9 @@ | |||
.ЗависитОт("v8runner") | |||
.ЗависитОт("strings") | |||
.ЗависитОт("1commands") | |||
.ВключитьФайл("src") | |||
.ВключитьФайл("src") |
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.
что-то с отступом!
|
||
КонецФункции // ВыполнитьКоманду | ||
|
||
Процедура ПоказатьВозможныеКоманды(Знач Парсер) |
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бдд.
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.
В гитраннере вообще нет справки)))
Есть в oscript-config, но я тоже брал из шаблона, ничего не меняя.
Перем УдалятьВременныеФайлы; | ||
|
||
Функция Версия() | ||
Возврат "1.2.1"; |
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.
Да, экспортный метод в отдельном методе.
Например, посмотри packagedef в 1commands
Отличная работа @theshadowco. |
Функция РезультатыКоманд() Экспорт | ||
|
||
РезультатыКоманд = Новый Структура; | ||
РезультатыКоманд.Вставить("НеРеализовано", 255); |
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.
"НеРеализован" нигде не используется, предлагаю удалить из кода.
PS принцип - нам не нужен код на всякий случай.
@artbear реквест висит уже черти-сколько. Давай, все-таки вольем, а косметические правки сделаем уже после вливания. PR полезный |
@EvilBeaver "черти-сколько" = 6 дней :) Уверен, что @theshadowco быстро поправит. |
Сегодня доделаю
13 февраля 2017 г., 0:43 пользователь Artur Ayukhanov <
[email protected]> написал:
… @artbear <https://github.com/artbear> реквест висит уже черти-сколько.
Давай, все-таки вольем, а косметические правки сделаем уже после вливания.
PR полезный
@EvilBeaver <https://github.com/EvilBeaver> "черти-сколько" = 6 дней :)
PR важен и полезен, но принять пока нельзя, т.к. он "убил" небольшую часть
функционала.
ИМХО доделать несложно, а других замечаний совсем чуть-чуть осталось.
Уверен, что @theshadowco <https://github.com/theshadowco> быстро поправит.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#37 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJJbsydy3ngACcRiNAviWosaxNt2kWZ-ks5rb3z1gaJpZM4L4Woo>
.
--
С уважением,
Максимов Валерий.
[email protected]
|
Внес исправления, BDD тож выполняются |
Раз идет капитальный передел, предлагаю добавить Приемочные тесты. (тест с командной строкой, полностью эмулирующий работу) |
Не пихайте все в одно, что мешает замержить и потом добавить приемочный тест? |
Согласен с @pumbaEO @theshadowco Посмотрю твои дополнения. |
@ret-Phoenix Сделаешь в новом PR ? |
Хорошо, сделаю. Сначала только разберусь с фичами BDD. |
Возможность отправлять на удаленный сервер через n-коммитов
Отличная работа, спасибо @theshadowco ! |
Проведен рефакторинг приложения