Skip to content

Commit 7b6b3f8

Browse files
Merge branch 'release/v1.0.0'
2 parents a4a2e96 + 62ec518 commit 7b6b3f8

23 files changed

+782
-187
lines changed

.cz.toml

-15
This file was deleted.

.editorconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ indent_style = space
2222
insert_final_newline = false
2323

2424
# JavaScript/TypeScript/JSON specific file configuration
25-
[*.{cjs,js,json,jsx,mjs,ts,tsx}]
25+
[*.{astro,cjs,d.cts,d.mts,js,json,jsonc,jsx,mjs,svelte,ts,tsx,vue}]
2626
indent_size = 2
2727
indent_style = space
2828

.github/workflows/mega-linter.yml

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
# MegaLinter GitHub Action configuration file
3+
# More info at https://megalinter.io
4+
name: MegaLinter
5+
6+
on:
7+
# Trigger mega-linter at every push on develop or main. Action will also be visible from Pull
8+
# Requests
9+
pull_request:
10+
push:
11+
branches:
12+
- develop
13+
- main
14+
15+
concurrency:
16+
group: ${{ github.ref }}-${{ github.workflow }}
17+
cancel-in-progress: true
18+
19+
jobs:
20+
megalinter:
21+
name: MegaLinter
22+
runs-on: ubuntu-latest
23+
permissions:
24+
# Give the default GITHUB_TOKEN write permission to comment issues
25+
issues: write
26+
steps:
27+
# Git Checkout
28+
- name: Checkout Code
29+
uses: actions/checkout@v4
30+
with:
31+
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
32+
# If you use VALIDATE_ALL_CODEBASE = true, you can remove this line to improve
33+
# performances
34+
fetch-depth: 0
35+
36+
# MegaLinter
37+
- name: MegaLinter
38+
id: ml
39+
uses: oxsecurity/megalinter/flavors/ci_light@v8
40+
env:
41+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/prepare_release.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
# Knope GitHub Action configuration file
3+
name: Create Release PR
4+
5+
on:
6+
push:
7+
branches:
8+
- develop
9+
10+
jobs:
11+
prepare-release:
12+
# Skip merges from releases
13+
if: "!contains(github.event.head_commit.message, 'chore: prepare release')"
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/[email protected]
17+
with:
18+
fetch-depth: 0
19+
token: ${{ secrets.PAT }}
20+
- name: Configure Git
21+
run: |
22+
git config --global user.name GitHub Actions
23+
git config user.email [email protected]
24+
- uses: knope-dev/[email protected]
25+
with:
26+
version: 0.13.0
27+
- run: knope prepare-release --verbose
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.PAT }}
30+
continue-on-error: true

.github/workflows/release.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
# Knope GitHub Action configuration file
3+
name: Knope Release
4+
5+
on:
6+
pull_request:
7+
branches:
8+
- main
9+
types:
10+
- closed
11+
12+
jobs:
13+
release:
14+
needs: [build-artifacts]
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/[email protected]
18+
- uses: knope-dev/[email protected]
19+
with:
20+
version: 0.13.0
21+
- run: knope release
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.PAT }}

.gitignore

+18
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,21 @@ $RECYCLE.BIN/
9595
*.lnk
9696

9797
# End of https://www.toptal.com/developers/gitignore/api/linux,macos,windows,visualstudiocode
98+
99+
### Lefthook ###
100+
# Local configuration file
101+
lefthook-local.json
102+
.lefthook-local.json
103+
lefthook-local.toml
104+
.lefthook-local.toml
105+
lefthook-local.yml
106+
.lefthook-local.yml
107+
lefthook-local.yaml
108+
.lefthook-local.yaml
109+
110+
# Local configuration directory
111+
.lefthook-local/
112+
113+
### Mega Linter ###
114+
# Reports
115+
megalinter-reports/

.hadolint.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
ignored:
23
- DL3008 # Pin versions in apt-get install
34
- DL3013 # Pin versions in pip install.
@@ -8,3 +9,4 @@ ignored:
89
trustedRegistries:
910
- "docker.io"
1011
- "*.ghcr.io"
12+
- "quay.io"

.mailmap

-1
This file was deleted.

.mega-linter.yaml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
# Configuration file for MegaLinter
3+
# See all available variables at https://megalinter.io/configuration/ and in linters documentation
4+
5+
APPLY_FIXES: none
6+
7+
FILTER_REGEX_EXCLUDE: '(\.github/workflows)'
8+
JSON_JSONLINT_FILTER_REGEX_EXCLUDE: '(\.vscode/)'
9+
MARKDOWN_FILTER_REGEX_EXCLUDE: 'LICENSE'
10+
SHOW_ELAPSED_TIME: true
11+
FLAVOR_SUGGESTIONS: false
12+
EMAIL_REPORTER: false
13+
FILEIO_REPORTER: false
14+
JSON_REPORTER: false
15+
GITHUB_STATUS_REPORTER: true

