From 2af24876dc31f6ef809e46dfbb26de7ed72102fb Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Sat, 27 Jul 2024 12:22:42 +0200 Subject: [PATCH] CI: Update .gitignore and .dockerignore files Signed-off-by: Michael Mayer --- .dockerignore | 4 +++- .gitignore | 64 ++++++++++++++++++++++++++------------------------- 2 files changed, 36 insertions(+), 32 deletions(-) diff --git a/.dockerignore b/.dockerignore index bfd3040ee..5ea15ba3d 100644 --- a/.dockerignore +++ b/.dockerignore @@ -13,7 +13,6 @@ /coverage.* /frontend/tests/acceptance/screenshots /tmp/ -.dockerignore .idea .DS_Store .env @@ -21,3 +20,6 @@ *.db-journal Dockerfile docker-compose* +compose.yaml +compose.*.yaml +.dockerignore \ No newline at end of file diff --git a/.gitignore b/.gitignore index f40cf6a63..499ce0c24 100644 --- a/.gitignore +++ b/.gitignore @@ -1,26 +1,46 @@ -# Application files and directories +# Local build files and directories /photoprism /photoprism-* /photos/originals/* /photos/import/* /storage/* /build/* -/node_modules -/pro -/plus -/frontend/.eslintcache -/frontend/node_modules/* -/frontend/tests/*.html -/frontend/tests/*.log -/frontend/tests/screenshots -/frontend/src/locales/*.mo /assets/docs /assets/facenet /assets/nasnet /assets/nsfw /assets/static/build/ -/package-lock.json +/pro +/plus +*.exe +*.dll +*.so +*.dylib +/*.zip + +# Test output and coverage files +*.out +*.test +/coverage.* +frontend/coverage/ + +# Frontend cache and dependencies +/node_modules +/frontend/node_modules/* +/frontend/tests/*.html +/frontend/tests/*.log +/frontend/tests/screenshots +/frontend/src/locales/*.mo /frontend/tests_output +/frontend/.eslintcache +/package-lock.json + +# Python cache and dependencies +venv +.venv +__pycache__ + +# Temporary database, log, and config files /tmp/ *.log *.pid @@ -31,23 +51,7 @@ *.override.yaml *.tmp.yaml -# Binaries for programs and plugins -*.exe -*.dll -*.so -*.dylib -/*.zip -# Test binary, build with `go test -c` -*.test - -# Output of the go coverage tool, specifically when used with LiteIDE -*.out -/coverage.* - -# Project-local glide cache, RE: https://github.com/Masterminds/glide/issues/736 -.glide/ - -# Generated files +# Files generated automatically, e.g. by IDEs and operating systems .DS_Store .DS_Store? ._* @@ -57,6 +61,7 @@ ehthumbs.db Thumbs.db .heartbeat .idea +.glide *~ .goutputstream* .c9revisions @@ -64,6 +69,3 @@ Thumbs.db .swp .tmp .env - -#Karma Coverage Report -frontend/coverage/