diff --git a/.dockerignore b/.dockerignore index c31e1cc1..3c7f02d7 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,8 +1,27 @@ -Dockerfile - -/build/ +# Waf build system +build/ .waf-*-*/ .waf3-*-*/ .lock-waf* -/VERSION.info +# Compiled python code +**/__pycache__/ +**/*.py[cod] + +# Qt Creator +*.creator +*.creator.user +.qtc_clangd/ + +# Visual Studio Code +.vscode/ + +# macOS +**/.DS_Store +**/.AppleDouble +**/.LSOverride +**/._* + +# Other +Dockerfile +VERSION.info diff --git a/.editorconfig b/.editorconfig index 624ad9bc..f9b3c4db 100644 --- a/.editorconfig +++ b/.editorconfig @@ -26,3 +26,4 @@ trim_trailing_whitespace = true [*.{yaml,yml}] indent_style = space indent_size = 2 +trim_trailing_whitespace = true diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c407cd1e..a3500bd7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,10 +2,14 @@ name: CI on: push: paths-ignore: - - 'docs/**' - '*.conf.sample*' - - '*.md' + - 'Dockerfile' + - '.dockerignore' + - 'docs/**' + - '.editorconfig' + - '.gitignore' - '.mailmap' + - '*.md' workflow_dispatch: permissions: {} diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index f7c59dea..53554dfb 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -1,18 +1,19 @@ -name: Publish Docker image +name: Docker on: push: branches: - master paths-ignore: - - '*.md' + - '.editorconfig' - '.jenkins' - '.jenkins.d/**' + - 'launchd/**' - '.mailmap' + - 'systemd/**' - 'tests/**' workflow_dispatch: permissions: - contents: read packages: write env: diff --git a/.gitignore b/.gitignore index 8850587a..dc40a003 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,20 @@ -# Emacs +# Backup files *~ +*.bak +*.orig +*.rej + +# Waf build system +/build/ +.waf-*-*/ +.waf3-*-*/ +.lock-waf* + +# Compiled python code +__pycache__/ +*.py[cod] + +# Emacs \#*\# /.emacs.desktop /.emacs.desktop.lock @@ -15,15 +30,5 @@ .LSOverride ._* -# Waf build system -/build/ -.waf-*-*/ -.waf3-*-*/ -.lock-waf* - -# Compiled python code -__pycache__/ -*.py[cod] - # Other /VERSION.info