Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
SmithyVL committed Mar 23, 2023
0 parents commit 07254c6
Show file tree
Hide file tree
Showing 54 changed files with 1,834 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: 🪲 Bugs report
about: Создайте отчет об ошибке, чтобы мы могли заняться улучшением
title: '[BUG] Короткое название ошибки.'
labels: 'type: bug, priority: low, status: backlog'
assignees: 'SmithyVL'

---

**Описание ошибки**
Четкое и краткое описание ошибки.

**Воспроизведение**
Шаги по воспроизведению поведения:
1. Перейти сюда '...'
2. Нажать на '....'
3. Прокрутить до '....'
4. Видим ошибку.

**Ожидаемое поведение**
Четкое и краткое описание того, чего вы ожидали.

**Возможное решение проблемы**
Подробное и понятное решение проблемы в виде списка.

**Скриншоты**
Если возможно, пожалуйста, прикрепите скриншоты, чтобы объяснить вашу проблему.

**Дополнительный контекст**
Добавьте сюда любой другой контекст проблемы.
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/configuration_issues.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: 🧰 Configuration issues
about: Различные предложения по настройке проекта
title: '[CONFIGURATION] Краткое название новой конфигурации.'
labels: 'type: configuration, status: backlog, priority: low'
assignees: 'SmithyVL'

---

**Описание конфигурации**
Четкое и краткое описание того, что вы хотите, чтобы произошло.

**Опишите альтернативные варианты**
Четкое и краткое описание любых альтернативных решений или функций, которые вы рассмотрели.

**Дополнительный контекст**
Добавьте любой другой контекст или скриншоты о проблеме конфигурации здесь.
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/docs_issues.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: 📖 Docs issues
about: Улучшения или дополнения к документации
title: '[DOCS] Краткое название работ по проектной документации.'
labels: 'type: documentation, status: backlog, priority: low'
assignees: 'SmithyVL'

---

**Описание документации**
Четкое и краткое описание того, что вы хотите, чтобы произошло.

**Дополнительный контекст**
Добавьте любой другой контекст или скриншоты о проблеме с документацией здесь.
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: 🚀 Feature request
about: Предложите идею для этого проекта
title: '[FEATURE] Краткое название функциональности.'
labels: 'type: feature, status: backlog, priority: low'
assignees: 'SmithyVL'

---

**Описание функциональности**
Четкое и краткое описание того, что вы хотите, чтобы произошло.

**Опишите альтернативные варианты**
Четкое и краткое описание любых альтернативных решений или функций, которые вы рассмотрели.

**Дополнительный контекст**
Добавьте любой другой контекст или скриншоты о запросе функциональности здесь.
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/refactoring_issues.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: 🧾 Refactoring issues
about: Оптимизация, улучшение и форматирование кода
title: '[REFACTORING] Краткое название работ по рефакторингу.'
labels: 'type: refactoring, status: backlog, priority: low'
assignees: 'SmithyVL'

---

**Описание рефакторинга**
Четкое и краткое описание того, что вы хотите, чтобы произошло.

**Дополнительный контекст**
Добавьте любой другой контекст или скриншоты о проблеме рефакторинга здесь.
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/testing_issues.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: 🧪 Testing issues
about: Тестирование кода
title: '[TESTING] Краткое название работ по тестированию.'
labels: 'type: testing, status: backlog, priority: low'
assignees: 'SmithyVL'

---

**Описание кейса для тестирования**
Четкое и краткое описание того, что вы хотите, чтобы произошло.

**Дополнительный контекст**
Добавьте любой другой контекст или скриншоты о процессе тестирования здесь.
70 changes: 70 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
template: |
# Что нового
$CHANGES
**Полный список изменений**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
no-changes-template: 'Нет изменений'

categories:
- title: '☄️ Критические изменения'
label: '☄️ BREAKING CHANGES'
- title: '⚡️ Новое'
label: '⚡️ type: feature'
- title: '🪲 Исправления ошибок'
label: '🪲 type: bug'
- title: '🧰 Обслуживание'
label:
- '🧰 type: maintenance'
- '🧰 type: refactoring'
- title: '📖 Документация'
label: '📖 type: documentation'
- title: '📝 Другие изменения'
- title: '📈 Обновления зависимостей'
label: '📈 type: dependencies'
collapse-after: 5

