Skip to content

Conversation

@asosnoviy
Copy link
Member

@asosnoviy asosnoviy commented Dec 6, 2016

#13

@asosnoviy asosnoviy changed the title opm list -remote #13 opm list -remote Dec 6, 2016
@asosnoviy asosnoviy changed the title #13 opm list -remote opm list -remote Dec 6, 2016
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Не стоит использовать стрчислострок и стрполучитьстроку. Внутри у них крайне не оптимальный алгоритм. В том числе и в родной 1С

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Лучше прочитать один раз текстовым документом или ЧтениемТекста

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@EvilBeaver ты что-то уж слишком придираешься.
Какой процент от общего выполнения заберет эта строка? 0,001? Там же хттп запрос перед этим

Copy link
Member

@nixel2007 nixel2007 Dec 7, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ну так @EvilBeaver и не затребовал изменений :)
В любом случае, я переделаю файл на json. Поговорили вчера с Лешей. Там по-любому будут добавляться поля, лучше сразу сделать расширяемым

Copy link
Member Author

@asosnoviy asosnoviy Dec 7, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Там в первом варианте вообще темпфайл сохранялся =)
Сейчас исправил.
Как будет Json, поменяем на чтениеJson.


СписокТестов = Новый Массив;

СписокТестов.Добавить("ТестДолжен_ПолучитьПакетыХаба");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@asosnoviy ты меня прям застыдил...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Исправил. Теперь ТекстовыйДокумент

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

А потом приду я и будет #Использовать JSON :D

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nixel2007 сначала был HTML =)
Потом пришел ты и HTML разложился в структуру.
Потом ты опять пришел и появился txt
Ждем третьего пришествия =)

Copy link
Member

@artbear artbear left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

У меня только одно замечание по формату файла-списка.
Нужно договориться, будет ли это txt или json-формат

@nixel2007
Copy link
Member

JSON, JSON.

@artbear
Copy link
Member

artbear commented Dec 7, 2016

Тогда формат опиши и тогда @asosnoviy сможет доработать свой PR

@asosnoviy
Copy link
Member Author

@artbear это PR в oscript-library:feature/list мы же на нем и договариваемся.

@nixel2007 nixel2007 changed the base branch from feature/list to develop December 9, 2016 15:49
@nixel2007
Copy link
Member

@asosnoviy поменял base-branch. словил конфликт =/ сорри. В общем, можно ребейзится на девелопе

@nixel2007
Copy link
Member

Пока нет json мержу так. назрело.

@nixel2007 nixel2007 merged commit 5bd5475 into oscript-library:develop Dec 22, 2016
@asosnoviy asosnoviy deleted the opmlist branch February 18, 2017 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants