Bug 24371 - snapper: output fields description and userdata should be delimited.
Summary: snapper: output fields description and userdata should be delimited.
Status: REOPENED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Neal Gompa
QA Contact:
URL:
Whiteboard: MGA7TOO
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-16 15:34 CET by Ulrich Beckmann
Modified: 2021-03-16 08:08 CET (History)
3 users (show)

See Also:
Source RPM: dnf-plugins-extras-4.0.13-1.mga8.src.rpm
CVE:
Status comment:


Attachments
Sample output of command # snapper list (4.84 KB, text/plain)
2019-02-16 15:36 CET, Ulrich Beckmann
Details
Upgrade and sample output of snapper list (15.43 KB, text/plain)
2020-08-24 19:42 CEST, Ulrich Beckmann
Details
Sample output of dnf history and exerpt of bash history (11.67 KB, text/plain)
2021-03-15 20:50 CET, Ulrich Beckmann
Details

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


Note You need to log in before you can comment on or make changes to this bug.