Problem/Motivation
See discussion in #3253158: Add Alpha level Experimental Update Manager module - we need to change the human readable name in update.info.yml and possibly other inerface/help text.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
The core module that provides the Available updates report at admin/reports/updates is renamed from "Update Manager" back to "Update Status." All of the functionality to manage updates or install new code on a site through the admin UI has been deprecated or removed. All sites should use composer to manage their code, not this interface. See "The update.module has been renamed back to 'Update Status'" change record for more information.
| Comment | File | Size | Author |
|---|---|---|---|
| #15 | Screenshot 2025-04-18 at 13.48.06.png | 322.76 KB | bbrala |
Issue fork drupal-3483501
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3483501-rename-update-module
changes, plain diff MR !9953
Comments
Comment #4
dwwI gave this a start. To do this properly is definitely not novice material, removing that tag.
Here's a TODO of bigger fish I'm punting on for now:
Drupal\update\UpdateManagerInterface. Handle that here, or split into a followup? Could probably be renamed toUpdateStatusInterface, but unclear about the BC implications of that.update_help()says this:Is that still true? If so, yikes. 😉
Comment #5
dwwAlso note, I'm not touching any of the legacy "Update Manager" parts that update contrib in place. I'm not clear on the order by which everything should happen. Ideally, this issue, an issue to deprecate / remove all that stuff*, and #3253158: Add Alpha level Experimental Update Manager module all land in the same minor release of core.
* #3285191: [meta] Only support Drupal core installs managed by composer points to #3201968: Augment then Replace current Update Manager URL download based updates with Staged-Composer workflow, but maybe that's no longer the path forward. Perhaps we want a new clean issue about deprecating and removing the "legacy update manager with authorize.php" (for lack of a better term, wow this is going to be a confusing transition). 😅
Comment #6
dwwp.s. I believe the test failures are random and unrelated to anything I touched here, but I haven't been closely following core's random fails these days so I'm not sure:
https://git.drupalcode.org/issue/drupal-3483501/-/jobs/3164942
https://git.drupalcode.org/issue/drupal-3483501/-/jobs/3164948
Comment #7
gábor hojtsyInterface Translation (locale) in core uses the project and version identification feature of Update Status. (Also Upgrade Status and Upgrade Rector do the same as well as probably a bunch of other modules).
Comment #8
andypostwhat's left here to do? maybe just a change record?
Comment #9
dwwTODO: See comment #4, points 1 and 4 (at least).
Comment #10
dwwTagging as a 11.2.0 release priority. See #3491731: [META] Remove the ability to update modules and themes via authorize.php and friends.
Comment #12
quietone commentedAs I read the other issue the agreement was to make changes in the UI text and the handbook, which seems to be the highest priority at this stage. So, lets stick to that here and move the other items in #4.
I rebased and tests are passing.
Comment #13
bbralaWhen checking out the MR i still see quite a few mentioned of "Update Manager module". Also in doc comments, but that could be intentional. But also in a few help_topics.
I do think we need a little more changes, unless this was intentional, but don't really read that in the issue.
Comment #14
quietone commented@bbrala, can you be more specific? Are the instances of 'update manager' in the user facing text?
Comment #15
bbralaSee attached screenshot, some help tests. Would say more, but have to leave :)
Comment #16
bbralaComment #18
nlisgo commentedHave addressed feedback in #13 and #15
Comment #19
dwwCool, thanks for moving this along!
Drove by review on my phone, most of the updates to the help text look okay. But there are a few spots that still need help, talking about “downloading updates” or something. I’ll work on more fixes later today when I’m back at my computer.
Also need some follow-ups for the rest of #4 if we’re not planning g to fix any of that here.
Comment #20
dwwPushed a commit to finish fixing
core/modules/system/src/Hook/SystemHooks.php. Could use a review of the new text.Meanwhile, opened 3 follow-ups:
#3520621: Rename 'update.manager' service and related code
#3520623: Re-document tests to no longer mention 'Update Manager'
#3520624: Fix 'Update' module docs to use 'Update Status' not 'Update Manager'
Also opened an MR thread about 1 remaining questionable help text.
But I think this is basically ready for review again...
Thanks!
-Derek
Comment #21
dww#3520623: Re-document tests to no longer mention 'Update Manager' was easier than I thought. Should I just move that commit into this MR?
Comment #22
godotislateDo references to "Update module" need to be changed to "Update Status module" as well? Or is this strictly about making sure there are no references to "Update Manager".
For example, this in locale.translation.inc:
If not, +1 for RTBC, though it looks like test didn't pass - maybe some kind of gitlab access bug?
Comment #23
dww@godotislate: Good point! I pushed more commits for cleaning up those references, too.
Yeah, the most recent GitLab deployment seems to have broken test pipelines for us subsystem maintainers with some elevated GitLab permissions in the core repo.
Comment #24
godotislateI think I might have found some stragglers searching with PHPStorm. I think I filtered out every instance already addressed, and a couple look to be in deprecated code, such as in SSH.php, and some probably are irrelevant or don't really need changing, but documenting here.
For "Update module":
For "Update manager"
Comment #25
dwwThanks for more thorough searching. Doing the same locally now, too. 😅
Decided to cherry-pick the commit from #3520623: Re-document tests to no longer mention 'Update Manager' into here and close that issue, since we might as well do it all at once.
Yeah, some of those hits are in stuff that's already marked deprecated. Not sure it's worth fixing them all. Also, I don't want to conflict with #3521059: Finish deprecating 'Update Manager' related code in Update Status, so I'll handle
UpdateRoot.phpover there.Comment #26
dwwRemoving tag since doc updates will be handled in #3520624: Fix 'Update' module docs to use 'Update Status' not 'Update Manager'
Comment #27
godotislateOK, I think I've gone a bit cross-eyed looking at it, but assuming tests pass once they can run, I think it's RTBC.
Comment #28
dwwRebased to get a working CI pipeline. Results are green. RTBC? 😉 Thanks!
p.s. I left 'Update Manager' visible in the comment describing the
allow_authorize_operationssetting insites/default/default.settings.phpandcore/assets/scaffold/files/default.settings.php. There's a remaining task at #3521059: Finish deprecating 'Update Manager' related code in Update Status to decide if we should explicitly deprecate that setting. To avoid conflicts and trouble, let's leave that alone in this issue and clean it up over there. Maybe we can remove that setting from those files entirely, since the UI it disables has already been removed from core...Comment #29
andypostAs follow-up is nearly ready let's get this one in
Comment #30
godotislateNot sure whether this is already tracked anywhere else, but once these changes are in, the Update module overview documentation page needs an update.
Comment #31
dwwRe #30, see #26
Comment #33
larowlanApplied this locally and did some grepping to see if any other references were left
Everything else I found was either referring to the entity definition update manager or features update.module provides that related to authorize.php/installing zip files which we're hoping to remove anyway.
Committed to 11.x - thanks!
Comment #35
dwwPer @larowlan in Slack, tagging and adding a release note.
Comment #36
dwwComment #37
dwwLink to the CR, not directly to the issue trying to add the new Update Manager.