This repository was archived by the owner on Mar 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat!: add, refactor features Signed-off-by: Josef Andersson <[email protected]> Co-authored-by: Rickard Andersson <[email protected]>
- Loading branch information
1 parent
0e31230
commit fba94e0
Showing
129 changed files
with
6,740 additions
and
1,788 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# EditorConfig helps developers define and maintain consistent | ||
# coding styles between different editors and IDEs | ||
# editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
# Change these settings to your own preference | ||
# The default settings was taken from the kotlin style guide, https://github.com/Kotlin/kotlin-style-guide/issues/38 | ||
indent_style = space | ||
indent_size = 4 | ||
tab_width = 4 | ||
max_line_length = 120 | ||
|
||
# We recommend you to keep these unchanged | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.{kt,kts}] | ||
#https://github.com/editorconfig/editorconfig/issues/412 | ||
ij_continuation_indent_size = 8 | ||
|
||
[{*.md,*.adoc}] | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: bug | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots: | ||
- OS: [e.g. Ubuntu] | ||
- Version [e.g. 22] | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: enhancement | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
|
||
# Pull Request Template | ||
|
||
## Description | ||
|
||
Please include a summary of the change and which issue is fixed or added. Please also include relevant motivation and context. List any dependencies that are required for this change. | ||
|
||
Fixes #(issue) | ||
|
||
## Type of change | ||
|
||
Please delete options that are not relevant. | ||
|
||
- [ ] Bug fix (non-breaking change which fixes an issue) | ||
- [ ] New feature (non-breaking change which adds functionality) | ||
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) | ||
- [ ] This change requires a documentation update | ||
|
||
## How Has This Been Tested? | ||
|
||
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration | ||
|
||
Please delete options that are not relevant. | ||
|
||
**Test Configuration**: | ||
- A short description of your environment. | ||
|
||
## Checklist | ||
|
||
- [ ] I confirm that I wrote and/or have the right to submit the contents of my PR, by agreeing to the Developer Certificate of Origin (see [docs/CONTRIBUTING](../docs/CONTRIBUTING.adoc). | ||
- [ ] My code follows the style guidelines of this project | ||
- [ ] I have performed a self-review of my own code | ||
- [ ] I have commented my code in hard-to-understand areas | ||
- [ ] I have made corresponding changes to the documentation | ||
- [ ] My changes generate no new warnings | ||
- [ ] I have added tests that prove my fix is effective or that my feature works | ||
- [ ] New and existing unit tests pass locally with my changes | ||
- [ ] Any dependent changes have been merged and published in downstream modules | ||
- [ ] PR has an informative and human-readable title | ||
- [ ] Changes are limited to a single goal (no scope creep) | ||
- [ ] Code can be automatically merged (no conflicts) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
name: Commitlint | ||
on: [workflow_call] # yamllint disable-line rule:truthy | ||
|
||
jobs: | ||
commitlint: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 15.x | ||
|
||
- name: Install dependencies | ||
run: npm install -g @commitlint/config-conventional @commitlint/cli | ||
|
||
- name: Commitlint Pull Requests | ||
if: github.event_name == 'pull_request' | ||
run: commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose | ||
|
||
- name: Commitlint Master/Main | ||
if: github.ref_name == 'master' || github.ref_name == 'main' | ||
run: commitlint --from HEAD~1 --to HEAD --verbose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
name: DCO (--Sign-off) | ||
on: [workflow_call] # yamllint disable-line rule:truthy | ||
|
||
jobs: | ||
signoff: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python 3.x | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: "3.x" | ||
- name: Check DCO | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
pip3 install -U dco-check | ||
dco-check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
name: REUSE Compliance | ||
|
||
on: [workflow_call] # yamllint disable-line rule:truthy | ||
|
||
jobs: | ||
reuse: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: REUSE Compliance Check | ||
uses: fsfe/reuse-action@v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
name: MegaLinter | ||
on: [workflow_call] # yamllint disable-line rule:truthy | ||
|
||
jobs: | ||
megalinter: | ||
name: megalint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Run MegaLinter | ||
id: ml | ||
uses: megalinter/megalinter@v5 | ||
|
||
- name: Archive production artifacts | ||
if: ${{ success() }} || ${{ failure() }} | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: MegaLinter reports | ||
path: | | ||
report | ||
mega-linter.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
name: Repolint workflow | ||
on: [workflow_call] # yamllint disable-line rule:truthy | ||
|
||
concurrency: | ||
group: ${{ github.ref }}-${{ github.workflow }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
repolinter: | ||
name: repolint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
- name: Run Repolinter | ||
uses: todogroup/repolinter-action@v1 | ||
with: | ||
config_file: repolint.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Gradle Clean Build | ||
on: [workflow_call] # yamllint disable-line rule:truthyn: [push, pull_request} | ||
jobs: | ||
gradle: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-java@v3 | ||
with: | ||
java-version: "11" | ||
distribution: "adopt" | ||
|
||
- name: Setup Gradle | ||
uses: gradle/gradle-build-action@v2 | ||
with: | ||
arguments: clean build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
name: gradle-yapp-publisher-plugin workflow | ||
|
||
on: [push, pull_request] # yamllint disable-line rule:truthy | ||
|
||
jobs: | ||
dco: | ||
uses: ./.github/workflows/dco.yml | ||
commitlint: | ||
uses: ./.github/workflows/commitlint.yml | ||
license: | ||
uses: ./.github/workflows/license.yml | ||
test: | ||
uses: ./.github/workflows/test.yml | ||
lint: | ||
uses: ./.github/workflows/lint.yml | ||
repolint: | ||
uses: ./.github/workflows/repolint.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
PRINT_ALPACA: false | ||
EMAIL_REPORTER: false | ||
APPLY_FIXES: all | ||
|
||
# Lint specifig settings | ||
ENABLE: [KOTLIN, MARKDOWN, YAML, COPYPASTE] | ||
|
||
COPYPASTE_JSCPD_ARGUMENTS: --ignore "build,report,LICENSES,.idea" --threshold "10" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,60 @@ | ||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
Upstream-Name: gradle-yapp-publisher-plugin | ||
Source: https://github.com/svt/gradle-yapp-publisher-plugin | ||
|
||
Files: *.pom | ||
Copyright: 2021 Sveriges Television AB | ||
Files: *.yml | ||
Copyright: 2022 Sveriges Television AB | ||
License: CC0-1.0 | ||
|
||
Files: *.asc | ||
Copyright: 2021 Sveriges Television AB | ||
Files: *.md | ||
Copyright: 2022 Sveriges Television AB | ||
License: CC0-1.0 | ||
|
||
Files: *.gpg | ||
Copyright: 2021 Sveriges Television AB | ||
Files: *.js | ||
Copyright: 2022 Sveriges Television AB | ||
License: CC0-1.0 | ||
|
||
Files: *.properties | ||
Copyright: 2021 Sveriges Television AB | ||
Files: *.adoc | ||
Copyright: 2022 Sveriges Television AB | ||
License: CC0-1.0 | ||
|
||
Files: .gitignore | ||
Copyright: 2021 Sveriges Television AB | ||
Files: .gitignore | ||
Copyright: 2022 Sveriges Television AB | ||
License: CC0-1.0 | ||
|
||
Files: *.kts | ||
Copyright: 2021 Sveriges Television AB | ||
License: CC0-1.0 | ||
Files: gradlew* | ||
Copyright: 2007-2022 The original author or authors <[email protected]> | ||
License: Apache-2.0 | ||
|
||
Files: gradle/* | ||
Copyright: 2007-2022 The original author or authors <[email protected]> | ||
License: Apache-2.0 | ||
|
||
Files: *.md | ||
Copyright: 2021 Sveriges Television AB | ||
Files: *.properties | ||
Copyright: 2022 Sveriges Television AB | ||
License: CC0-1.0 | ||
|
||
Files: *.adoc | ||
Copyright: 2021 Sveriges Television AB | ||
Files: *.editorconfig | ||
Copyright: 2022 Sveriges Television AB | ||
License: CC0-1.0 | ||
|
||
Files: *.gradle.test | ||
Copyright: 2021 Sveriges Television AB | ||
Files: *.kts | ||
Copyright: 2022 Sveriges Television AB | ||
License: CC0-1.0 | ||
|
||
# Third-party files. | ||
Files: *.pom | ||
Copyright: 2022 Sveriges Television AB | ||
License: CC0-1.0 | ||
|
||
Files: **/build_template_kts | ||
Copyright: 2022 Sveriges Television AB | ||
License: CC0-1.0 | ||
|
||
Files: *gradlew* | ||
Copyright: 2007-2020 The original author or authors <[email protected]> | ||
License: Apache-2.0 | ||
Files: *.gpg | ||
Copyright: 2022 Sveriges Television AB | ||
License: CC-BY-NC-ND-4.0 | ||
|
||
Files: gradle/* | ||
Copyright: 2007-2020 The original author or authors <[email protected]> | ||
License: Apache-2.0 | ||
Files: *.asc | ||
Copyright: 2022 Sveriges Television AB | ||
License: CC-BY-NC-ND-4.0 | ||
|
||
Files: *gradle-wrapper.jar | ||
Copyright: 2007-2020 The original author or authors <[email protected]> | ||
License: Apache-2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## 0.0.1 - 2022-12-12 | ||
|
||
### Added | ||
- Nothing | ||
|
||
### Deprecated | ||
- Nothing. | ||
|
||
### Removed | ||
- Nothing. | ||
|
||
### Fixed | ||
- Nothing. |
Oops, something went wrong.