Merge branch 'master' of github.com:AnonymusRaccoon/Kyoo into library

run: git submodule update --init --recursive
This commit is contained in:
Zoe Roux 2021-04-20 00:23:44 +02:00
commit ed3ede3a18
8 changed files with 114 additions and 7 deletions

20
.github/ISSUE_TEMPLATE/bug-report.md vendored Normal file
View File

@ -0,0 +1,20 @@
---
name: Bug Report
about: Create a bug report to help improve Kyoo
title: "[BUG] "
labels: bug
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1.
**Expected Behavior**
A clear and concise description of what you expected to happen.
**Environment:**
- Platform [e.g. Windows / Linux]
- Action Version [e.g. v0.0.1 or a git commit's SHA]

View File

@ -0,0 +1,18 @@
---
name: Feature Request
about: Suggest a new feature for Kyoo (don't forget to check projects first)
title: "[FEATURE] "
labels: enhancement
---
**Is your feature request related to a problem? If yes, please describe.**
A clear and concise description of what the problem is.
**Describe the feature you'd like**
A clear and concise description of what you want Kyoo to have.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

View File

@ -0,0 +1,21 @@
---
name: Bug Fix
about: Propose code for a bug fix
title: "[BUG] "
labels: bug
---
## Proposed changes
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request.
If it fixes a bug or resolves a feature request, be sure to link to that issue.
## Checklist
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] I have added necessary documentation (if appropriate)
## Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did
and what alternatives you considered, etc...

View File

@ -0,0 +1,27 @@
---
name: Feature Proposal
about: Propose code for a new feature of Kyoo
title: "[FEATURE] "
labels: enhancement
---
## Proposed changes
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request.
If it fixes a bug or resolves a feature request, be sure to link to that issue.
## Informations
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] New public API added
- [ ] Non-breaking changes
## Checklist
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] I have added necessary documentation (if appropriate)
## Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did
and what alternatives you considered, etc...

21
.github/PULL_REQUEST_TEMPLATE/webapp.md vendored Normal file
View File

@ -0,0 +1,21 @@
---
name: Feature Proposal
about: Propose code for a change on the webapp of Kyoo
title: "[WEBAPP] "
labels: webapp
---
## Kyoo.WebApp Pull Request
Please link a pull request from the [Kyoo.WebApp](https://github.com/AnonymusRaccoon/Kyoo.WebApp) repository, this pull request should
only be a shortcut to the one on this repository to inform users of changes.
## Proposed changes
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request.
## Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did
and what alternatives you considered, etc...

View File

@ -18,8 +18,6 @@ jobs:
tags: | tags: |
type=ref,event=tag type=ref,event=tag
type=ref,event=branch type=ref,event=branch
type=ref,event=pr
type=sha,prefix=
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@v1 uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx - name: Set up Docker Buildx

View File

@ -14,11 +14,12 @@ jobs:
- name: Set commit environment - name: Set commit environment
run: echo "COMMIT_SHA=$(git rev-list -n 1 ${{github.ref}})" >> $GITHUB_ENV run: echo "COMMIT_SHA=$(git rev-list -n 1 ${{github.ref}})" >> $GITHUB_ENV
- name: Wait for builds & tests to finish - name: Wait for builds & tests to finish
uses: lewagon/wait-on-check-action@v0.2 uses: lewagon/wait-on-check-action@master
with: with:
ref: ${{github.ref}} ref: ${{github.ref}}
repo-token: ${{secrets.GITHUB_TOKEN}} repo-token: ${{secrets.GITHUB_TOKEN}}
running-workflow-name: release running-workflow-name: release
allowed-conclusions: success,skipped,cancelled,neutral
- name: Generate changelog - name: Generate changelog
uses: mikepenz/release-changelog-builder-action@v1 uses: mikepenz/release-changelog-builder-action@v1
env: env:
@ -36,6 +37,7 @@ jobs:
with: with:
PROJECT_FILE_PATH: Kyoo.Common/Kyoo.Common.csproj PROJECT_FILE_PATH: Kyoo.Common/Kyoo.Common.csproj
PACKAGE_NAME: Kyoo.Common PACKAGE_NAME: Kyoo.Common
VERSION_REGEX: ^\s*<PackageVersion>(.*)<\/PackageVersion>\s*$
NUGET_KEY: ${{secrets.NUGET_API_KEY}} NUGET_KEY: ${{secrets.NUGET_API_KEY}}
INCLUDE_SYMBOLS: true INCLUDE_SYMBOLS: true
- name: Create Release - name: Create Release
@ -44,5 +46,5 @@ jobs:
draft: true draft: true
release_name: ${{github.ref}} release_name: ${{github.ref}}
body: ${{steps.github_release.outputs.changelog}} body: ${{steps.github_release.outputs.changelog}}
arficats: ./artifacts/**/* artifacts: ./artifacts/**/*
token: ${{secrets.GITHUB_TOKEN}} token: ${{secrets.GITHUB_TOKEN}}

View File

@ -2,11 +2,11 @@
"categories": [ "categories": [
{ {
"title": "## Features", "title": "## Features",
"labels": ["feature"] "labels": ["enhancement"]
}, },
{ {
"title": "## Fixes", "title": "## Fixes",
"labels": ["fix"] "labels": ["bug"]
}, },
{ {
"title": "## Web App", "title": "## Web App",
@ -15,4 +15,4 @@
], ],
"template": "${{CHANGELOG}}\n\n<details>\n<summary>Others</summary>\n\n${{UNCATEGORIZED}}\n</details>", "template": "${{CHANGELOG}}\n\n<details>\n<summary>Others</summary>\n\n${{UNCATEGORIZED}}\n</details>",
"pr_template": "- ${{TITLE}} (PR: #${{NUMBER}})" "pr_template": "- ${{TITLE}} (PR: #${{NUMBER}})"
} }