]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix: skip the integrity check for nextcloud-init-sync.lock debt/noid/ignore-docker-image-lock-file 48268/head
authorDaniel Kesselberg <mail@danielkesselberg.de>
Sun, 22 Sep 2024 14:19:48 +0000 (16:19 +0200)
committerDaniel Kesselberg <mail@danielkesselberg.de>
Sun, 22 Sep 2024 15:48:43 +0000 (17:48 +0200)
nextcloud-init-sync.lock is used by nextcloud/docker to prevent running the initialization script on multiple containers at the same time.

Ref: https://github.com/nextcloud/docker/issues/2299.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
lib/private/IntegrityCheck/Iterator/ExcludeFileByNameFilterIterator.php

index e2e68008a35163bfdeadf76663ac310cf0fbed1e..d28eae2740b4369f03dd8ff018b62ceba61fdd3a 100644 (file)
@@ -24,10 +24,11 @@ class ExcludeFileByNameFilterIterator extends \RecursiveFilterIterator {
         */
        private $excludedFilenames = [
                '.DS_Store', // Mac OS X
-               'Thumbs.db', // Microsoft Windows
                '.directory', // Dolphin (KDE)
-               '.webapp', // Gentoo/Funtoo & derivatives use a tool known as webapp-config to manage web-apps.
                '.rnd',
+               '.webapp', // Gentoo/Funtoo & derivatives use a tool known as webapp-config to manage web-apps.
+               'Thumbs.db', // Microsoft Windows
+               'nextcloud-init-sync.lock' // Used by nextcloud/docker to prevent running the initialization script on multiple containers at the same time: https://github.com/nextcloud/docker/issues/2299.
        ];
 
        /**