Make the LockFileValidator messages more helpful

Created on 7 April 2023, about 1 year ago
Updated 5 July 2023, 12 months ago

Problem/Motivation

Found while working on ๐Ÿ“Œ Allow LockFileValidator results to carry multiple messages, and improve their text Fixed , Messages should be rephrased/reworded to give user helpful error message.
see: https://git.drupalcode.org/project/automatic_updates/-/merge_requests/80...

The text of the messages is not very useful or helpful. We should phrase them such that people will get an idea of what they might be able to do to fix the errors. From the discussion https://git.drupalcode.org/project/automatic_updates/-/merge_requests/80... the message should not talk about hash or active lock file, Nobody is gonna know what active lock file is, so we should give path to composer.lock that would be helpful for them.

Proposed resolution

Change some of the messages from LockFileValidator to include the path of the lock file. So, something like "The active lock file (/path/to/composer.lock) does not exist."

โœจ Feature request
Status

Fixed

Version

3.0

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia yash.rode pune

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024