Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
automatic_updates
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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
automatic_updates
Merge requests
!166
Issue
#3258045
: Ensure update command in Stage::require() only updates specified packages
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
Issue
#3258045
: Ensure update command in Stage::require() only updates specified packages
issue/automatic_updates-3258045:3258045-ensure-update-command
into
8.x-2.x
Overview
0
Commits
7
Pipelines
0
Changes
5
Merged
Issue #3258045: Ensure update command in Stage::require() only updates specified packages
Adam G-H
requested to merge
issue/automatic_updates-3258045:3258045-ensure-update-command
into
8.x-2.x
Jan 12, 2022
Overview
0
Commits
7
Pipelines
0
Changes
5
0
0
Merge request reports
Compare
8.x-2.x
version 25
298eeadd
Jan 19, 2022
version 24
f957f48b
Jan 18, 2022
version 23
4b91eb94
Jan 18, 2022
version 22
9f6cd5ee
Jan 18, 2022
version 21
ef3faff1
Jan 18, 2022
version 20
ecce8fa4
Jan 18, 2022
version 19
37ceb22f
Jan 18, 2022
version 18
aa6be422
Jan 18, 2022
version 17
c62107f0
Jan 18, 2022
version 16
c2d8609b
Jan 18, 2022
version 15
d85b786f
Jan 18, 2022
version 14
29a9540c
Jan 18, 2022
version 13
741f5cf9
Jan 18, 2022
version 12
3ddecf67
Jan 18, 2022
version 11
864a1170
Jan 18, 2022
version 10
7eda65e0
Jan 18, 2022
version 9
42e0e1a5
Jan 18, 2022
version 8
eb2d6e95
Jan 18, 2022
version 7
1c5ec58f
Jan 18, 2022
version 6
83980213
Jan 13, 2022
version 5
8a0ddef3
Jan 13, 2022
version 4
02f143a3
Jan 13, 2022
version 3
337deb4d
Jan 12, 2022
version 2
df6fbaca
Jan 12, 2022
version 1
6896ce3c
Jan 12, 2022
8.x-2.x (base)
and
latest version
latest version
298eeadd
7 commits,
Jan 19, 2022
version 25
298eeadd
7 commits,
Jan 19, 2022
version 24
f957f48b
6 commits,
Jan 18, 2022
version 23
4b91eb94
5 commits,
Jan 18, 2022
version 22
9f6cd5ee
4 commits,
Jan 18, 2022
version 21
ef3faff1
3 commits,
Jan 18, 2022
version 20
ecce8fa4
2 commits,
Jan 18, 2022
version 19
37ceb22f
1 commit,
Jan 18, 2022
version 18
aa6be422
18 commits,
Jan 18, 2022
version 17
c62107f0
17 commits,
Jan 18, 2022
version 16
c2d8609b
16 commits,
Jan 18, 2022
version 15
d85b786f
15 commits,
Jan 18, 2022
version 14
29a9540c
14 commits,
Jan 18, 2022
version 13
741f5cf9
13 commits,
Jan 18, 2022
version 12
3ddecf67
12 commits,
Jan 18, 2022
version 11
864a1170
11 commits,
Jan 18, 2022
version 10
7eda65e0
10 commits,
Jan 18, 2022
version 9
42e0e1a5
9 commits,
Jan 18, 2022
version 8
eb2d6e95
8 commits,
Jan 18, 2022
version 7
1c5ec58f
7 commits,
Jan 18, 2022
version 6
83980213
6 commits,
Jan 13, 2022
version 5
8a0ddef3
5 commits,
Jan 13, 2022
version 4
02f143a3
4 commits,
Jan 13, 2022
version 3
337deb4d
3 commits,
Jan 12, 2022
version 2
df6fbaca
2 commits,
Jan 12, 2022
version 1
6896ce3c
1 commit,
Jan 12, 2022
5 files
+
83
−
71
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
package_manager/src/ComposerUtility.php
+
1
−
18
View file @ 298eeadd
Edit in single-file editor
Open in Web IDE
Show full file
@@ -128,23 +128,6 @@ class ComposerUtility {
return
array_values
(
$core_packages
);
}
/**
* Returns the names of the core packages in the dev dependencies.
*
* All packages listed in ../core_packages.json are considered core packages.
*
* @return string[]
* The names of the core packages in the dev requirements.
*
* @todo Make this return a keyed array of packages, not just names in
* https://www.drupal.org/i/3258059.
*/
public
function
getCoreDevPackageNames
():
array
{
$dev_packages
=
$this
->
composer
->
getPackage
()
->
getDevRequires
();
$dev_packages
=
array_keys
(
$dev_packages
);
return
array_intersect
(
static
::
getCorePackageList
(),
$dev_packages
);
}
/**
* Returns all Drupal extension packages in the lock file.
*
@@ -174,7 +157,7 @@ class ComposerUtility {
* All packages in the lock file, keyed by name.
*/
protected
function
getLockedPackages
():
array
{
$locked_packages
=
$this
->
c
omposer
->
getLocker
()
$locked_packages
=
$this
->
getC
omposer
()
->
getLocker
()
->
getLockedRepository
(
TRUE
)
->
getPackages
();
Loading