Skip to content
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

Third party report code conventions #373

Merged
merged 3 commits into from
Sep 22, 2022
Merged

Conversation

maxsurovtsev
Copy link
Contributor

@maxsurovtsev maxsurovtsev commented Jul 13, 2022

В этом ПРе создается модуль с конвеншнами для сборки third-party-code отчетов.
Сами конвеншны пустые и ссылка на репозиторий хранится в пропертях из-за политики безопасности в Лаборатории Касперского.
Генерируем мы эти отчеты в контуре ЛК следующим образом:

  • Заполняем проперти ссылкой на внутренний репозиторий с зависимостями
  • Применяем патч, который прописывает необходимые зависимости в third-party-report/build.gradle и заполняет конвеншны логикой
  • Запускаем таску по сбору отчета

@CLAassistant
Copy link

CLAassistant commented Jul 13, 2022

CLA assistant check
All committers have signed the CLA.

allure-support/build.gradle.kts Show resolved Hide resolved
@@ -22,9 +23,11 @@ dependencyResolutionManagement {
}
}

val kasperskyRepoUrl: String? by settings
Copy link
Collaborator

Choose a reason for hiding this comment

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

Это какой-то секрет? Откуда он будет тянуться при публикации?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Да, безопасность запрещает публиковать ссылку на внутренний репозиторий

Copy link
Collaborator

Choose a reason for hiding this comment

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

@RuslanMingaliev для релиза мы будем скачивать с локальных ресурсов патч, накатывать его и отправлять отчеты для получения апрува на релиз

@@ -0,0 +1,3 @@
plugins {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Почему это convention плагин? Не вижу никакой настройки

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Вот тут как раз прописываются зависимости, нужные для конвеншна
Этот файл вместе с convention.air.gradle.kts и convention.third-party-report.gradle.kts оставлены пустыми, чтобы проект продолжал собираться.

@@ -0,0 +1 @@
// Please do not remove this file. This file is used for new releases.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Не понимаю, для чего вообще этот PR :)
Добавь, пожалуйста, контекста к описанию PR в формате "Какую проблему решал - Что сделал - Что дальше"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Обновил описание

@eakurnikov
Copy link
Collaborator

Guys I think we should use English as it is a an international open-source :) We have non-russian speaking contributors.

@matzuk
Copy link
Member

matzuk commented Aug 6, 2022

@RuslanMingaliev hey!
Has Maxim resolved all issues that bothered you? WDYT?

# Conflicts:
#	build.gradle.kts
#	gradle/libs.versions.toml
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.

None yet

6 participants