Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
config_inspector
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
config_inspector
Merge requests
!11
Resolve
#3391990
"Pages"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve
#3391990
"Pages"
issue/config_inspector-3391990:3391990-pages
into
2.1.x
Overview
0
Commits
14
Pipelines
12
Changes
4
Merged
Wim Leers
requested to merge
issue/config_inspector-3391990:3391990-pages
into
2.1.x
1 year ago
Overview
0
Commits
14
Pipelines
12
Changes
4
Expand
Closes
#3391990
0
0
Merge request reports
Compare
2.1.x
version 11
0a6eba26
1 year ago
version 10
eb7c5d96
1 year ago
version 9
024d01ec
1 year ago
version 8
dcd49445
1 year ago
version 7
05b021f7
1 year ago
version 6
ddb13009
1 year ago
version 5
de8c9ae6
1 year ago
version 4
3a27f2f3
1 year ago
version 3
1b6801af
1 year ago
version 2
070fd1c2
1 year ago
version 1
04a18346
1 year ago
2.1.x (base)
and
latest version
latest version
0a6eba26
14 commits,
1 year ago
version 11
0a6eba26
14 commits,
1 year ago
version 10
eb7c5d96
13 commits,
1 year ago
version 9
024d01ec
12 commits,
1 year ago
version 8
dcd49445
10 commits,
1 year ago
version 7
05b021f7
9 commits,
1 year ago
version 6
ddb13009
7 commits,
1 year ago
version 5
de8c9ae6
6 commits,
1 year ago
version 4
3a27f2f3
5 commits,
1 year ago
version 3
1b6801af
4 commits,
1 year ago
version 2
070fd1c2
2 commits,
1 year ago
version 1
04a18346
1 commit,
1 year ago
4 files
+
42
−
13
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
scripts/config-validatability-report.php
+
2
−
0
Options
@@ -142,7 +142,9 @@ function assess_revision(string $revision, int $day, string $date): \stdClass {
// Ensure `drush config:inspect --statistics` keeps working.
$prep_output
[]
=
@
shell_exec
(
"git diff 10.99.
$prev
10.99.
$day
--name-only | grep -q '.install$\|.post_update\.php$' && echo '🤖 Installing DB updates…' && vendor/bin/drush updatedb --yes --quiet"
);
$prep_output
[]
=
@
shell_exec
(
"git diff 10.99.
$prev
10.99.
$day
--name-only | grep -q '.schema\.yml$' && echo '🤖 Erasing discovery cache because config schema changed…' && vendor/bin/drush cc bin discovery --quiet"
);
$prep_output
[]
=
@
shell_exec
(
"git diff 10.99.
$prev
10.99.
$day
--name-only | grep -q '^core\/lib\/Drupal\/Core\/Config\/Schema\/' && echo '🤖 Erasing discovery cache because config schema infrastructure changed…' && vendor/bin/drush cc bin discovery --quiet"
);
$prep_output
[]
=
@
shell_exec
(
"git diff 10.99.
$prev
10.99.
$day
--name-only | grep -q '\/Validation\/' && echo '🤖 Rebuilding container because validation constraints were added or modified…' && vendor/bin/drush cr --quiet"
);
$prep_output
[]
=
@
shell_exec
(
"git diff 10.99.
$prev
10.99.
$day
--name-only | grep -q '^core\/lib\/Drupal\/Core\/.*Kernel' && echo '🤖 Rebuilding container because kernel infrastructure changed…' && vendor/bin/drush cr --quiet"
);
// Actually gather statistics.
@
shell_exec
(
"vendor/bin/drush config:inspect --statistics > statistics/
$date
.json"
);
$assessment_json
=
@
shell_exec
(
"jq -r .assessment statistics/
$date
.json"
);
Loading