Bug 24371

Summary: snapper: output fields description and userdata should be delimited.
Product: Mageia Reporter: Ulrich Beckmann <bequimao.de>
Component: RPM PackagesAssignee: Neal Gompa <ngompa13>
Status: REOPENED --- QA Contact:
Severity: normal    
Priority: Normal CC: fri, marja11, ouaurelien
Version: 8   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: MGA7TOO
Source RPM: dnf-plugins-extras-4.0.13-1.mga8.src.rpm CVE:
Status comment:
Attachments: Sample output of command # snapper list
Upgrade and sample output of snapper list
Sample output of dnf history and exerpt of bash history

Description Ulrich Beckmann 2019-02-16 15:34:25 CET
The output of snapper list should be delimited to 80 characters per line.

The actual command was # dnf upgrade $(cat mga6_23627.lst). This command is stored and expanded in the field description. There is no need to expand the command. It could be retrieved by history or dnf history.

Indeed the list could be much longer and the output of # snapper list would be then completely unreadable. Is is quite annoying!

Ulrich

btrfs is needed as root filesystem to install snapper and reproduce this issue.
Comment 1 Ulrich Beckmann 2019-02-16 15:36:47 CET
Created attachment 10752 [details]
Sample output of command # snapper list
Comment 2 Marja Van Waes 2019-02-17 09:24:48 CET
Assigning to the registered maintainer.

CC: (none) => marja11
Assignee: bugsquad => ngompa13

Comment 3 Ulrich Beckmann 2019-08-03 09:04:23 CEST
You can get a readable format with the # snapper modify command, e.g.

# snapper modify -d 'dnf upgrade kernel-desktop-5.1.20-2.mga7-1-1.mga7' <pre-no> <post-no>
Comment 4 Aurelien Oudelet 2020-08-23 15:25:02 CEST
Hi, thanks for reporting this bug.
We are sorry, but we no longer maintains this version of Mageia. Please upgrade to the latest version and reopen this bug against that version if this bug exists there.
As a result we are setting this bug to CLOSED:OLD

Status: NEW => RESOLVED
Resolution: (none) => OLD
CC: (none) => ouaurelien

Comment 5 Ulrich Beckmann 2020-08-24 19:42:49 CEST
Created attachment 11831 [details]
Upgrade and sample output of snapper list

Still valid in Mageia 7.
Comment 6 Ulrich Beckmann 2020-08-24 19:43:38 CEST
Reopened

Version: 6 => 7
Resolution: OLD => (none)
Status: RESOLVED => REOPENED

Comment 7 Ulrich Beckmann 2021-03-15 20:50:22 CET
Created attachment 12469 [details]
Sample output of dnf history and exerpt of bash history

Same issue applies to # dnf history.
Expanding the command makes the output unreadable.

Ulrich
Morgan Leijström 2021-03-15 22:55:39 CET

Whiteboard: (none) => MGA7TOO
CC: (none) => fri
Version: 7 => 8

Comment 8 Neal Gompa 2021-03-16 08:08:33 CET
This is an implementation detail of the snapper plugin for DNF.

The code in question that does this is here: https://github.com/rpm-software-management/dnf-plugins-extras/blob/master/plugins/snapper.py#L33

Source RPM: snapper => dnf-plugins-extras-4.0.13-1.mga8.src.rpm