Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
049db4c
Setting up GitHub Classroom Feedback
github-classroom[bot] Mar 21, 2023
2d75418
feat: Add GNU GPL v3.0 license
PavlushaSource Mar 28, 2023
6ba015c
feat: Add .gitignore
PavlushaSource Mar 28, 2023
bc7aef1
feat: Generate Gradle application struct on DSL Kotlin
PavlushaSource Mar 28, 2023
5e39ef6
feat: Add mergeable.yml
PavlushaSource Mar 28, 2023
50704e5
feat: Write the architecture of future trees
PavlushaSource Mar 28, 2023
49a109c
BST realization (#4)
PavlushaSource Apr 7, 2023
3ace175
feat: Change the architecture of trees, create an AbstractBST
PavlushaSource Apr 9, 2023
8e90598
feat: Implement methods of balance
PavlushaSource Apr 9, 2023
47b93a9
feat: Implement insert and remove methods
PavlushaSource Apr 10, 2023
9e9b2f7
feat: Fix mergeable feedback, add gradle wrapper, add workflows.
PavlushaSource Apr 18, 2023
8535ced
feat: Implemented insertion and deletion algorithms for the red black…
ALanovaya Apr 18, 2023
bb420ce
feat: Implement logic of working with sqlite
PavlushaSource Apr 19, 2023
f9e17a8
feat: Replaced everything "!!" to exception
PavlushaSource Apr 19, 2023
e3c2ab0
add: Add file with implementation of storing a red-black tree with a …
ALanovaya Apr 19, 2023
9494658
feat: Add test binary search tree
PavlushaSource Apr 19, 2023
b15c680
feat: Add test AVL tree
PavlushaSource Apr 19, 2023
8d771fa
feat: Add test RBT
PavlushaSource Apr 19, 2023
4b51159
feat: Add readme
PavlushaSource Apr 19, 2023
af68511
fix: fixed a lot of bugs and changed the code (#25)
PavlushaSource May 2, 2023
5201418
added @JsonIgnore annotation (#26)
AlexShmak May 3, 2023
3e0b9b2
add: Adding files for implementation of a graphical interface for dra…
ALanovaya May 3, 2023
0484147
fix: Added task for checking test coverage
ALanovaya May 3, 2023
06637e8
fix: Change CI settings
PavlushaSource May 3, 2023
6d61fa8
fix: Change cringe README
PavlushaSource May 3, 2023
b6c165f
refactor: Rename title in Main.kt
PavlushaSource May 3, 2023
3bd53d1
Merge pull request #27 from spbu-coding-2022/gui_development
ALanovaya May 3, 2023
e90dbc5
add: Added readme
ALanovaya May 3, 2023
af2a6b6
fix: Fixed mistake in name of repository
ALanovaya May 3, 2023
1ae8edf
fix: Fixed wrong name of title
ALanovaya May 3, 2023
d73c3f0
fix: Fixed removing when input is empty
ALanovaya May 3, 2023
8060a87
Merge pull request #28 from spbu-coding-2022/gui_development
ALanovaya May 3, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.bat eol=crlf

26 changes: 26 additions & 0 deletions .github/mergeable.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
version: 2
mergeable:
- when: 'pull_request.*, pull_request_review.*'
filter:
- do: payload
pull_request:
title:
must_exclude:
regex: ^Feedback$
regex_flag: none
validate:
- do: approvals
min:
count: 1
block:
changes_requested: true
limit:
users:
- ALanovaya
- PavlushaSource
- AlexShmak

- do: description
no_empty:
enabled: true
message: Description matter and should not be empty. Provide detail with **what** was changed, **why** it was changed, and **how** it was changed.
39 changes: 39 additions & 0 deletions .github/workflows/buildAndTest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Test and build with Gradle

on:
push:

jobs:
build:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]

steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: zulu
- name: Test and build with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: build

- if: matrix.os == 'ubuntu-latest'
name: Grant execute permission for gradlew
run: chmod +x gradlew

- if: matrix.os == 'ubuntu-latest'
name: Run Test Coverage
run: ./gradlew jacocoTestReport

- if: matrix.os == 'ubuntu-latest'
name: Jacoco Code Coverage Report
uses: cicirello/jacoco-badge-generator@v2.8.0
with:
generate-branches-badge: true
jacoco-csv-file: build/jacoco/report.csv
59 changes: 59 additions & 0 deletions .github/workflows/publish-binaries.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Publish binaries

on:
push:
tags:
- v1.*
- v1.*.*

permissions:
contents: write

# Required to make env var work on Windows
defaults:
run:
shell: bash

jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
#cache: 'gradle'

- name: Build with Gradle
run: ./gradlew jpackageZip

- run: echo "OR_TARGET_NAME=linux-x64" >> $GITHUB_ENV
if: matrix.os == 'ubuntu-latest'

- run: echo "OR_TARGET_NAME=macos" >> $GITHUB_ENV
if: matrix.os == 'macos-latest'

- run: echo "OR_TARGET_NAME=windows" >> $GITHUB_ENV
if: matrix.os == 'windows-latest'

- name: Rename jpackage zip
run: mv ./build/distributions/openrndr-application.zip ./build/distributions/openrndr-application-${{env.OR_TARGET_NAME}}.zip

- name: Create Release
uses: ncipollo/release-action@v1.12.0
id: create_release
with:
token: ${{ secrets.GITHUB_TOKEN }}
allowUpdates: true
replacesArtifacts: false
body: Fully automated release
artifacts: "./build/distributions/openrndr-application-${{env.OR_TARGET_NAME}}.zip"

8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
application.log
build
out
.idea
.gradle
video/
screenshots/
gui-parameters/
Loading