.pre-commit-config.yaml

-44
This file was deleted.

.trivyignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# 'dnf clean all' missing => Buildkit cache mounts are used, so there is no increase in image size
2+
AVD-DS-0019
3+
4+
# No HEALTHCHECK defined => The image runs only on invocation or as a dev container, so there is no need for a health check
5+
AVD-DS-0026

.vscode/extensions.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"donjayamanne.githistory",
55
"eamodio.gitlens",
66
"editorconfig.editorconfig",
7-
"elagil.pre-commit-helper",
87
"emilast.logfilehighlighter",
98
"exiasr.hadolint",
109
"gruntfuggly.todo-tree",
@@ -13,6 +12,7 @@
1312
"streetsidesoftware.code-spell-checker",
1413
"streetsidesoftware.code-spell-checker-scientific-terms",
1514
"tamasfe.even-better-toml",
15+
"task.vscode-task",
1616
"timonwong.shellcheck",
1717
"wayou.vscode-todo-highlight"
1818
]

.yamllint

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
extends: default
3+
4+
rules:
5+
braces:
6+
max-spaces-inside: 1
7+
level: error
8+
brackets:
9+
max-spaces-inside: 1
10+
level: error
11+
line-length:
12+
max: 100
13+
level: warning
14+
truthy: disable

CHANGELOG.md

+16-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,27 @@
1-
## v0.4.0 (2024-05-23)
1+
# Changelog
2+
## 1.0.0 (2024-09-14)
3+
4+
### ❗️ Breaking Changes ❗
5+
6+
- Since the whole release management is updated, we kick-off with a new version `v1.0.0`
7+
8+
### 🚀 Features
9+
10+
- add `lefthook`, `git-lfs` and make sure `java` is installed correctly
11+
12+
## 0.4.0 (2024-05-23)
213

314
### Feat
415

516
- **docker**: add the python package manager poetry to the devcontainer stage
617

7-
## v0.3.0 (2024-05-04)
18+
## 0.3.0 (2024-05-04)
819

920
### Feat
1021

1122
- **docker**: install LTeX language server for spell checking of LaTeX files with LanguageTool
1223

13-
## v0.2.0 (2024-04-29)
24+
## 0.2.0 (2024-04-29)
1425

1526
### Feat
1627

@@ -21,10 +32,10 @@
2132
- **docker**: bump default Fedora version to 40
2233
- **docker**: move environment variables and labels to the base image to not repeat ourselves
2334

24-
## v0.1.1 (2024-04-08)
35+
## 0.1.1 (2024-04-08)
2536

2637
### Perf
2738

2839
- **docker**: speed up image builds by configuring DNF to keep cache after installation
2940

30-
## v0.1.0 (2024-04-01)
41+
## 0.1.0 (2024-04-01)

CONTRIBUTING.md

+7-13
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,18 @@ repository before making a change.
77
## About the repository configuration
88

99
1. Before you start your work, make sure to setup the repository
10-
- This project uses git hooks with the help of [`pre-commit`](https://pre-commit.com/).
11-
Make sure to have `pre-commit` installed and run `pre-commit install` to
12-
install the git hooks. This can take some time as well as the first
13-
commit. **NOTE**: This step is necessary for quality assurance.
10+
- This project uses git hooks with the help of [`lefthook`](https://github.com/evilmartians/lefthook).
11+
Make sure to have `lefthook` installed and run `lefthook install` to
12+
install the git hooks. **NOTE**: This step is necessary for quality
13+
assurance.
1414
- Optionally (but highly recommended) run `git config --local commit.gpgsign true`
1515
to configure your local working copy of the repository to automatically
1616
sign your work. Also add your e-mail address and public key to the [`allowed_signers`](./allowed_signers)
1717
file so others can confirm your work locally. See also [Commit Signing](#commit-signing)
1818
for more information.
19-
2. This repository is [Commitizen friendly](https://commitizen-tools.github.io/commitizen/)
20-
- When you're done with your work and want to commit it either commit it
21-
the usual way with `git commit` or use `cz commit`.
22-
- If you've followed the first step and installed `pre-commit`, then `pre-commit`
23-
will run all configured hooks. These will lint your commit message to
24-
make sure it follows the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/)
25-
scheme. You can use Commitizen to assure this. Also it will run other
26-
hooks to ensure consistent code style to catch problems with static
27-
analysis.
19+
2. This repository uses [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/).
20+
Make sure to follow the pattern. You can use a tool like [`commitizen`](https://commitizen-tools.github.io/commitizen/)
21+
to help you.
2822
3. Do not push your changes directly to the main branch! Create a pull request
2923
instead. After a code review by the project maintainer it will be considered
3024
for contribution.

0 commit comments

Comments
 (0)