[Rpm-maint] [rpm-software-management/rpm] `rpm -qi` should prepend a single space to key-value delimitator colons. (Issue #3919)

Panu Matilainen notifications at github.com
Tue Sep 2 11:40:10 UTC 2025


pmatilai created an issue (rpm-software-management/rpm#3919)


### Discussed in https://github.com/rpm-software-management/rpm/discussions/3912

<div type='discussions-op-text'>

<sup>Originally posted by **RokeJulianLockhart** August 30, 2025</sup>
> Generally, requests for new features should be opened as a [Discussion](https://github.com/rpm-software-management/rpm/discussions) first. There, feedback from the community can be collected and possible solutions can be discussed. Consider maintaining a design outline in the top post and update it as the discussion progresses. After a plan of action has solidified an issue for actually implementing it can be created.

Consequently, to answer:

1. > #### **Is your feature request related to a problem?**

1. > #### **Describe the solution you'd like**

The output of `rpm -qi`, of which the immediately undermentioned is a verbatim example:

<blockquote>

~~~YAML
Name        : code
Version     : 1.103.2
Release     : 1755709837.el8
Architecture: x86_64
Install Date: Mon 25 Aug 2025 19:31:22 BST
Group       : Development/Tools
Size        : 453507130
License     : Multiple, see https://code.visualstudio.com/license
Signature   : RSA/SHA256, Wed 20 Aug 2025 18:15:13 BST, Key ID eb3e94adbe1229cf
Source RPM  : code-1.103.2-1755709837.el8.src.rpm
Build Date  : Wed 20 Aug 2025 18:10:40 BST
Build Host  : c967556ec000000
Packager    : Visual Studio Code Team <vscode-linux at microsoft.com>
~~~

</blockquote>

...would be slightly easier to parse, and more readable, if each key-value-delimitative colon were prepended by a space:

~~~YAML
Name         : code
Version      : 1.103.2
Release      : 1755709837.el8
Architecture : x86_64
Install Date : Mon 25 Aug 2025 19:31:22 BST
Size         : 453507130
Signature    : RSA/SHA256, Wed 20 Aug 2025 18:15:13 BST, Key ID eb3e94adbe1229cf
Source RPM   : code-1.103.2-1755709837.el8.src.rpm
Build Date   : Wed 20 Aug 2025 18:10:40 BST
Build Host   : c967556ec000000
Packager     : Visual Studio Code Team <vscode-linux at microsoft.com>
~~~

This is how PowerShell outputs `PSObject` values in `List` form.

> #### **Describe alternatives you've considered**

None.</div>

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/3919
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/3919 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250902/e356c463/attachment-0001.htm>


More information about the Rpm-maint mailing list