Merge pull request #26172 from nextcloud/techdebt/noid/code-checker-is-noop

occ app:check-code is noop
This commit is contained in:
Morris Jobke 2021-03-17 13:45:09 +01:00 committed by GitHub
commit 2445b9491e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 33 deletions

View File

@ -15,39 +15,6 @@ RESULT=$(($RESULT+$?))
php ./build/OCPSinceChecker.php
RESULT=$(($RESULT+$?))
dataDirCreated=0
if ! [ -e data/ ]; then
dataDirCreated=1
echo "Create directory 'data/'"
mkdir data/
fi
for app in $(find "apps/" -mindepth 1 -maxdepth 1 -type d -exec basename {} \;); do
echo "Testing $app"
if
[ "$app" == "dav" ] || \
[ "$app" == "encryption" ] || \
[ "$app" == "federatedfilesharing" ] || \
[ "$app" == "files" ] || \
[ "$app" == "files_external" ] || \
[ "$app" == "files_sharing" ] || \
[ "$app" == "files_trashbin" ] || \
[ "$app" == "files_versions" ] || \
[ "$app" == "provisioning_api" ] || \
[ "$app" == "settings" ] || \
[ "$app" == "updatenotification" ] || \
[ "$app" == "user_ldap" ]
then
./occ app:check-code --skip-checkers "$app"
else
./occ app:check-code "$app"
fi
RESULT=$(($RESULT+$?))
done;
if [ $dataDirCreated == 1 ]; then
echo "Delete created directory 'data/'"
rm -rf data/
fi
php ./build/files-checker.php
RESULT=$(($RESULT+$?))