Skip to content

Commit

Permalink
Release candidate 1
Browse files Browse the repository at this point in the history
Co-authored-by: Franke, Benedikt <benedikt.franke@dlr.de>
  • Loading branch information
2 people authored and HeinrichAD committed Jul 4, 2024
1 parent 00ce05c commit 6e54065
Show file tree
Hide file tree
Showing 193 changed files with 4,510 additions and 12,625 deletions.
5 changes: 5 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2024 Benedikt Franke <benedikt.franke@dlr.de>
# SPDX-FileCopyrightText: 2024 Florian Heinrich <florian.heinrich@dlr.de>
#
# SPDX-License-Identifier: Apache-2.0

*
!docker
!fl_server
Expand Down
5 changes: 5 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2024 Benedikt Franke <benedikt.franke@dlr.de>
# SPDX-FileCopyrightText: 2024 Florian Heinrich <florian.heinrich@dlr.de>
#
# SPDX-License-Identifier: Apache-2.0

root = true

[*]
Expand Down
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
# SPDX-FileCopyrightText: 2024 Benedikt Franke <benedikt.franke@dlr.de>
# SPDX-FileCopyrightText: 2024 Florian Heinrich <florian.heinrich@dlr.de>
#
# SPDX-License-Identifier: Apache-2.0

* text=auto eol=lf
22 changes: 20 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2024 Benedikt Franke <benedikt.franke@dlr.de>
# SPDX-FileCopyrightText: 2024 Florian Heinrich <florian.heinrich@dlr.de>
#
# SPDX-License-Identifier: Apache-2.0

name: Main

on:
Expand Down Expand Up @@ -50,6 +55,19 @@ jobs:
- name: Start type checking
run: bash ./dev mypy

license-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
- name: Install dependencies
run: bash ./dev install -e ".[all]"
- name: Start license check
run: bash ./dev licenses

coverage:
runs-on: ubuntu-latest
services:
Expand Down Expand Up @@ -93,7 +111,7 @@ jobs:
run: bash ./dev coverage

build-and-push-docker-image:
needs: [lint-code, lint-doc, lint-scripts, mypy, coverage]
needs: [lint-code, lint-doc, lint-scripts, mypy, coverage, license-check]
permissions:
contents: read
packages: write
Expand Down Expand Up @@ -132,7 +150,7 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}

build-pages:
needs: [lint-code, lint-doc, lint-scripts, mypy, coverage]
needs: [lint-code, lint-doc, lint-scripts, mypy, coverage, license-check]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2024 Benedikt Franke <benedikt.franke@dlr.de>
# SPDX-FileCopyrightText: 2024 Florian Heinrich <florian.heinrich@dlr.de>
#
# SPDX-License-Identifier: Apache-2.0

/builds/
/logs/
/out/
Expand Down
5 changes: 5 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// SPDX-FileCopyrightText: 2024 Benedikt Franke <benedikt.franke@dlr.de>
// SPDX-FileCopyrightText: 2024 Florian Heinrich <florian.heinrich@dlr.de>
//
// SPDX-License-Identifier: Apache-2.0

// Reference: https://github.com/DavidAnson/markdownlint
// Rules: https://github.com/DavidAnson/markdownlint#rules--aliases
// Exception: https://github.com/DavidAnson/markdownlint#configuration
Expand Down
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2024 Benedikt Franke <benedikt.franke@dlr.de>
# SPDX-FileCopyrightText: 2024 Florian Heinrich <florian.heinrich@dlr.de>
#
# SPDX-License-Identifier: Apache-2.0

repos:
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
Expand Down
12 changes: 12 additions & 0 deletions .reuse/dep5
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: fl-demonstrator
Upstream-Contact:
Benedikt Franke <benedikt.franke@dlr.de>
Florian Heinrich <florian.heinrich@dlr.de>
Source: https://github.com/DLR-KI/fl-demonstrator

# Sample paragraph, commented out:
#
# Files: src/*
# Copyright: $YEAR $NAME <$CONTACT>
# License: ...
4 changes: 4 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Benedikt Franke <benedikt.franke@dlr.de>
// SPDX-FileCopyrightText: 2024 Florian Heinrich <florian.heinrich@dlr.de>
//
// SPDX-License-Identifier: Apache-2.0
{
"recommendations": [
"batisteo.vscode-django",
Expand Down
13 changes: 13 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
// SPDX-FileCopyrightText: 2024 Benedikt Franke <benedikt.franke@dlr.de>
// SPDX-FileCopyrightText: 2024 Florian Heinrich <florian.heinrich@dlr.de>
//
// SPDX-License-Identifier: Apache-2.0
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/manage.py",
"args": [
"runserver"
]
},
{
"name": "Serve Documentation",
"type": "python",
Expand Down
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Benedikt Franke <benedikt.franke@dlr.de>
// SPDX-FileCopyrightText: 2024 Florian Heinrich <florian.heinrich@dlr.de>
//
// SPDX-License-Identifier: Apache-2.0
{
"cSpell.allowCompoundWords": true,
"cSpell.language": "en,scientific-terms-us",
Expand Down
201 changes: 0 additions & 201 deletions LICENSE

This file was deleted.

Loading

0 comments on commit 6e54065

Please sign in to comment.