Disable EGH check '[3] repositories without branches'
This commit is contained in:
parent
a75e7b56eb
commit
1010d99fd2
16
www/extern/egg/EGGDatabase.php
vendored
16
www/extern/egg/EGGDatabase.php
vendored
@ -596,14 +596,14 @@ WHERE md1.parent != '' AND check_hash IS NULL", []);
|
||||
}
|
||||
}
|
||||
|
||||
// ======== [3] repositories without branches ==========
|
||||
{
|
||||
$errors = $this->sql_query_assoc_prep("SELECT repositories.*, (SELECT COUNT(*) FROM branches WHERE repositories.id = branches.repo_id) AS branch_count FROM repositories WHERE branch_count = 0", []);
|
||||
|
||||
foreach ($errors as $e) {
|
||||
$result []= "Found repository [".$e['id']."]'".$e['name']."' without any branches";
|
||||
}
|
||||
}
|
||||
# // ======== [3] repositories without branches ==========
|
||||
# {
|
||||
# $errors = $this->sql_query_assoc_prep("SELECT repositories.*, (SELECT COUNT(*) FROM branches WHERE repositories.id = branches.repo_id) AS branch_count FROM repositories WHERE branch_count = 0", []);
|
||||
#
|
||||
# foreach ($errors as $e) {
|
||||
# $result []= "Found repository [".$e['id']."]'".$e['name']."' without any branches";
|
||||
# }
|
||||
# }
|
||||
|
||||
|
||||
// ======== [4] branches without commits ==========
|
||||
|
Loading…
Reference in New Issue
Block a user