version-resolver:
major:
labels:
- '☄️ BREAKING CHANGES'
minor:
labels:
- '⚡️ type: feature'
patch:
labels:
- '🪲 type: bug'
- '🧰 type: maintenance'
- '🧰 type: refactoring'
- '📖 type: documentation'
- '📈 type: dependencies'

autolabeler:
- label: '🧰 type: maintenance'
files:
- '.github/*'
- '.run/*'
- label: '📈 type: dependencies'
files:
- 'buildSrc/*'
- label: '📖 type: documentation'
files:
- '*.md'
- 'docs/*'
branch:
- '/docs{0,1}\/.+/'
- label: '🪲 type: bug'
branch:
- '/fix\/.+/'
title:
- '/fix/i'
- label: '⚡️ type: feature'
branch:
- '/feature\/.+/'

exclude-labels:
- 'skip-changelog'
72 changes: 72 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: CI

on:
workflow_dispatch:
#push:
# branches:
# - master
pull_request:
types: [ opened, synchronize, reopened ]

jobs:
ktlint:
name: ✒️ Стиль кода
runs-on: ubuntu-latest
steps:
- name: 📦 Checkout
uses: actions/checkout@v3
- name: ☕️ Установка JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: "temurin"
cache: 'gradle'
- name: 🔓 Установка разрешений на gradlew
run: chmod +x ./gradlew
- name: ✒️ Проверка кода с Gradle
run: ./gradlew ktlintCheck --no-daemon
assemble:
name: 🧩 Сборка проекта
needs: [ ktlint ]
runs-on: ubuntu-latest
steps:
- name: 📦 Checkout
uses: actions/checkout@v3
- name: ☕️ Установка JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: "temurin"
cache: 'gradle'
- name: 🔓 Установка разрешений на gradlew
run: chmod +x ./gradlew
- name: 🧩 Сборка с Gradle
run: ./gradlew assemble --no-daemon
sonar:
name: 📈 SonarCloud
needs: [ assemble ]
runs-on: ubuntu-latest
steps:
- name: 📦 Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: ☕️ Установка JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: "temurin"
cache: 'gradle'
- name: 🔓 Установка разрешений на gradlew
run: chmod +x ./gradlew
- name: 📒 Кэширование SonarCloud
uses: actions/cache@v3
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: 📈 Сборка и анализ с SonarCloud
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: ./gradlew build sonarqube --info
19 changes: 19 additions & 0 deletions .github/workflows/release_draft.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Release Draft

on:
workflow_dispatch:
#push:
# branches:
# - master
#pull_request:
# types: [ opened, reopened, synchronize ]
#pull_request_target:
# types: [ opened, reopened, synchronize ]

jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
### Indellij Idea ###
**.iml
.idea/

### Gradle ###
**/.gradle/
**/build/
36 changes: 36 additions & 0 deletions .run/assemble.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="assemble" type="GradleRunConfiguration" factoryName="Gradle">
<ExternalSystemSettings>
<option name="executionName"/>
<option name="externalProjectPath" value="$PROJECT_DIR$"/>
<option name="externalSystemIdString" value="GRADLE"/>
<option name="scriptParameters" value=""/>
<option name="taskDescriptions">
<list/>
</option>
<option name="taskNames">
<list>
<option value="clean"/>
<option value="assemble"/>
</list>
</option>
<option name="vmOptions"/>
</ExternalSystemSettings>
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
<EXTENSION ID="com.intellij.execution.ExternalSystemRunConfigurationJavaExtension">
<extension name="net.ashald.envfile">
<option name="IS_ENABLED" value="false"/>
<option name="IS_SUBST" value="false"/>
<option name="IS_PATH_MACRO_SUPPORTED" value="false"/>
<option name="IS_IGNORE_MISSING_FILES" value="false"/>
<option name="IS_ENABLE_EXPERIMENTAL_INTEGRATIONS" value="false"/>
<ENTRIES>
<ENTRY IS_ENABLED="true" PARSER="runconfig" IS_EXECUTABLE="false"/>
</ENTRIES>
</extension>
</EXTENSION>
<DebugAllEnabled>false</DebugAllEnabled>
<method v="2"/>
</configuration>
</component>
Loading

0 comments on commit 07254c6

Please sign in to comment.